#223498#223498
#223498 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.2% C 0.164 H 269.0°. Best body text is #FFFFFF at 10.43:1 contrast (WCAG AA passes).
Color values
| HEX | #223498 |
|---|---|
| RGB | rgb(34, 52, 152) |
| HSL | hsl(231, 63%, 36%) |
| HSV | hsv(231, 78%, 60%) |
| CMYK | cmyk(77.6%, 65.8%, 0%, 40.4%) |
| CIE-LAB | lab(26.91, 30.00, -56.56) |
| CIE-LCH | lch(26.91, 64.02, 297.94°) |
| OKLab | oklab(38.18% -0.003 -0.1636) |
| OKLCH | oklch(38.18% 0.164 269) |
| XYZ | xyz(7.5532, 5.0622, 30.2787) |
| Luminance | 0.0506 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.81
Blueberry
#464196
ΔE00 5.69
Darkslateblue
#483D8B
ΔE00 6.43
Cobalt
#0047AB
ΔE00 7.05
Blue Blue
#2242C7
ΔE00 7.29
Royal
#0C1793
ΔE00 7.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#223498 #988622
analogous
#226F98 #223498 #4B2298
triadic
#223498 #982234 #349822
tetradic
#223498 #98226F #988622 #22984B
square
#223498 #98226F #988622 #22984B
split-complementary
#223498 #984B22 #6F9822
monochromatic
#0C1234 #172366 #223498 #2D45CA #5A6EDA
Accessibility & contrast
On white
10.43
#223498 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.01
#223498 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #223498
10.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##223498 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##223498 | 1.00 | 10.43 | 2.01 | 10.43 |
| #FFFFFF | 10.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00459B
Deuteranopia (green-blind)
#003A96
Tritanopia (blue-blind)
#004E61
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #223498; /* rgb */ color: rgb(34, 52, 152); /* oklch */ color: oklch(38.2% 0.164 269.0);
Tailwind
colors: {
custom: {
50: '#716bb7',
500: '#223498',
950: '#000000',
},
}SCSS
$custom: #223498; $custom-light: #716bb7; $custom-dark: #000000;
JSON
{
"hex": "#223498",
"rgb": {
"r": 34,
"g": 52,
"b": 152
},
"hsl": {
"h": 230.847,
"s": 63.441,
"l": 36.471
},
"oklch": {
"l": 0.38178,
"c": 0.16364,
"h": 269
},
"luminance": 0.05063
}Semantic roles & 50–950 ramp
primary
#223498
secondary
#BEAF57
accent
#CD41E6
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80