#223F88#223F88
#223F88 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.0% C 0.127 H 264.8°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).
Color values
| HEX | #223F88 |
|---|---|
| RGB | rgb(34, 63, 136) |
| HSL | hsl(223, 60%, 33%) |
| HSV | hsv(223, 75%, 53%) |
| CMYK | cmyk(75%, 53.7%, 0%, 46.7%) |
| CIE-LAB | lab(28.57, 16.27, -44.00) |
| CIE-LCH | lch(28.57, 46.91, 290.29°) |
| OKLab | oklab(39% -0.0116 -0.1266) |
| OKLCH | oklch(39% 0.127 264.8) |
| XYZ | xyz(6.8796, 5.6719, 24.0200) |
| Luminance | 0.0567 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.40
Darkish Blue
#014182
ΔE00 3.83
Twilight Blue
#0A437A
ΔE00 4.85
Cobalt
#0047AB
ΔE00 5.33
Marine Blue
#01386A
ΔE00 5.76
Sapphire (survey)
#2138AB
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#223F88 #886B22
analogous
#227288 #223F88 #382288
triadic
#223F88 #88223F #3F8822
tetradic
#223F88 #882272 #886B22 #228838
square
#223F88 #882272 #886B22 #228838
split-complementary
#223F88 #883822 #728822
monochromatic
#0A1226 #162857 #223F88 #2E56B9 #5176D3
Accessibility & contrast
On white
9.84
#223F88 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#223F88 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #223F88
9.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##223F88 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##223F88 | 1.00 | 9.84 | 2.13 | 9.84 |
| #FFFFFF | 9.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0E488B
Deuteranopia (green-blind)
#003F87
Tritanopia (blue-blind)
#00515D
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #223f88; /* rgb */ color: rgb(34, 63, 136); /* oklch */ color: oklch(39.0% 0.127 264.8);
Tailwind
colors: {
custom: {
50: '#6c73ab',
500: '#223f88',
950: '#000000',
},
}SCSS
$custom: #223f88; $custom-light: #6c73ab; $custom-dark: #000000;
JSON
{
"hex": "#223f88",
"rgb": {
"r": 34,
"g": 63,
"b": 136
},
"hsl": {
"h": 222.941,
"s": 60,
"l": 33.333
},
"oklch": {
"l": 0.39,
"c": 0.12712,
"h": 264.8
},
"luminance": 0.05673
}Semantic roles & 50–950 ramp
primary
#223F88
secondary
#B7994F
accent
#B645E3
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#080810
muted
#7A7B7F