#223E9B#223E9B
#223E9B is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.4% C 0.155 H 266.5°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).
Color values
| HEX | #223E9B |
|---|---|
| RGB | rgb(34, 62, 155) |
| HSL | hsl(226, 64%, 37%) |
| HSV | hsv(226, 78%, 61%) |
| CMYK | cmyk(78.1%, 60%, 0%, 39.2%) |
| CIE-LAB | lab(29.79, 24.43, -53.68) |
| CIE-LCH | lch(29.79, 58.98, 294.47°) |
| OKLab | oklab(40.39% -0.0096 -0.1551) |
| OKLCH | oklch(40.39% 0.155 266.5) |
| XYZ | xyz(8.2966, 6.1510, 31.7540) |
| Luminance | 0.0615 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.37
Cobalt
#0047AB
ΔE00 4.11
Cobalt (survey)
#1E488F
ΔE00 4.75
Blueberry
#464196
ΔE00 5.33
Darkish Blue
#014182
ΔE00 5.97
Blue Blue
#2242C7
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#223E9B #9B7F22
analogous
#227A9B #223E9B #43229B
triadic
#223E9B #9B223E #3E9B22
tetradic
#223E9B #9B227A #9B7F22 #229B43
square
#223E9B #9B227A #9B7F22 #229B43
split-complementary
#223E9B #9B4322 #7A9B22
monochromatic
#0C1637 #172A69 #223E9B #2D52CD #5C7ADB
Accessibility & contrast
On white
9.42
#223E9B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.23
#223E9B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #223E9B
9.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##223E9B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##223E9B | 1.00 | 9.42 | 2.23 | 9.42 |
| #FFFFFF | 9.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004C9E
Deuteranopia (green-blind)
#004199
Tritanopia (blue-blind)
#005666
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #223e9b; /* rgb */ color: rgb(34, 62, 155); /* oklch */ color: oklch(40.4% 0.155 266.5);
Tailwind
colors: {
custom: {
50: '#7172b9',
500: '#223e9b',
950: '#000000',
},
}SCSS
$custom: #223e9b; $custom-light: #7172b9; $custom-dark: #000000;
JSON
{
"hex": "#223e9b",
"rgb": {
"r": 34,
"g": 62,
"b": 155
},
"hsl": {
"h": 226.116,
"s": 64.021,
"l": 37.059
},
"oklch": {
"l": 0.40391,
"c": 0.15536,
"h": 266.5
},
"luminance": 0.06152
}Semantic roles & 50–950 ramp
primary
#223E9B
secondary
#C0A859
accent
#C141E7
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090812
muted
#7B7B81