#223A9F#223A9F
#223A9F is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.0% C 0.166 H 267.6°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).
Color values
| HEX | #223A9F |
|---|---|
| RGB | rgb(34, 58, 159) |
| HSL | hsl(228, 65%, 38%) |
| HSV | hsv(228, 79%, 62%) |
| CMYK | cmyk(78.6%, 63.5%, 0%, 37.6%) |
| CIE-LAB | lab(29.08, 28.67, -57.27) |
| CIE-LCH | lch(29.08, 64.05, 296.59°) |
| OKLab | oklab(39.97% -0.0069 -0.1656) |
| OKLCH | oklch(39.97% 0.166 267.6) |
| XYZ | xyz(8.4286, 5.8684, 33.4827) |
| Luminance | 0.0587 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.96
Cobalt
#0047AB
ΔE00 5.19
Blueberry
#464196
ΔE00 5.28
Blue Blue
#2242C7
ΔE00 5.77
Cobalt (survey)
#1E488F
ΔE00 6.34
Darkslateblue
#483D8B
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#223A9F #9F8722
analogous
#22789F #223A9F #48229F
triadic
#223A9F #9F223A #3A9F22
tetradic
#223A9F #9F2278 #9F8722 #229F48
square
#223A9F #9F2278 #9F8722 #229F48
split-complementary
#223A9F #9F4822 #789F22
monochromatic
#0C153A #17286D #223A9F #2D4CD1 #5F77DD
Accessibility & contrast
On white
9.66
#223A9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#223A9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #223A9F
9.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##223A9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##223A9F | 1.00 | 9.66 | 2.17 | 9.66 |
| #FFFFFF | 9.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004BA2
Deuteranopia (green-blind)
#003F9D
Tritanopia (blue-blind)
#005467
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #223a9f; /* rgb */ color: rgb(34, 58, 159); /* oklch */ color: oklch(40.0% 0.166 267.6);
Tailwind
colors: {
custom: {
50: '#7270bc',
500: '#223a9f',
950: '#000000',
},
}SCSS
$custom: #223a9f; $custom-light: #7270bc; $custom-dark: #000000;
JSON
{
"hex": "#223a9f",
"rgb": {
"r": 34,
"g": 58,
"b": 159
},
"hsl": {
"h": 228.48,
"s": 64.767,
"l": 37.843
},
"oklch": {
"l": 0.39969,
"c": 0.16579,
"h": 267.6
},
"luminance": 0.05869
}Semantic roles & 50–950 ramp
primary
#223A9F
secondary
#C1AE5B
accent
#C840E8
background
#F7F6FB
surface
#EDECF7
border
#C8C7D0
text
#090712
muted
#7B7A81