#223E9F#223E9F
#223E9F is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.7% C 0.161 H 266.6°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).
Color values
| HEX | #223E9F |
|---|---|
| RGB | rgb(34, 62, 159) |
| HSL | hsl(227, 65%, 38%) |
| HSV | hsv(227, 79%, 62%) |
| CMYK | cmyk(78.6%, 61%, 0%, 37.6%) |
| CIE-LAB | lab(30.13, 25.98, -55.56) |
| CIE-LCH | lch(30.13, 61.33, 295.06°) |
| OKLab | oklab(40.75% -0.0095 -0.1606) |
| OKLCH | oklch(40.75% 0.161 266.6) |
| XYZ | xyz(8.6381, 6.2876, 33.5525) |
| Luminance | 0.0629 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.86
Cobalt
#0047AB
ΔE00 4.02
Cobalt (survey)
#1E488F
ΔE00 5.11
Blueberry
#464196
ΔE00 5.31
Blue Blue
#2242C7
ΔE00 5.58
Darkish Blue
#014182
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#223E9F #9F8322
analogous
#227C9F #223E9F #44229F
triadic
#223E9F #9F223E #3E9F22
tetradic
#223E9F #9F227C #9F8322 #229F44
square
#223E9F #9F227C #9F8322 #229F44
split-complementary
#223E9F #9F4422 #7C9F22
monochromatic
#0C173A #172A6D #223E9F #2D52D1 #5F7BDD
Accessibility & contrast
On white
9.30
#223E9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.26
#223E9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #223E9F
9.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##223E9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##223E9F | 1.00 | 9.30 | 2.26 | 9.30 |
| #FFFFFF | 9.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004DA2
Deuteranopia (green-blind)
#00419D
Tritanopia (blue-blind)
#005768
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #223e9f; /* rgb */ color: rgb(34, 62, 159); /* oklch */ color: oklch(40.7% 0.161 266.6);
Tailwind
colors: {
custom: {
50: '#7272bc',
500: '#223e9f',
950: '#000000',
},
}SCSS
$custom: #223e9f; $custom-light: #7272bc; $custom-dark: #000000;
JSON
{
"hex": "#223e9f",
"rgb": {
"r": 34,
"g": 62,
"b": 159
},
"hsl": {
"h": 226.56,
"s": 64.767,
"l": 37.843
},
"oklch": {
"l": 0.40747,
"c": 0.16085,
"h": 266.6
},
"luminance": 0.06289
}Semantic roles & 50–950 ramp
primary
#223E9F
secondary
#C1AB5B
accent
#C240E8
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090812
muted
#7B7B81