#223298#223298
#223298 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.8% C 0.166 H 269.4°. Best body text is #FFFFFF at 10.62:1 contrast (WCAG AA passes).
Color values
| HEX | #223298 |
|---|---|
| RGB | rgb(34, 50, 152) |
| HSL | hsl(232, 63%, 36%) |
| HSV | hsv(232, 78%, 60%) |
| CMYK | cmyk(77.6%, 67.1%, 0%, 40.4%) |
| CIE-LAB | lab(26.41, 31.32, -57.38) |
| CIE-LCH | lch(26.41, 65.37, 298.63°) |
| OKLab | oklab(37.81% -0.0018 -0.166) |
| OKLCH | oklch(37.81% 0.166 269.4) |
| XYZ | xyz(7.4658, 4.8875, 30.2496) |
| Luminance | 0.0489 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.02
Blueberry
#464196
ΔE00 5.97
Darkslateblue
#483D8B
ΔE00 6.57
Royal
#0C1793
ΔE00 6.76
Blue Blue
#2242C7
ΔE00 7.57
Cobalt
#0047AB
ΔE00 7.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#223298 #988822
analogous
#226D98 #223298 #4D2298
triadic
#223298 #982232 #329822
tetradic
#223298 #98226D #988822 #22984D
square
#223298 #98226D #988822 #22984D
split-complementary
#223298 #984D22 #6D9822
monochromatic
#0C1134 #172266 #223298 #2D42CA #5A6CDA
Accessibility & contrast
On white
10.62
#223298 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.98
#223298 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #223298
10.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##223298 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##223298 | 1.00 | 10.62 | 1.98 | 10.62 |
| #FFFFFF | 10.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00449B
Deuteranopia (green-blind)
#003996
Tritanopia (blue-blind)
#004D60
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #223298; /* rgb */ color: rgb(34, 50, 152); /* oklch */ color: oklch(37.8% 0.166 269.4);
Tailwind
colors: {
custom: {
50: '#716ab7',
500: '#223298',
950: '#000000',
},
}SCSS
$custom: #223298; $custom-light: #716ab7; $custom-dark: #000000;
JSON
{
"hex": "#223298",
"rgb": {
"r": 34,
"g": 50,
"b": 152
},
"hsl": {
"h": 231.864,
"s": 63.441,
"l": 36.471
},
"oklch": {
"l": 0.37812,
"c": 0.16603,
"h": 269.4
},
"luminance": 0.04888
}Semantic roles & 50–950 ramp
primary
#223298
secondary
#BEB057
accent
#D041E6
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80