#293397#293397
#293397 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.3% C 0.162 H 271.8°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).
Color values
| HEX | #293397 |
|---|---|
| RGB | rgb(41, 51, 151) |
| HSL | hsl(235, 57%, 38%) |
| HSV | hsv(235, 73%, 59%) |
| CMYK | cmyk(72.8%, 66.2%, 0%, 40.8%) |
| CIE-LAB | lab(26.94, 31.09, -55.88) |
| CIE-LCH | lch(26.94, 63.95, 299.09°) |
| OKLab | oklab(38.27% 0.005 -0.1615) |
| OKLCH | oklch(38.27% 0.162 271.8) |
| XYZ | xyz(7.6823, 5.0727, 29.8464) |
| Luminance | 0.0507 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.11
Blueberry
#464196
ΔE00 5.31
Darkslateblue
#483D8B
ΔE00 5.87
Royal
#0C1793
ΔE00 7.02
Ocean Blue
#4F42B5
ΔE00 7.41
Blue Blue
#2242C7
ΔE00 7.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#293397 #978D29
analogous
#296A97 #293397 #562997
triadic
#293397 #972933 #339729
tetradic
#293397 #97296A #978D29 #299756
square
#293397 #97296A #978D29 #299756
split-complementary
#293397 #975629 #6A9729
monochromatic
#0F1237 #1C2367 #293397 #3643C7 #656FD5
Accessibility & contrast
On white
10.42
#293397 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.01
#293397 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #293397
10.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##293397 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##293397 | 1.00 | 10.42 | 2.01 | 10.42 |
| #FFFFFF | 10.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00459A
Deuteranopia (green-blind)
#003B95
Tritanopia (blue-blind)
#004D60
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #293397; /* rgb */ color: rgb(41, 51, 151); /* oklch */ color: oklch(38.3% 0.162 271.8);
Tailwind
colors: {
custom: {
50: '#736bb7',
500: '#293397',
950: '#000000',
},
}SCSS
$custom: #293397; $custom-light: #736bb7; $custom-dark: #000000;
JSON
{
"hex": "#293397",
"rgb": {
"r": 41,
"g": 51,
"b": 151
},
"hsl": {
"h": 234.545,
"s": 57.292,
"l": 37.647
},
"oklch": {
"l": 0.38272,
"c": 0.16156,
"h": 271.8
},
"luminance": 0.05073
}Semantic roles & 50–950 ramp
primary
#293397
secondary
#BBB361
accent
#D347E1
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80