#223C8E#223C8E
#223C8E is a dark, vivid blue. Relative luminance 0.055; OKLCH L 38.9% C 0.140 H 266.5°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).
Color values
| HEX | #223C8E |
|---|---|
| RGB | rgb(34, 60, 142) |
| HSL | hsl(226, 61%, 35%) |
| HSV | hsv(226, 76%, 56%) |
| CMYK | cmyk(76.1%, 57.7%, 0%, 44.3%) |
| CIE-LAB | lab(28.18, 20.71, -48.35) |
| CIE-LCH | lch(28.18, 52.59, 293.19°) |
| OKLab | oklab(38.85% -0.0086 -0.1394) |
| OKLCH | oklch(38.85% 0.14 266.5) |
| XYZ | xyz(7.1563, 5.5240, 26.2750) |
| Luminance | 0.0553 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 4.59
Sapphire (survey)
#2138AB
ΔE00 4.87
Darkish Blue
#014182
ΔE00 5.11
Cobalt
#0047AB
ΔE00 5.37
Blueberry
#464196
ΔE00 5.68
Twilight Blue
#0A437A
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#223C8E #8E7422
analogous
#22728E #223C8E #3E228E
triadic
#223C8E #8E223C #3C8E22
tetradic
#223C8E #8E2272 #8E7422 #228E3E
square
#223C8E #8E2272 #8E7422 #228E3E
split-complementary
#223C8E #8E3E22 #728E22
monochromatic
#0A122B #16275D #223C8E #2E51BF #5474D6
Accessibility & contrast
On white
9.98
#223C8E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#223C8E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #223C8E
9.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##223C8E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##223C8E | 1.00 | 9.98 | 2.11 | 9.98 |
| #FFFFFF | 9.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004891
Deuteranopia (green-blind)
#003E8C
Tritanopia (blue-blind)
#00505F
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #223c8e; /* rgb */ color: rgb(34, 60, 142); /* oklch */ color: oklch(38.9% 0.140 266.5);
Tailwind
colors: {
custom: {
50: '#6e71b0',
500: '#223c8e',
950: '#000000',
},
}SCSS
$custom: #223c8e; $custom-light: #6e71b0; $custom-dark: #000000;
JSON
{
"hex": "#223c8e",
"rgb": {
"r": 34,
"g": 60,
"b": 142
},
"hsl": {
"h": 225.556,
"s": 61.364,
"l": 34.51
},
"oklch": {
"l": 0.38851,
"c": 0.13968,
"h": 266.5
},
"luminance": 0.05525
}Semantic roles & 50–950 ramp
primary
#223C8E
secondary
#BAA152
accent
#BE43E4
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#080710
muted
#7B7A7F