#223A99#223A99
#223A99 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.4% C 0.158 H 267.5°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).
Color values
| HEX | #223A99 |
|---|---|
| RGB | rgb(34, 58, 153) |
| HSL | hsl(228, 64%, 37%) |
| HSV | hsv(228, 78%, 60%) |
| CMYK | cmyk(77.8%, 62.1%, 0%, 40%) |
| CIE-LAB | lab(28.55, 26.36, -54.49) |
| CIE-LCH | lch(28.55, 60.53, 295.82°) |
| OKLab | oklab(39.42% -0.0069 -0.1575) |
| OKLCH | oklch(39.42% 0.158 267.5) |
| XYZ | xyz(7.9205, 5.6652, 30.8069) |
| Luminance | 0.0567 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.86
Blueberry
#464196
ΔE00 5.24
Cobalt
#0047AB
ΔE00 5.30
Cobalt (survey)
#1E488F
ΔE00 5.89
Darkslateblue
#483D8B
ΔE00 6.44
Blue Blue
#2242C7
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#223A99 #998122
analogous
#227699 #223A99 #462299
triadic
#223A99 #99223A #3A9922
tetradic
#223A99 #992276 #998122 #229946
square
#223A99 #992276 #998122 #229946
split-complementary
#223A99 #994622 #769922
monochromatic
#0C1435 #172767 #223A99 #2D4DCB #5B75DB
Accessibility & contrast
On white
9.84
#223A99 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#223A99 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #223A99
9.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##223A99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##223A99 | 1.00 | 9.84 | 2.13 | 9.84 |
| #FFFFFF | 9.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00499C
Deuteranopia (green-blind)
#003E97
Tritanopia (blue-blind)
#005264
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #223a99; /* rgb */ color: rgb(34, 58, 153); /* oklch */ color: oklch(39.4% 0.158 267.5);
Tailwind
colors: {
custom: {
50: '#716fb8',
500: '#223a99',
950: '#000000',
},
}SCSS
$custom: #223a99; $custom-light: #716fb8; $custom-dark: #000000;
JSON
{
"hex": "#223a99",
"rgb": {
"r": 34,
"g": 58,
"b": 153
},
"hsl": {
"h": 227.899,
"s": 63.636,
"l": 36.667
},
"oklch": {
"l": 0.39416,
"c": 0.15762,
"h": 267.5
},
"luminance": 0.05666
}Semantic roles & 50–950 ramp
primary
#223A99
secondary
#BFAA58
accent
#C541E7
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80