#223E8B#223E8B
#223E8B is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.0% C 0.133 H 265.5°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).
Color values
| HEX | #223E8B |
|---|---|
| RGB | rgb(34, 62, 139) |
| HSL | hsl(224, 61%, 34%) |
| HSV | hsv(224, 76%, 55%) |
| CMYK | cmyk(75.5%, 55.4%, 0%, 45.5%) |
| CIE-LAB | lab(28.51, 18.14, -45.96) |
| CIE-LCH | lch(28.51, 49.41, 291.54°) |
| OKLab | oklab(39.03% -0.0104 -0.1324) |
| OKLCH | oklch(39.03% 0.133 265.5) |
| XYZ | xyz(7.0409, 5.6487, 25.1403) |
| Luminance | 0.0565 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.79
Darkish Blue
#014182
ΔE00 4.32
Cobalt
#0047AB
ΔE00 5.20
Twilight Blue
#0A437A
ΔE00 5.40
Sapphire (survey)
#2138AB
ΔE00 5.69
Blueberry
#464196
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#223E8B #8B6F22
analogous
#22738B #223E8B #3B228B
triadic
#223E8B #8B223E #3E8B22
tetradic
#223E8B #8B2273 #8B6F22 #228B3B
square
#223E8B #8B2273 #8B6F22 #228B3B
split-complementary
#223E8B #8B3B22 #738B22
monochromatic
#0A1229 #16285A #223E8B #2E54BC #5375D5
Accessibility & contrast
On white
9.86
#223E8B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#223E8B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #223E8B
9.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##223E8B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##223E8B | 1.00 | 9.86 | 2.13 | 9.86 |
| #FFFFFF | 9.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#01488E
Deuteranopia (green-blind)
#003F89
Tritanopia (blue-blind)
#00515E
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #223e8b; /* rgb */ color: rgb(34, 62, 139); /* oklch */ color: oklch(39.0% 0.133 265.5);
Tailwind
colors: {
custom: {
50: '#6d72ad',
500: '#223e8b',
950: '#000000',
},
}SCSS
$custom: #223e8b; $custom-light: #6d72ad; $custom-dark: #000000;
JSON
{
"hex": "#223e8b",
"rgb": {
"r": 34,
"g": 62,
"b": 139
},
"hsl": {
"h": 224,
"s": 60.694,
"l": 33.922
},
"oklch": {
"l": 0.39026,
"c": 0.13277,
"h": 265.5
},
"luminance": 0.05649
}Semantic roles & 50–950 ramp
primary
#223E8B
secondary
#B89D50
accent
#B944E4
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080810
muted
#7B7B7F