#223C9E#223C9E
#223C9E is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.3% C 0.162 H 267.1°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).
Color values
| HEX | #223C9E |
|---|---|
| RGB | rgb(34, 60, 158) |
| HSL | hsl(227, 65%, 38%) |
| HSV | hsv(227, 78%, 62%) |
| CMYK | cmyk(78.5%, 62%, 0%, 38%) |
| CIE-LAB | lab(29.51, 26.94, -55.96) |
| CIE-LCH | lch(29.51, 62.10, 295.71°) |
| OKLab | oklab(40.26% -0.0082 -0.1618) |
| OKLCH | oklch(40.26% 0.162 267.1) |
| XYZ | xyz(8.4449, 6.0395, 33.0618) |
| Luminance | 0.0604 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.49
Cobalt
#0047AB
ΔE00 4.61
Blueberry
#464196
ΔE00 5.24
Cobalt (survey)
#1E488F
ΔE00 5.64
Blue Blue
#2242C7
ΔE00 5.78
Darkslateblue
#483D8B
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#223C9E #9E8422
analogous
#227A9E #223C9E #46229E
triadic
#223C9E #9E223C #3C9E22
tetradic
#223C9E #9E227A #9E8422 #229E46
square
#223C9E #9E227A #9E8422 #229E46
split-complementary
#223C9E #9E4622 #7A9E22
monochromatic
#0C1639 #17296C #223C9E #2D4FD0 #5E79DC
Accessibility & contrast
On white
9.51
#223C9E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.21
#223C9E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #223C9E
9.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##223C9E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##223C9E | 1.00 | 9.51 | 2.21 | 9.51 |
| #FFFFFF | 9.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004BA1
Deuteranopia (green-blind)
#00409C
Tritanopia (blue-blind)
#005567
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #223c9e; /* rgb */ color: rgb(34, 60, 158); /* oklch */ color: oklch(40.3% 0.162 267.1);
Tailwind
colors: {
custom: {
50: '#7271bc',
500: '#223c9e',
950: '#000000',
},
}SCSS
$custom: #223c9e; $custom-light: #7271bc; $custom-dark: #000000;
JSON
{
"hex": "#223c9e",
"rgb": {
"r": 34,
"g": 60,
"b": 158
},
"hsl": {
"h": 227.419,
"s": 64.583,
"l": 37.647
},
"oklch": {
"l": 0.40263,
"c": 0.16198,
"h": 267.1
},
"luminance": 0.0604
}Semantic roles & 50–950 ramp
primary
#223C9E
secondary
#C1AC5B
accent
#C440E8
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090712
muted
#7B7A81