#222B71#222B71
#222B71 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 32.8% C 0.120 H 272.4°. Best body text is #FFFFFF at 12.71:1 contrast (WCAG AA passes).
Color values
| HEX | #222B71 |
|---|---|
| RGB | rgb(34, 43, 113) |
| HSL | hsl(233, 54%, 29%) |
| HSV | hsv(233, 70%, 44%) |
| CMYK | cmyk(69.9%, 61.9%, 0%, 55.7%) |
| CIE-LAB | lab(21.06, 21.20, -41.68) |
| CIE-LCH | lch(21.06, 46.76, 296.97°) |
| OKLab | oklab(32.78% 0.0049 -0.1201) |
| OKLCH | oklch(32.78% 0.12 272.4) |
| XYZ | xyz(4.5032, 3.2597, 16.0114) |
| Luminance | 0.0326 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.43
Marine
#042E60
ΔE00 6.02
Darkslateblue
#483D8B
ΔE00 7.75
Navy Blue
#1B2A4A
ΔE00 7.94
Marine Blue
#01386A
ΔE00 8.10
Royal
#0C1793
ΔE00 8.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#222B71 #716822
analogous
#225371 #222B71 #412271
triadic
#222B71 #71222B #2B7122
tetradic
#222B71 #712253 #716822 #227141
square
#222B71 #712253 #716822 #227141
split-complementary
#222B71 #714122 #537122
monochromatic
#070918 #141942 #222B71 #303DA0 #4655C7
Accessibility & contrast
On white
12.71
#222B71 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.65
#222B71 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #222B71
12.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##222B71 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##222B71 | 1.00 | 12.71 | 1.65 | 12.71 |
| #FFFFFF | 12.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003673
Deuteranopia (green-blind)
#002F70
Tritanopia (blue-blind)
#003C49
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #222b71; /* rgb */ color: rgb(34, 43, 113); /* oklch */ color: oklch(32.8% 0.120 272.4);
Tailwind
colors: {
custom: {
50: '#68649a',
500: '#222b71',
950: '#000000',
},
}SCSS
$custom: #222b71; $custom-light: #68649a; $custom-dark: #000000;
JSON
{
"hex": "#222b71",
"rgb": {
"r": 34,
"g": 43,
"b": 113
},
"hsl": {
"h": 233.165,
"s": 53.741,
"l": 28.824
},
"oklch": {
"l": 0.32778,
"c": 0.12016,
"h": 272.4
},
"luminance": 0.0326
}Semantic roles & 50–950 ramp
primary
#222B71
secondary
#A49A4A
accent
#CC4BDD
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050E
muted
#7A797E