#223397#223397
#223397 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.9% C 0.164 H 269.2°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).
Color values
| HEX | #223397 |
|---|---|
| RGB | rgb(34, 51, 151) |
| HSL | hsl(231, 63%, 36%) |
| HSV | hsv(231, 77%, 59%) |
| CMYK | cmyk(77.5%, 66.2%, 0%, 40.8%) |
| CIE-LAB | lab(26.57, 30.29, -56.51) |
| CIE-LCH | lch(26.57, 64.12, 298.19°) |
| OKLab | oklab(37.9% -0.0023 -0.1635) |
| OKLCH | oklch(37.9% 0.164 269.2) |
| XYZ | xyz(7.4275, 4.9413, 29.8345) |
| Luminance | 0.0494 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.03
Blueberry
#464196
ΔE00 5.82
Darkslateblue
#483D8B
ΔE00 6.46
Royal
#0C1793
ΔE00 7.09
Cobalt
#0047AB
ΔE00 7.36
Blue Blue
#2242C7
ΔE00 7.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#223397 #978622
analogous
#226E97 #223397 #4C2297
triadic
#223397 #972233 #339722
tetradic
#223397 #97226E #978622 #22974C
square
#223397 #97226E #978622 #22974C
split-complementary
#223397 #974C22 #6E9722
monochromatic
#0C1133 #172265 #223397 #2D44C9 #5A6CDA
Accessibility & contrast
On white
10.56
#223397 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.99
#223397 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #223397
10.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##223397 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##223397 | 1.00 | 10.56 | 1.99 | 10.56 |
| #FFFFFF | 10.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00449A
Deuteranopia (green-blind)
#003995
Tritanopia (blue-blind)
#004E60
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #223397; /* rgb */ color: rgb(34, 51, 151); /* oklch */ color: oklch(37.9% 0.164 269.2);
Tailwind
colors: {
custom: {
50: '#716ab7',
500: '#223397',
950: '#000000',
},
}SCSS
$custom: #223397; $custom-light: #716ab7; $custom-dark: #000000;
JSON
{
"hex": "#223397",
"rgb": {
"r": 34,
"g": 51,
"b": 151
},
"hsl": {
"h": 231.282,
"s": 63.243,
"l": 36.275
},
"oklch": {
"l": 0.37897,
"c": 0.1635,
"h": 269.2
},
"luminance": 0.04942
}Semantic roles & 50–950 ramp
primary
#223397
secondary
#BEAF57
accent
#CE42E6
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80