#22336C#22336C
#22336C is a dark, moderate blue. Relative luminance 0.038; OKLCH L 34.1% C 0.101 H 268.2°. Best body text is #FFFFFF at 11.95:1 contrast (WCAG AA passes).
Color values
| HEX | #22336C |
|---|---|
| RGB | rgb(34, 51, 108) |
| HSL | hsl(226, 52%, 28%) |
| HSV | hsv(226, 69%, 42%) |
| CMYK | cmyk(68.5%, 52.8%, 0%, 57.6%) |
| CIE-LAB | lab(22.96, 13.59, -35.36) |
| CIE-LCH | lch(22.96, 37.89, 291.02°) |
| OKLab | oklab(34.09% -0.0033 -0.1014) |
| OKLCH | oklch(34.09% 0.101 268.2) |
| XYZ | xyz(4.5494, 3.7900, 14.6762) |
| Luminance | 0.0379 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 4.05
Marine Blue
#01386A
ΔE00 5.50
Navy Blue
#1B2A4A
ΔE00 6.44
Darkish Blue
#014182
ΔE00 7.07
Twilight Blue
#0A437A
ΔE00 7.57
Darkslateblue
#483D8B
ΔE00 8.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#22336C #6C5B22
analogous
#22586C #22336C #36226C
triadic
#22336C #6C2233 #336C22
tetradic
#22336C #6C2258 #6C5B22 #226C36
square
#22336C #6C2258 #6C5B22 #226C36
split-complementary
#22336C #6C3622 #586C22
monochromatic
#070B17 #131D3D #22336C #31499B #4462C4
Accessibility & contrast
On white
11.95
#22336C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.76
#22336C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #22336C
11.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##22336C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##22336C | 1.00 | 11.95 | 1.76 | 11.95 |
| #FFFFFF | 11.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#133A6E
Deuteranopia (green-blind)
#01346B
Tritanopia (blue-blind)
#00404A
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #22336c; /* rgb */ color: rgb(34, 51, 108); /* oklch */ color: oklch(34.1% 0.101 268.2);
Tailwind
colors: {
custom: {
50: '#666a96',
500: '#22336c',
950: '#000000',
},
}SCSS
$custom: #22336c; $custom-light: #666a96; $custom-dark: #000000;
JSON
{
"hex": "#22336c",
"rgb": {
"r": 34,
"g": 51,
"b": 108
},
"hsl": {
"h": 226.216,
"s": 52.113,
"l": 27.843
},
"oklch": {
"l": 0.34087,
"c": 0.10143,
"h": 268.2
},
"luminance": 0.0379
}Semantic roles & 50–950 ramp
primary
#22336C
secondary
#A08C4A
accent
#BB4CDC
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060D
muted
#7A7A7E