#222EAF#222EAF
#222EAF is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.5% C 0.200 H 269.3°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).
Color values
| HEX | #222EAF |
|---|---|
| RGB | rgb(34, 46, 175) |
| HSL | hsl(235, 67%, 41%) |
| HSV | hsv(235, 81%, 69%) |
| CMYK | cmyk(80.6%, 73.7%, 0%, 31.4%) |
| CIE-LAB | lab(27.81, 42.14, -69.00) |
| CIE-LCH | lch(27.81, 80.85, 301.42°) |
| OKLab | oklab(39.52% -0.0023 -0.1999) |
| OKLCH | oklch(39.52% 0.2 269.3) |
| XYZ | xyz(9.3719, 5.3881, 41.0952) |
| Luminance | 0.0539 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.96
Indigo Blue
#3A18B1
ΔE00 5.09
True Blue
#010FCC
ΔE00 5.90
Blue Blue
#2242C7
ΔE00 6.21
Royal
#0C1793
ΔE00 6.53
Cobalt Blue
#030AA7
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#222EAF #AFA322
analogous
#2274AF #222EAF #5D22AF
triadic
#222EAF #AF222E #2EAF22
tetradic
#222EAF #AF2274 #AFA322 #22AF5D
square
#222EAF #AF2274 #AFA322 #22AF5D
split-complementary
#222EAF #AF5D22 #74AF22
monochromatic
#0E1349 #18217C #222EAF #3644D8 #6974E2
Accessibility & contrast
On white
10.11
#222EAF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.08
#222EAF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #222EAF
10.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##222EAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##222EAF | 1.00 | 10.11 | 2.08 | 10.11 |
| #FFFFFF | 10.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0049B3
Deuteranopia (green-blind)
#003BAD
Tritanopia (blue-blind)
#00536C
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #222eaf; /* rgb */ color: rgb(34, 46, 175); /* oklch */ color: oklch(39.5% 0.200 269.3);
Tailwind
colors: {
custom: {
50: '#7768c8',
500: '#222eaf',
950: '#000000',
},
}SCSS
$custom: #222eaf; $custom-light: #7768c8; $custom-dark: #000000;
JSON
{
"hex": "#222eaf",
"rgb": {
"r": 34,
"g": 46,
"b": 175
},
"hsl": {
"h": 234.894,
"s": 67.464,
"l": 40.98
},
"oklch": {
"l": 0.39521,
"c": 0.1999,
"h": 269.3
},
"luminance": 0.05389
}Semantic roles & 50–950 ramp
primary
#222EAF
secondary
#C8BF65
accent
#DC3DEA
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82