#222F75#222F75
#222F75 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.0% C 0.121 H 270.6°. Best body text is #FFFFFF at 12.13:1 contrast (WCAG AA passes).
Color values
| HEX | #222F75 |
|---|---|
| RGB | rgb(34, 47, 117) |
| HSL | hsl(231, 55%, 30%) |
| HSV | hsv(231, 71%, 46%) |
| CMYK | cmyk(70.9%, 59.8%, 0%, 54.1%) |
| CIE-LAB | lab(22.50, 19.95, -41.89) |
| CIE-LCH | lch(22.50, 46.39, 295.47°) |
| OKLab | oklab(33.96% 0.0013 -0.1206) |
| OKLCH | oklch(33.96% 0.121 270.6) |
| XYZ | xyz(4.8860, 3.6570, 17.2746) |
| Luminance | 0.0366 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 5.55
Midnight Blue
#191970
ΔE00 6.60
Marine Blue
#01386A
ΔE00 7.11
Darkslateblue
#483D8B
ΔE00 7.23
Blueberry
#464196
ΔE00 7.97
Navy Blue
#1B2A4A
ΔE00 8.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#222F75 #756822
analogous
#225975 #222F75 #3E2275
triadic
#222F75 #75222F #2F7522
tetradic
#222F75 #752259 #756822 #22753E
square
#222F75 #752259 #756822 #22753E
split-complementary
#222F75 #753E22 #597522
monochromatic
#070A18 #141C46 #222F75 #3042A4 #485CCA
Accessibility & contrast
On white
12.13
#222F75 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.73
#222F75 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #222F75
12.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##222F75 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##222F75 | 1.00 | 12.13 | 1.73 | 12.13 |
| #FFFFFF | 12.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A77
Deuteranopia (green-blind)
#003274
Tritanopia (blue-blind)
#00404D
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #222f75; /* rgb */ color: rgb(34, 47, 117); /* oklch */ color: oklch(34.0% 0.121 270.6);
Tailwind
colors: {
custom: {
50: '#69679d',
500: '#222f75',
950: '#000000',
},
}SCSS
$custom: #222f75; $custom-light: #69679d; $custom-dark: #000000;
JSON
{
"hex": "#222f75",
"rgb": {
"r": 34,
"g": 47,
"b": 117
},
"hsl": {
"h": 230.602,
"s": 54.967,
"l": 29.608
},
"oklch": {
"l": 0.33961,
"c": 0.12063,
"h": 270.6
},
"luminance": 0.03657
}Semantic roles & 50–950 ramp
primary
#222F75
secondary
#A8994B
accent
#C749DE
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E