#223C9A#223C9A
#223C9A is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.9% C 0.157 H 267.0°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).
Color values
| HEX | #223C9A |
|---|---|
| RGB | rgb(34, 60, 154) |
| HSL | hsl(227, 64%, 37%) |
| HSV | hsv(227, 78%, 60%) |
| CMYK | cmyk(77.9%, 61%, 0%, 39.6%) |
| CIE-LAB | lab(29.17, 25.39, -54.09) |
| CIE-LCH | lch(29.17, 59.75, 295.15°) |
| OKLab | oklab(39.9% -0.0082 -0.1563) |
| OKLCH | oklch(39.9% 0.157 267) |
| XYZ | xyz(8.1062, 5.9040, 31.2779) |
| Luminance | 0.0590 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.06
Cobalt
#0047AB
ΔE00 4.70
Blueberry
#464196
ΔE00 5.24
Cobalt (survey)
#1E488F
ΔE00 5.31
Darkish Blue
#014182
ΔE00 6.31
Blue Blue
#2242C7
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#223C9A #9A8022
analogous
#22789A #223C9A #44229A
triadic
#223C9A #9A223C #3C9A22
tetradic
#223C9A #9A2278 #9A8022 #229A44
square
#223C9A #9A2278 #9A8022 #229A44
split-complementary
#223C9A #9A4422 #789A22
monochromatic
#0C1536 #172868 #223C9A #2D50CC #5B77DB
Accessibility & contrast
On white
9.63
#223C9A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#223C9A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #223C9A
9.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##223C9A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##223C9A | 1.00 | 9.63 | 2.18 | 9.63 |
| #FFFFFF | 9.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004B9D
Deuteranopia (green-blind)
#003F98
Tritanopia (blue-blind)
#005465
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #223c9a; /* rgb */ color: rgb(34, 60, 154); /* oklch */ color: oklch(39.9% 0.157 267.0);
Tailwind
colors: {
custom: {
50: '#7171b9',
500: '#223c9a',
950: '#000000',
},
}SCSS
$custom: #223c9a; $custom-light: #7171b9; $custom-dark: #000000;
JSON
{
"hex": "#223c9a",
"rgb": {
"r": 34,
"g": 60,
"b": 154
},
"hsl": {
"h": 227,
"s": 63.83,
"l": 36.863
},
"oklch": {
"l": 0.39902,
"c": 0.1565,
"h": 267
},
"luminance": 0.05905
}Semantic roles & 50–950 ramp
primary
#223C9A
secondary
#BFA958
accent
#C341E7
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80