CSS Utilities
--color-royal-blue: #4169E1;
.bg-royal-blue { background-color: #4169E1; }
.text-royal-blue { color: #4169E1; }Machine-readable data
Machine-Readable Color Data (JSON)
Perfect for CSS, design systems, automation, and AI ingestion.
hexCanonical HEX valuergbRed, green, blue channelshslHue, saturation, lightnesscmykApproximate print conversionwcagAA and AAA contrast optionsharmoniesMathematical harmony setsvariantsGenerated tone variantsnearestColorsKnowledge graph neighborsStructured sections
Color systems
{
"hex": "#4169E1",
"rgb": [
65,
105,
225
],
"hsl": [
225,
73,
57
],
"cmyk": [
71,
53,
0,
12
],
"luminance": 0.1666,
"contrast": {
"black": 4.33,
"white": 4.85
}
}WCAG
{
"AA": [
"#FFFFFF"
],
"AAA": []
}Harmonies
{
"complementary": "#E1B941",
"analogous": [
"#41B9E1",
"#6941E1"
],
"triadic": [
"#E14169",
"#69E141"
],
"tetradic": [
"#E141B9",
"#E1B941",
"#41E169"
],
"splitComplementary": [
"#E16941",
"#B9E141"
],
"monochromatic": [
"#91A8EE",
"#4169E1",
"#1B3FAC"
]
}Variants
{
"light": "#91A8EE",
"dark": "#1B3FAC",
"saturated": "#295DFA",
"desaturated": "#5975C9",
"pastel": "#B6C4EC",
"neon": "#4D79FF"
}Pairings
{
"best": [
"#FFFFFF",
"#E1B941",
"#41B9E1",
"#6941E1"
],
"avoid": [
"#5975C9",
"#91A8EE"
],
"neutral": [
"#1A1A1A",
"#F5F5F5",
"#E8E8E4"
],
"highContrast": [
"#FFFFFF"
],
"lowContrast": [
"#91A8EE",
"#5975C9"
]
}Knowledge graph
{
"nearestColors": [
"iris",
"slate-blue",
"neon-blue",
"steel-blue",
"zircon-blue"
],
"generatedPalettes": [
"royal-blue"
],
"generatedComparisons": [
"iris-vs-royal-blue",
"neon-blue-vs-royal-blue",
"royal-blue-vs-slate-blue"
],
"relatedFamilies": [
"/colors/by-family/blue",
"/colors/by-temperature/cool",
"/colors/by-tone/vibrant"
],
"relatedTools": [
"/harmonies/royal-blue",
"/wcag/royal-blue",
"/css/colors/royal-blue",
"/hex/4169e1"
],
"semanticRelations": {
"broader": [
"/colors/by-family/blue",
"/colors/by-temperature/cool",
"/colors/by-tone/vibrant"
],
"narrower": [
"/palettes/royal-blue"
],
"related": [
"/colors/iris",
"/colors/slate-blue",
"/colors/neon-blue",
"/colors/steel-blue",
"/colors/zircon-blue",
"/compare/iris-vs-royal-blue",
"/compare/neon-blue-vs-royal-blue",
"/compare/royal-blue-vs-slate-blue",
"/harmonies/royal-blue",
"/wcag/royal-blue",
"/css/colors/royal-blue",
"/hex/4169e1"
]
}
}Full JSON dataset
{
"slug": "royal-blue",
"name": "Royal Blue",
"cssName": "royalblue",
"hex": "#4169E1",
"family": "blue",
"temperature": "cool",
"tone": [
"vibrant"
],
"uses": [
"web design",
"CSS color systems",
"UI prototyping"
],
"psychology": {
"associations": [
"context dependent"
],
"contexts": [
"web interfaces",
"design systems",
"technical color references"
],
"avoidIn": [
"claims that require brand or cultural specificity"
]
},
"aliases": [
"royalblue"
],
"sourceType": "standard",
"confidence": "high",
"sourceUrl": "https://www.w3.org/TR/css-color-4/#named-colors",
"origin": {
"type": "css",
"notes": "Standard CSS named color."
},
"reviewStatus": "auto",
"editorialNotes": "Generated from CSS named color data and computed color-system properties.",
"tags": [
"blue",
"cool",
"vibrant",
"web-design",
"css-color-systems",
"ui-prototyping",
"context-dependent"
],
"popularity": 67,
"rgb": [
65,
105,
225
],
"hsl": [
225,
73,
57
],
"cmyk": [
71,
53,
0,
12
],
"luminance": 0.1666,
"contrast": {
"black": 4.33,
"white": 4.85
},
"harmonies": {
"complementary": "#E1B941",
"analogous": [
"#41B9E1",
"#6941E1"
],
"triadic": [
"#E14169",
"#69E141"
],
"tetradic": [
"#E141B9",
"#E1B941",
"#41E169"
],
"splitComplementary": [
"#E16941",
"#B9E141"
],
"monochromatic": [
"#91A8EE",
"#4169E1",
"#1B3FAC"
]
},
"variants": {
"light": "#91A8EE",
"dark": "#1B3FAC",
"saturated": "#295DFA",
"desaturated": "#5975C9",
"pastel": "#B6C4EC",
"neon": "#4D79FF"
},
"wcag": {
"AA": [
"#FFFFFF"
],
"AAA": []
},
"css": {
"variable": "--color-royal-blue: #4169E1;",
"utility": ".bg-royal-blue { background-color: #4169E1; }",
"textUtility": ".text-royal-blue { color: #4169E1; }"
},
"nearestColors": [
"iris",
"slate-blue",
"neon-blue",
"steel-blue",
"zircon-blue"
],
"generatedPalettes": [
"royal-blue"
],
"generatedComparisons": [
"iris-vs-royal-blue",
"neon-blue-vs-royal-blue",
"royal-blue-vs-slate-blue"
],
"relatedFamilies": [
"/colors/by-family/blue",
"/colors/by-temperature/cool",
"/colors/by-tone/vibrant"
],
"relatedTools": [
"/harmonies/royal-blue",
"/wcag/royal-blue",
"/css/colors/royal-blue",
"/hex/4169e1"
],
"semanticRelations": {
"broader": [
"/colors/by-family/blue",
"/colors/by-temperature/cool",
"/colors/by-tone/vibrant"
],
"narrower": [
"/palettes/royal-blue"
],
"related": [
"/colors/iris",
"/colors/slate-blue",
"/colors/neon-blue",
"/colors/steel-blue",
"/colors/zircon-blue",
"/compare/iris-vs-royal-blue",
"/compare/neon-blue-vs-royal-blue",
"/compare/royal-blue-vs-slate-blue",
"/harmonies/royal-blue",
"/wcag/royal-blue",
"/css/colors/royal-blue",
"/hex/4169e1"
]
},
"pairings": {
"best": [
"#FFFFFF",
"#E1B941",
"#41B9E1",
"#6941E1"
],
"avoid": [
"#5975C9",
"#91A8EE"
],
"neutral": [
"#1A1A1A",
"#F5F5F5",
"#E8E8E4"
],
"highContrast": [
"#FFFFFF"
],
"lowContrast": [
"#91A8EE",
"#5975C9"
]
}
}
Color meaning and use
About Royal Blue Color
Royal Blue sits in the blue family with cool temperature and vibrant visual character. Standard CSS named color.
Its common associations include context dependent, which makes it relevant for web interfaces and design systems. In design work, Royal Blue is most useful for web design, css color systems, and ui prototyping, especially when paired with white text for stronger contrast.
WCAG Accessibility
Contrast checks for Royal Blue against black and white text.