#223A9E#223A9E
#223A9E is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.9% C 0.164 H 267.6°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).
Color values
| HEX | #223A9E |
|---|---|
| RGB | rgb(34, 58, 158) |
| HSL | hsl(228, 65%, 38%) |
| HSV | hsv(228, 78%, 62%) |
| CMYK | cmyk(78.5%, 63.3%, 0%, 38%) |
| CIE-LAB | lab(28.99, 28.28, -56.81) |
| CIE-LCH | lch(28.99, 63.46, 296.47°) |
| OKLab | oklab(39.88% -0.0069 -0.1643) |
| OKLCH | oklch(39.88% 0.164 267.6) |
| XYZ | xyz(8.3422, 5.8339, 33.0275) |
| Luminance | 0.0583 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.11
Cobalt
#0047AB
ΔE00 5.20
Blueberry
#464196
ΔE00 5.26
Blue Blue
#2242C7
ΔE00 5.90
Cobalt (survey)
#1E488F
ΔE00 6.26
Darkslateblue
#483D8B
ΔE00 6.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#223A9E #9E8622
analogous
#22789E #223A9E #48229E
triadic
#223A9E #9E223A #3A9E22
tetradic
#223A9E #9E2278 #9E8622 #229E48
square
#223A9E #9E2278 #9E8622 #229E48
split-complementary
#223A9E #9E4822 #789E22
monochromatic
#0C1539 #17286C #223A9E #2D4CD0 #5E76DC
Accessibility & contrast
On white
9.69
#223A9E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#223A9E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #223A9E
9.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##223A9E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##223A9E | 1.00 | 9.69 | 2.17 | 9.69 |
| #FFFFFF | 9.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004AA1
Deuteranopia (green-blind)
#003F9C
Tritanopia (blue-blind)
#005466
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #223a9e; /* rgb */ color: rgb(34, 58, 158); /* oklch */ color: oklch(39.9% 0.164 267.6);
Tailwind
colors: {
custom: {
50: '#7270bc',
500: '#223a9e',
950: '#000000',
},
}SCSS
$custom: #223a9e; $custom-light: #7270bc; $custom-dark: #000000;
JSON
{
"hex": "#223a9e",
"rgb": {
"r": 34,
"g": 58,
"b": 158
},
"hsl": {
"h": 228.387,
"s": 64.583,
"l": 37.647
},
"oklch": {
"l": 0.39876,
"c": 0.16444,
"h": 267.6
},
"luminance": 0.05835
}Semantic roles & 50–950 ramp
primary
#223A9E
secondary
#C1AD5B
accent
#C740E8
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090712
muted
#7B7A81