#223C9C#223C9C
#223C9C is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.1% C 0.159 H 267.1°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).
Color values
| HEX | #223C9C |
|---|---|
| RGB | rgb(34, 60, 156) |
| HSL | hsl(227, 64%, 37%) |
| HSV | hsv(227, 78%, 61%) |
| CMYK | cmyk(78.2%, 61.5%, 0%, 38.8%) |
| CIE-LAB | lab(29.34, 26.17, -55.02) |
| CIE-LCH | lch(29.34, 60.93, 295.43°) |
| OKLab | oklab(40.08% -0.0082 -0.159) |
| OKLCH | oklch(40.08% 0.159 267.1) |
| XYZ | xyz(8.2742, 5.9712, 32.1625) |
| Luminance | 0.0597 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.77
Cobalt
#0047AB
ΔE00 4.65
Blueberry
#464196
ΔE00 5.23
Cobalt (survey)
#1E488F
ΔE00 5.47
Blue Blue
#2242C7
ΔE00 6.06
Darkish Blue
#014182
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#223C9C #9C8222
analogous
#22799C #223C9C #45229C
triadic
#223C9C #9C223C #3C9C22
tetradic
#223C9C #9C2279 #9C8222 #229C45
square
#223C9C #9C2279 #9C8222 #229C45
split-complementary
#223C9C #9C4522 #799C22
monochromatic
#0C1538 #17296A #223C9C #2D4FCE #5D78DC
Accessibility & contrast
On white
9.57
#223C9C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.19
#223C9C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #223C9C
9.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##223C9C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##223C9C | 1.00 | 9.57 | 2.19 | 9.57 |
| #FFFFFF | 9.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004B9F
Deuteranopia (green-blind)
#00409A
Tritanopia (blue-blind)
#005566
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #223c9c; /* rgb */ color: rgb(34, 60, 156); /* oklch */ color: oklch(40.1% 0.159 267.1);
Tailwind
colors: {
custom: {
50: '#7171ba',
500: '#223c9c',
950: '#000000',
},
}SCSS
$custom: #223c9c; $custom-light: #7171ba; $custom-dark: #000000;
JSON
{
"hex": "#223c9c",
"rgb": {
"r": 34,
"g": 60,
"b": 156
},
"hsl": {
"h": 227.213,
"s": 64.211,
"l": 37.255
},
"oklch": {
"l": 0.40082,
"c": 0.15924,
"h": 267.1
},
"luminance": 0.05972
}Semantic roles & 50–950 ramp
primary
#223C9C
secondary
#C0AA5A
accent
#C441E7
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090712
muted
#7B7A81