#222F9C#222F9C
#222F9C is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.7% C 0.175 H 269.8°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).
Color values
| HEX | #222F9C |
|---|---|
| RGB | rgb(34, 47, 156) |
| HSL | hsl(234, 64%, 37%) |
| HSV | hsv(234, 78%, 61%) |
| CMYK | cmyk(78.2%, 69.9%, 0%, 38.8%) |
| CIE-LAB | lab(26.08, 34.75, -60.37) |
| CIE-LCH | lch(26.08, 69.66, 299.92°) |
| OKLab | oklab(37.69% -0.0005 -0.1748) |
| OKLCH | oklch(37.69% 0.175 269.8) |
| XYZ | xyz(7.6749, 4.7726, 31.9627) |
| Luminance | 0.0477 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.14
Royal
#0C1793
ΔE00 5.88
Blueberry
#464196
ΔE00 6.53
Indigo Blue
#3A18B1
ΔE00 6.59
Darkslateblue
#483D8B
ΔE00 7.07
Cobalt Blue
#030AA7
ΔE00 7.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#222F9C #9C8F22
analogous
#226C9C #222F9C #52229C
triadic
#222F9C #9C222F #2F9C22
tetradic
#222F9C #9C226C #9C8F22 #229C52
square
#222F9C #9C226C #9C8F22 #229C52
split-complementary
#222F9C #9C5222 #6C9C22
monochromatic
#0C1138 #17206A #222F9C #2D3ECE #5D6ADC
Accessibility & contrast
On white
10.74
#222F9C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.95
#222F9C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #222F9C
10.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##222F9C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##222F9C | 1.00 | 10.74 | 1.95 | 10.74 |
| #FFFFFF | 10.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00449F
Deuteranopia (green-blind)
#00389A
Tritanopia (blue-blind)
#004D61
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #222f9c; /* rgb */ color: rgb(34, 47, 156); /* oklch */ color: oklch(37.7% 0.175 269.8);
Tailwind
colors: {
custom: {
50: '#7268ba',
500: '#222f9c',
950: '#000000',
},
}SCSS
$custom: #222f9c; $custom-light: #7268ba; $custom-dark: #000000;
JSON
{
"hex": "#222f9c",
"rgb": {
"r": 34,
"g": 47,
"b": 156
},
"hsl": {
"h": 233.607,
"s": 64.211,
"l": 37.255
},
"oklch": {
"l": 0.37686,
"c": 0.17478,
"h": 269.8
},
"luminance": 0.04773
}Semantic roles & 50–950 ramp
primary
#222F9C
secondary
#C0B55A
accent
#D541E7
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090612
muted
#7B7A81