#22438F#22438F
#22438F is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.4% C 0.132 H 263.8°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).
Color values
| HEX | #22438F |
|---|---|
| RGB | rgb(34, 67, 143) |
| HSL | hsl(222, 62%, 35%) |
| HSV | hsv(222, 76%, 56%) |
| CMYK | cmyk(76.2%, 53.1%, 0%, 43.9%) |
| CIE-LAB | lab(30.25, 16.29, -45.61) |
| CIE-LCH | lch(30.25, 48.43, 289.65°) |
| OKLab | oklab(40.44% -0.0142 -0.1312) |
| OKLCH | oklch(40.44% 0.132 263.8) |
| XYZ | xyz(7.6230, 6.3367, 26.8026) |
| Luminance | 0.0634 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.13
Darkish Blue
#014182
ΔE00 3.70
Cobalt
#0047AB
ΔE00 4.00
Twilight Blue
#0A437A
ΔE00 4.68
Dusk Blue
#26538D
ΔE00 5.84
Prussian Blue
#004577
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#22438F #8F6E22
analogous
#227A8F #22438F #38228F
triadic
#22438F #8F2243 #438F22
tetradic
#22438F #8F227A #8F6E22 #228F38
square
#22438F #8F227A #8F6E22 #228F38
split-complementary
#22438F #8F3822 #7A8F22
monochromatic
#0A152C #162C5E #22438F #2E5AC0 #557CD7
Accessibility & contrast
On white
9.26
#22438F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#22438F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #22438F
9.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##22438F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##22438F | 1.00 | 9.26 | 2.27 | 9.26 |
| #FFFFFF | 9.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#104C92
Deuteranopia (green-blind)
#00428D
Tritanopia (blue-blind)
#005562
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #22438f; /* rgb */ color: rgb(34, 67, 143); /* oklch */ color: oklch(40.4% 0.132 263.8);
Tailwind
colors: {
custom: {
50: '#6d76b0',
500: '#22438f',
950: '#000000',
},
}SCSS
$custom: #22438f; $custom-light: #6d76b0; $custom-dark: #000000;
JSON
{
"hex": "#22438f",
"rgb": {
"r": 34,
"g": 67,
"b": 143
},
"hsl": {
"h": 221.835,
"s": 61.582,
"l": 34.706
},
"oklch": {
"l": 0.40439,
"c": 0.13201,
"h": 263.8
},
"luminance": 0.06338
}Semantic roles & 50–950 ramp
primary
#22438F
secondary
#BA9B52
accent
#B443E5
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080811
muted
#7B7B80