#22438C#22438C
#22438C is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.2% C 0.128 H 263.4°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).
Color values
| HEX | #22438C |
|---|---|
| RGB | rgb(34, 67, 140) |
| HSL | hsl(221, 61%, 34%) |
| HSV | hsv(221, 76%, 55%) |
| CMYK | cmyk(75.7%, 52.1%, 0%, 45.1%) |
| CIE-LAB | lab(30.03, 15.10, -44.12) |
| CIE-LCH | lch(30.03, 46.63, 288.89°) |
| OKLab | oklab(40.2% -0.0146 -0.1269) |
| OKLCH | oklch(40.2% 0.128 263.4) |
| XYZ | xyz(7.3988, 6.2470, 25.6217) |
| Luminance | 0.0625 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.03
Darkish Blue
#014182
ΔE00 3.40
Twilight Blue
#0A437A
ΔE00 4.34
Cobalt
#0047AB
ΔE00 4.35
Dusk Blue
#26538D
ΔE00 5.74
Prussian Blue
#004577
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#22438C #8C6B22
analogous
#22788C #22438C #36228C
triadic
#22438C #8C2243 #438C22
tetradic
#22438C #8C2278 #8C6B22 #228C36
square
#22438C #8C2278 #8C6B22 #228C36
split-complementary
#22438C #8C3622 #788C22
monochromatic
#0A142A #162B5B #22438C #2E5BBD #537CD5
Accessibility & contrast
On white
9.33
#22438C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#22438C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #22438C
9.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##22438C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##22438C | 1.00 | 9.33 | 2.25 | 9.33 |
| #FFFFFF | 9.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#164C8F
Deuteranopia (green-blind)
#00428B
Tritanopia (blue-blind)
#005461
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #22438c; /* rgb */ color: rgb(34, 67, 140); /* oklch */ color: oklch(40.2% 0.128 263.4);
Tailwind
colors: {
custom: {
50: '#6d76ae',
500: '#22438c',
950: '#000000',
},
}SCSS
$custom: #22438c; $custom-light: #6d76ae; $custom-dark: #000000;
JSON
{
"hex": "#22438c",
"rgb": {
"r": 34,
"g": 67,
"b": 140
},
"hsl": {
"h": 221.321,
"s": 60.92,
"l": 34.118
},
"oklch": {
"l": 0.40202,
"c": 0.1277,
"h": 263.4
},
"luminance": 0.06248
}Semantic roles & 50–950 ramp
primary
#22438C
secondary
#B99951
accent
#B244E4
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F