#22336F#22336F
#22336F is a dark, moderate blue. Relative luminance 0.039; OKLCH L 34.3% C 0.106 H 268.4°. Best body text is #FFFFFF at 11.86:1 contrast (WCAG AA passes).
Color values
| HEX | #22336F |
|---|---|
| RGB | rgb(34, 51, 111) |
| HSL | hsl(227, 53%, 28%) |
| HSV | hsv(227, 69%, 44%) |
| CMYK | cmyk(69.4%, 54.1%, 0%, 56.5%) |
| CIE-LAB | lab(23.19, 14.77, -36.94) |
| CIE-LCH | lch(23.19, 39.78, 291.80°) |
| OKLab | oklab(34.33% -0.0029 -0.106) |
| OKLCH | oklch(34.33% 0.106 268.4) |
| XYZ | xyz(4.7118, 3.8550, 15.5316) |
| Luminance | 0.0386 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 4.31
Marine Blue
#01386A
ΔE00 5.62
Navy Blue
#1B2A4A
ΔE00 6.92
Darkish Blue
#014182
ΔE00 6.97
Twilight Blue
#0A437A
ΔE00 7.56
Darkslateblue
#483D8B
ΔE00 7.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#22336F #6F5E22
analogous
#22596F #22336F #37226F
triadic
#22336F #6F2233 #336F22
tetradic
#22336F #6F2259 #6F5E22 #226F37
square
#22336F #6F2259 #6F5E22 #226F37
split-complementary
#22336F #6F3722 #596F22
monochromatic
#070B17 #141D40 #22336F #30499E #4562C6
Accessibility & contrast
On white
11.86
#22336F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.77
#22336F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #22336F
11.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##22336F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##22336F | 1.00 | 11.86 | 1.77 | 11.86 |
| #FFFFFF | 11.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0F3B71
Deuteranopia (green-blind)
#00346E
Tritanopia (blue-blind)
#00414B
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #22336f; /* rgb */ color: rgb(34, 51, 111); /* oklch */ color: oklch(34.3% 0.106 268.4);
Tailwind
colors: {
custom: {
50: '#676a99',
500: '#22336f',
950: '#000000',
},
}SCSS
$custom: #22336f; $custom-light: #676a99; $custom-dark: #000000;
JSON
{
"hex": "#22336f",
"rgb": {
"r": 34,
"g": 51,
"b": 111
},
"hsl": {
"h": 226.753,
"s": 53.103,
"l": 28.431
},
"oklch": {
"l": 0.34325,
"c": 0.10605,
"h": 268.4
},
"luminance": 0.03855
}Semantic roles & 50–950 ramp
primary
#22336F
secondary
#A28F4A
accent
#BC4BDD
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E