#223C8F#223C8F
#223C8F is a dark, vivid blue. Relative luminance 0.056; OKLCH L 38.9% C 0.141 H 266.5°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).
Color values
| HEX | #223C8F |
|---|---|
| RGB | rgb(34, 60, 143) |
| HSL | hsl(226, 62%, 35%) |
| HSV | hsv(226, 76%, 56%) |
| CMYK | cmyk(76.2%, 58%, 0%, 43.9%) |
| CIE-LAB | lab(28.26, 21.10, -48.83) |
| CIE-LCH | lch(28.26, 53.20, 293.37°) |
| OKLab | oklab(38.94% -0.0085 -0.1408) |
| OKLCH | oklch(38.94% 0.141 266.5) |
| XYZ | xyz(7.2317, 5.5542, 26.6722) |
| Luminance | 0.0556 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 4.63
Sapphire (survey)
#2138AB
ΔE00 4.71
Darkish Blue
#014182
ΔE00 5.20
Cobalt
#0047AB
ΔE00 5.29
Blueberry
#464196
ΔE00 5.62
Twilight Blue
#0A437A
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#223C8F #8F7522
analogous
#22738F #223C8F #3F228F
triadic
#223C8F #8F223C #3C8F22
tetradic
#223C8F #8F2273 #8F7522 #228F3F
square
#223C8F #8F2273 #8F7522 #228F3F
split-complementary
#223C8F #8F3F22 #738F22
monochromatic
#0A132C #16275E #223C8F #2E51C0 #5574D7
Accessibility & contrast
On white
9.95
#223C8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#223C8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #223C8F
9.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##223C8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##223C8F | 1.00 | 9.95 | 2.11 | 9.95 |
| #FFFFFF | 9.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004892
Deuteranopia (green-blind)
#003E8D
Tritanopia (blue-blind)
#00515F
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #223c8f; /* rgb */ color: rgb(34, 60, 143); /* oklch */ color: oklch(38.9% 0.141 266.5);
Tailwind
colors: {
custom: {
50: '#6e71b0',
500: '#223c8f',
950: '#000000',
},
}SCSS
$custom: #223c8f; $custom-light: #6e71b0; $custom-dark: #000000;
JSON
{
"hex": "#223c8f",
"rgb": {
"r": 34,
"g": 60,
"b": 143
},
"hsl": {
"h": 225.688,
"s": 61.582,
"l": 34.706
},
"oklch": {
"l": 0.38937,
"c": 0.14111,
"h": 266.5
},
"luminance": 0.05555
}Semantic roles & 50–950 ramp
primary
#223C8F
secondary
#BAA252
accent
#BE43E5
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#080711
muted
#7B7A80