#222BAC#222BAC
#222BAC is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.7% C 0.199 H 269.8°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).
Color values
| HEX | #222BAC |
|---|---|
| RGB | rgb(34, 43, 172) |
| HSL | hsl(236, 67%, 40%) |
| HSV | hsv(236, 80%, 67%) |
| CMYK | cmyk(80.2%, 75%, 0%, 32.5%) |
| CIE-LAB | lab(26.86, 42.86, -68.77) |
| CIE-LCH | lch(26.86, 81.03, 301.94°) |
| OKLab | oklab(38.75% -0.0008 -0.1992) |
| OKLCH | oklch(38.75% 0.199 269.8) |
| XYZ | xyz(8.9674, 5.0454, 39.5230) |
| Luminance | 0.0505 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.65
Indigo Blue
#3A18B1
ΔE00 4.53
True Blue
#010FCC
ΔE00 5.58
Royal
#0C1793
ΔE00 5.72
Cobalt Blue
#030AA7
ΔE00 6.03
Ultramarine
#2000B1
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#222BAC #ACA322
analogous
#2270AC #222BAC #5E22AC
triadic
#222BAC #AC222B #2BAC22
tetradic
#222BAC #AC2270 #ACA322 #22AC5E
square
#222BAC #AC2270 #ACA322 #22AC5E
split-complementary
#222BAC #AC5E22 #70AC22
monochromatic
#0E1146 #181E79 #222BAC #343FD7 #676FE1
Accessibility & contrast
On white
10.45
#222BAC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.01
#222BAC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #222BAC
10.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##222BAC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##222BAC | 1.00 | 10.45 | 2.01 | 10.45 |
| #FFFFFF | 10.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046B0
Deuteranopia (green-blind)
#0039AA
Tritanopia (blue-blind)
#005169
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #222bac; /* rgb */ color: rgb(34, 43, 172); /* oklch */ color: oklch(38.7% 0.199 269.8);
Tailwind
colors: {
custom: {
50: '#7766c6',
500: '#222bac',
950: '#000000',
},
}SCSS
$custom: #222bac; $custom-light: #7766c6; $custom-dark: #000000;
JSON
{
"hex": "#222bac",
"rgb": {
"r": 34,
"g": 43,
"b": 172
},
"hsl": {
"h": 236.087,
"s": 66.99,
"l": 40.392
},
"oklch": {
"l": 0.38749,
"c": 0.1992,
"h": 269.8
},
"luminance": 0.05046
}Semantic roles & 50–950 ramp
primary
#222BAC
secondary
#C7C063
accent
#DF3EEA
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0613
muted
#7C7A82