#293398#293398
#293398 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.4% C 0.163 H 271.7°. Best body text is #FFFFFF at 10.39:1 contrast (WCAG AA passes).
Color values
| HEX | #293398 |
|---|---|
| RGB | rgb(41, 51, 152) |
| HSL | hsl(235, 58%, 38%) |
| HSV | hsv(235, 73%, 60%) |
| CMYK | cmyk(73%, 66.4%, 0%, 40.4%) |
| CIE-LAB | lab(27.03, 31.46, -56.35) |
| CIE-LCH | lch(27.03, 64.53, 299.18°) |
| OKLab | oklab(38.37% 0.0049 -0.1628) |
| OKLCH | oklch(38.37% 0.163 271.7) |
| XYZ | xyz(7.7639, 5.1053, 30.2759) |
| Luminance | 0.0511 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.98
Blueberry
#464196
ΔE00 5.33
Darkslateblue
#483D8B
ΔE00 5.93
Royal
#0C1793
ΔE00 7.00
Ocean Blue
#4F42B5
ΔE00 7.32
Blue Blue
#2242C7
ΔE00 7.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#293398 #988E29
analogous
#296A98 #293398 #572998
triadic
#293398 #982933 #339829
tetradic
#293398 #98296A #988E29 #299857
square
#293398 #98296A #988E29 #299857
split-complementary
#293398 #985729 #6A9829
monochromatic
#0F1338 #1C2368 #293398 #3643C8 #6670D6
Accessibility & contrast
On white
10.39
#293398 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.02
#293398 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #293398
10.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##293398 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##293398 | 1.00 | 10.39 | 2.02 | 10.39 |
| #FFFFFF | 10.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00459B
Deuteranopia (green-blind)
#003B96
Tritanopia (blue-blind)
#004E61
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #293398; /* rgb */ color: rgb(41, 51, 152); /* oklch */ color: oklch(38.4% 0.163 271.7);
Tailwind
colors: {
custom: {
50: '#736bb7',
500: '#293398',
950: '#000000',
},
}SCSS
$custom: #293398; $custom-light: #736bb7; $custom-dark: #000000;
JSON
{
"hex": "#293398",
"rgb": {
"r": 41,
"g": 51,
"b": 152
},
"hsl": {
"h": 234.595,
"s": 57.513,
"l": 37.843
},
"oklch": {
"l": 0.38367,
"c": 0.16291,
"h": 271.7
},
"luminance": 0.05106
}Semantic roles & 50–950 ramp
primary
#293398
secondary
#BCB461
accent
#D347E1
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80