#223188#223188
#223188 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.1% C 0.145 H 269.9°. Best body text is #FFFFFF at 11.27:1 contrast (WCAG AA passes).
Color values
| HEX | #223188 |
|---|---|
| RGB | rgb(34, 49, 136) |
| HSL | hsl(231, 60%, 33%) |
| HSV | hsv(231, 75%, 53%) |
| CMYK | cmyk(75%, 64%, 0%, 46.7%) |
| CIE-LAB | lab(24.68, 25.92, -50.32) |
| CIE-LCH | lch(24.68, 56.61, 297.25°) |
| OKLab | oklab(36.09% -0.0003 -0.1454) |
| OKLCH | oklch(36.09% 0.145 269.9) |
| XYZ | xyz(6.2004, 4.3136, 23.7936) |
| Luminance | 0.0431 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 5.25
Darkslateblue
#483D8B
ΔE00 6.35
Blueberry
#464196
ΔE00 6.38
Midnight Blue
#191970
ΔE00 7.15
Royal
#0C1793
ΔE00 7.24
Marine
#042E60
ΔE00 7.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#223188 #887922
analogous
#226488 #223188 #462288
triadic
#223188 #882231 #318822
tetradic
#223188 #882264 #887922 #228846
square
#223188 #882264 #887922 #228846
split-complementary
#223188 #884622 #648822
monochromatic
#0A0E26 #161F57 #223188 #2E43B9 #5164D3
Accessibility & contrast
On white
11.27
#223188 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.86
#223188 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #223188
11.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##223188 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##223188 | 1.00 | 11.27 | 1.86 | 11.27 |
| #FFFFFF | 11.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F8B
Deuteranopia (green-blind)
#003686
Tritanopia (blue-blind)
#004757
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #223188; /* rgb */ color: rgb(34, 49, 136); /* oklch */ color: oklch(36.1% 0.145 269.9);
Tailwind
colors: {
custom: {
50: '#6d69ab',
500: '#223188',
950: '#000000',
},
}SCSS
$custom: #223188; $custom-light: #6d69ab; $custom-dark: #000000;
JSON
{
"hex": "#223188",
"rgb": {
"r": 34,
"g": 49,
"b": 136
},
"hsl": {
"h": 231.176,
"s": 60,
"l": 33.333
},
"oklch": {
"l": 0.36089,
"c": 0.14537,
"h": 269.9
},
"luminance": 0.04314
}Semantic roles & 50–950 ramp
primary
#223188
secondary
#B7A84F
accent
#CC45E3
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F