#22428B#22428B
#22428B is a dark, vivid blue. Relative luminance 0.061; OKLCH L 39.9% C 0.128 H 263.8°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).
Color values
| HEX | #22428B |
|---|---|
| RGB | rgb(34, 66, 139) |
| HSL | hsl(222, 61%, 34%) |
| HSV | hsv(222, 76%, 55%) |
| CMYK | cmyk(75.5%, 52.5%, 0%, 45.5%) |
| CIE-LAB | lab(29.66, 15.39, -44.09) |
| CIE-LCH | lch(29.66, 46.70, 289.24°) |
| OKLab | oklab(39.9% -0.0138 -0.1268) |
| OKLCH | oklch(39.9% 0.128 263.8) |
| XYZ | xyz(7.2664, 6.0998, 25.2155) |
| Luminance | 0.0610 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.37
Darkish Blue
#014182
ΔE00 3.45
Twilight Blue
#0A437A
ΔE00 4.43
Cobalt
#0047AB
ΔE00 4.57
Prussian Blue
#004577
ΔE00 5.93
Marine Blue
#01386A
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#22428B #8B6B22
analogous
#22778B #22428B #37228B
triadic
#22428B #8B2242 #428B22
tetradic
#22428B #8B2277 #8B6B22 #228B37
square
#22428B #8B2277 #8B6B22 #228B37
split-complementary
#22428B #8B3722 #778B22
monochromatic
#0A1329 #162B5A #22428B #2E59BC #537AD5
Accessibility & contrast
On white
9.46
#22428B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.22
#22428B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #22428B
9.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##22428B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##22428B | 1.00 | 9.46 | 2.22 | 9.46 |
| #FFFFFF | 9.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#144B8E
Deuteranopia (green-blind)
#00418A
Tritanopia (blue-blind)
#005360
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #22428b; /* rgb */ color: rgb(34, 66, 139); /* oklch */ color: oklch(39.9% 0.128 263.8);
Tailwind
colors: {
custom: {
50: '#6d75ad',
500: '#22428b',
950: '#000000',
},
}SCSS
$custom: #22428b; $custom-light: #6d75ad; $custom-dark: #000000;
JSON
{
"hex": "#22428b",
"rgb": {
"r": 34,
"g": 66,
"b": 139
},
"hsl": {
"h": 221.714,
"s": 60.694,
"l": 33.922
},
"oklch": {
"l": 0.39901,
"c": 0.12754,
"h": 263.8
},
"luminance": 0.06101
}Semantic roles & 50–950 ramp
primary
#22428B
secondary
#B89950
accent
#B344E4
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F