#223F86#223F86
#223F86 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 38.8% C 0.124 H 264.6°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).
Color values
| HEX | #223F86 |
|---|---|
| RGB | rgb(34, 63, 134) |
| HSL | hsl(223, 60%, 33%) |
| HSV | hsv(223, 75%, 53%) |
| CMYK | cmyk(74.6%, 53%, 0%, 47.5%) |
| CIE-LAB | lab(28.42, 15.47, -43.00) |
| CIE-LCH | lch(28.42, 45.70, 289.79°) |
| OKLab | oklab(38.84% -0.0118 -0.1236) |
| OKLCH | oklch(38.84% 0.124 264.6) |
| XYZ | xyz(6.7388, 5.6156, 23.2784) |
| Luminance | 0.0562 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.41
Darkish Blue
#014182
ΔE00 3.68
Twilight Blue
#0A437A
ΔE00 4.67
Marine Blue
#01386A
ΔE00 5.53
Cobalt
#0047AB
ΔE00 5.55
Prussian Blue
#004577
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#223F86 #866922
analogous
#227186 #223F86 #372286
triadic
#223F86 #86223F #3F8622
tetradic
#223F86 #862271 #866922 #228637
square
#223F86 #862271 #866922 #228637
split-complementary
#223F86 #863722 #718622
monochromatic
#091124 #162855 #223F86 #2E56B7 #5076D3
Accessibility & contrast
On white
9.89
#223F86 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.12
#223F86 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #223F86
9.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##223F86 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##223F86 | 1.00 | 9.89 | 2.12 | 9.89 |
| #FFFFFF | 9.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#124889
Deuteranopia (green-blind)
#003F85
Tritanopia (blue-blind)
#00505C
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #223f86; /* rgb */ color: rgb(34, 63, 134); /* oklch */ color: oklch(38.8% 0.124 264.6);
Tailwind
colors: {
custom: {
50: '#6c73aa',
500: '#223f86',
950: '#000000',
},
}SCSS
$custom: #223f86; $custom-light: #6c73aa; $custom-dark: #000000;
JSON
{
"hex": "#223f86",
"rgb": {
"r": 34,
"g": 63,
"b": 134
},
"hsl": {
"h": 222.6,
"s": 59.524,
"l": 32.941
},
"oklch": {
"l": 0.3884,
"c": 0.12421,
"h": 264.6
},
"luminance": 0.05616
}Semantic roles & 50–950 ramp
primary
#223F86
secondary
#B6984E
accent
#B545E3
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#080810
muted
#7A7B7F