CSS Named Color Reference

Royal Blue Color Code

Royal Blue·#4169E1

Blue FamilyCoolMid toneHigh saturationoklch(56.0% 0.188 266)
HEX
#4169E1Primary token
RGB
rgb(65, 105, 225)Screen values
HSL
hsl(225 73% 57%)Hue and lightness
CMYK
71, 53, 0, 12Print handoff
LAB
48, 26, -65Perceptual reference
OKLCH
oklch(56.0% 0.188 266)Modern perceptual

Royal Blue is a published CSS named color that balances authority, clarity, and brightness. Use this page to inspect its exact code values, compare adjacent blues, and move it into conversion, palette, or brand-token workflows.

Best text colorWhite text
Body text contrast4.85:1
Best UseTrustworthy CTAs, navigation, and enterprise product accents

Tonal Scale

100#DDE4FA
300#A8BAF1
500#6384E6
600#4169E1
800#2F4CA2

Contrast Checks

White text on this color

Buttons, badges, and filled actions.

4.85:1Safe for body text

Dark text on this color

Large headings and selective UI.

3.54:1Large text / UI only

This color on light surface

Links, borders, and icons on light UI.

4.60:1Safe for body text
Best text colorWhite textContrast 4.85:1

Professional Reference

OKLCHoklch(56.0% 0.188 266)
Relative Luminance0.1666
Source TypeCSS Named Color
Classification
Blue FamilyCoolMid toneHigh saturation
Source Context
Source Type
CSS Named Color
System
CSS
Closest Matches
Ant Design Geekblue 5Ant Design Blue 7Material Blue A400

Accessibility Matrix

White text on this color

White text placed on the current color.

4.85:1AA

Dark text on this color

Dark text or headings on the current color.

3.54:1Large text / UI only

This color on light surface

Use this color for links, strokes, or icons on light UI.

4.60:1AA

This color on dark surface

Use this color inside dark shells for strokes, tags, or icons.

3.54:1Large text / UI only
Best text colorWhite textContrast 4.85:1 · AA

Where It Works

  • Links, CTAs, data highlights, and enterprise accents.
  • Brighter than navy, steadier than electric blues.
  • Pairs with cool white, slate neutrals, and cyan accents.

Reference Notes

Last Updated
2026-06-25
Source Library
CSS Standard Colors
Methodology
Verified source values + site guidance
Color Notes

Royal Blue is sourced from the published CSS Standard Colors library and retained here as a searchable reference swatch for product and interface reference work.

Hue Family

Trust-building blues for enterprise and SaaS.

Source Collections
CSS Named Colors

Related Colors

Palette Starting Points

Implementation Snippets

CSS Variables
:root {
  --color-royal-blue: #4169E1;
  --color-royal-blue-rgb: 65 105 225;
}
Utility Class
class="bg-[#4169E1] text-white"
class="hover:bg-[#2F4CA2] ring-1 ring-[#4169E1]"
JSON Token
{
  "royalBlue": "#4169E1",
  "royalBlueRgb": [65, 105, 225],
  "royalBlueHsl": [225, 73, 57]
}