#22438B#22438B
#22438B is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.1% C 0.126 H 263.3°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).
Color values
| HEX | #22438B |
|---|---|
| RGB | rgb(34, 67, 139) |
| HSL | hsl(221, 61%, 34%) |
| HSV | hsv(221, 76%, 55%) |
| CMYK | cmyk(75.5%, 51.8%, 0%, 45.5%) |
| CIE-LAB | lab(29.96, 14.70, -43.62) |
| CIE-LCH | lch(29.96, 46.03, 288.62°) |
| OKLab | oklab(40.12% -0.0147 -0.1254) |
| OKLCH | oklch(40.12% 0.126 263.3) |
| XYZ | xyz(7.3254, 6.2177, 25.2352) |
| Luminance | 0.0622 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.02
Darkish Blue
#014182
ΔE00 3.30
Twilight Blue
#0A437A
ΔE00 4.23
Cobalt
#0047AB
ΔE00 4.47
Dusk Blue
#26538D
ΔE00 5.71
Prussian Blue
#004577
ΔE00 5.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#22438B #8B6A22
analogous
#22788B #22438B #36228B
triadic
#22438B #8B2243 #438B22
tetradic
#22438B #8B2278 #8B6A22 #228B36
square
#22438B #8B2278 #8B6A22 #228B36
split-complementary
#22438B #8B3622 #788B22
monochromatic
#0A1429 #162B5A #22438B #2E5BBC #537CD5
Accessibility & contrast
On white
9.36
#22438B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#22438B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #22438B
9.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##22438B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##22438B | 1.00 | 9.36 | 2.24 | 9.36 |
| #FFFFFF | 9.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#174C8E
Deuteranopia (green-blind)
#00428A
Tritanopia (blue-blind)
#005460
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #22438b; /* rgb */ color: rgb(34, 67, 139); /* oklch */ color: oklch(40.1% 0.126 263.3);
Tailwind
colors: {
custom: {
50: '#6c76ad',
500: '#22438b',
950: '#000000',
},
}SCSS
$custom: #22438b; $custom-light: #6c76ad; $custom-dark: #000000;
JSON
{
"hex": "#22438b",
"rgb": {
"r": 34,
"g": 67,
"b": 139
},
"hsl": {
"h": 221.143,
"s": 60.694,
"l": 33.922
},
"oklch": {
"l": 0.40124,
"c": 0.12625,
"h": 263.3
},
"luminance": 0.06218
}Semantic roles & 50–950 ramp
primary
#22438B
secondary
#B89850
accent
#B244E4
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F