#223D9D#223D9D
#223D9D is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.4% C 0.159 H 266.8°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).
Color values
| HEX | #223D9D |
|---|---|
| RGB | rgb(34, 61, 157) |
| HSL | hsl(227, 64%, 37%) |
| HSV | hsv(227, 78%, 62%) |
| CMYK | cmyk(78.3%, 61.1%, 0%, 38.4%) |
| CIE-LAB | lab(29.69, 25.88, -55.06) |
| CIE-LCH | lch(29.69, 60.84, 295.18°) |
| OKLab | oklab(40.37% -0.0088 -0.1591) |
| OKLCH | oklch(40.37% 0.159 266.8) |
| XYZ | xyz(8.4121, 6.1109, 32.6279) |
| Luminance | 0.0611 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.86
Cobalt
#0047AB
ΔE00 4.34
Cobalt (survey)
#1E488F
ΔE00 5.24
Blueberry
#464196
ΔE00 5.26
Blue Blue
#2242C7
ΔE00 5.89
Darkish Blue
#014182
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#223D9D #9D8222
analogous
#227B9D #223D9D #44229D
triadic
#223D9D #9D223D #3D9D22
tetradic
#223D9D #9D227B #9D8222 #229D44
square
#223D9D #9D227B #9D8222 #229D44
split-complementary
#223D9D #9D4422 #7B9D22
monochromatic
#0C1638 #17296B #223D9D #2D51CF #5D79DC
Accessibility & contrast
On white
9.45
#223D9D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.22
#223D9D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #223D9D
9.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##223D9D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##223D9D | 1.00 | 9.45 | 2.22 | 9.45 |
| #FFFFFF | 9.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004CA0
Deuteranopia (green-blind)
#00409B
Tritanopia (blue-blind)
#005667
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #223d9d; /* rgb */ color: rgb(34, 61, 157); /* oklch */ color: oklch(40.4% 0.159 266.8);
Tailwind
colors: {
custom: {
50: '#7172bb',
500: '#223d9d',
950: '#000000',
},
}SCSS
$custom: #223d9d; $custom-light: #7172bb; $custom-dark: #000000;
JSON
{
"hex": "#223d9d",
"rgb": {
"r": 34,
"g": 61,
"b": 157
},
"hsl": {
"h": 226.829,
"s": 64.398,
"l": 37.451
},
"oklch": {
"l": 0.4037,
"c": 0.15937,
"h": 266.8
},
"luminance": 0.06112
}Semantic roles & 50–950 ramp
primary
#223D9D
secondary
#C1AA5A
accent
#C340E7
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090712
muted
#7B7A81