#222A38#222A38
#222A38 is a dark, muted blue. Relative luminance 0.023; OKLCH L 28.4% C 0.028 H 261.5°. Best body text is #FFFFFF at 14.42:1 contrast (WCAG AA passes).
Color values
| HEX | #222A38 |
|---|---|
| RGB | rgb(34, 42, 56) |
| HSL | hsl(218, 24%, 18%) |
| HSV | hsv(218, 39%, 22%) |
| CMYK | cmyk(39.3%, 25%, 0%, 78%) |
| CIE-LAB | lab(16.90, 0.71, -10.12) |
| CIE-LCH | lch(16.90, 10.15, 274.02°) |
| OKLab | oklab(28.38% -0.0042 -0.0279) |
| OKLCH | oklch(28.38% 0.028 261.5) |
| XYZ | xyz(2.2012, 2.2814, 4.0650) |
| Luminance | 0.0228 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark
#1B2431
ΔE00 2.11
Gunmetal
#2A3439
ΔE00 6.93
Navy Blue
#1B2A4A
ΔE00 7.37
Dark Blue Grey
#1F3B4D
ΔE00 8.15
Onyx
#353839
ΔE00 8.81
Dark Grey
#363737
ΔE00 9.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#222A38 #383022
analogous
#223538 #222A38 #252238
triadic
#222A38 #38222A #2A3822
tetradic
#222A38 #382235 #383022 #223825
square
#222A38 #382235 #383022 #223825
split-complementary
#222A38 #382522 #353822
monochromatic
#0C0E13 #0C0E13 #222A38 #39475E #506384
Accessibility & contrast
On white
14.42
#222A38 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.46
#222A38 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #222A38
14.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##222A38 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##222A38 | 1.00 | 14.42 | 1.46 | 14.42 |
| #FFFFFF | 14.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#252B39
Deuteranopia (green-blind)
#232938
Tritanopia (blue-blind)
#1B2D2F
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #222a38; /* rgb */ color: rgb(34, 42, 56); /* oklch */ color: oklch(28.4% 0.028 261.5);
Tailwind
colors: {
custom: {
50: '#5e636e',
500: '#222a38',
950: '#000000',
},
}SCSS
$custom: #222a38; $custom-light: #5e636e; $custom-dark: #000000;
JSON
{
"hex": "#222a38",
"rgb": {
"r": 34,
"g": 42,
"b": 56
},
"hsl": {
"h": 218.182,
"s": 24.444,
"l": 17.647
},
"oklch": {
"l": 0.28379,
"c": 0.02826,
"h": 261.5
},
"luminance": 0.02282
}Semantic roles & 50–950 ramp
primary
#222A38
secondary
#6A5F4B
accent
#A067C1
background
#F5F5F6
surface
#E9EAEC
border
#C5C6C7
text
#040507
muted
#79797A