#293399#293399
#293399 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.5% C 0.164 H 271.7°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).
Color values
| HEX | #293399 |
|---|---|
| RGB | rgb(41, 51, 153) |
| HSL | hsl(235, 58%, 38%) |
| HSV | hsv(235, 73%, 60%) |
| CMYK | cmyk(73.2%, 66.7%, 0%, 40%) |
| CIE-LAB | lab(27.12, 31.83, -56.81) |
| CIE-LCH | lch(27.12, 65.11, 299.26°) |
| OKLab | oklab(38.46% 0.0048 -0.1642) |
| OKLCH | oklch(38.46% 0.164 271.7) |
| XYZ | xyz(7.8461, 5.1382, 30.7091) |
| Luminance | 0.0514 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.87
Blueberry
#464196
ΔE00 5.35
Darkslateblue
#483D8B
ΔE00 5.98
Royal
#0C1793
ΔE00 6.99
Ocean Blue
#4F42B5
ΔE00 7.23
Blue Blue
#2242C7
ΔE00 7.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#293399 #998F29
analogous
#296B99 #293399 #572999
triadic
#293399 #992933 #339929
tetradic
#293399 #99296B #998F29 #299957
square
#293399 #99296B #998F29 #299957
split-complementary
#293399 #995729 #6B9929
monochromatic
#0F1338 #1C2369 #293399 #3643C9 #6670D6
Accessibility & contrast
On white
10.36
#293399 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#293399 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #293399
10.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##293399 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##293399 | 1.00 | 10.36 | 2.03 | 10.36 |
| #FFFFFF | 10.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00459C
Deuteranopia (green-blind)
#003B97
Tritanopia (blue-blind)
#004E61
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #293399; /* rgb */ color: rgb(41, 51, 153); /* oklch */ color: oklch(38.5% 0.164 271.7);
Tailwind
colors: {
custom: {
50: '#746bb8',
500: '#293399',
950: '#000000',
},
}SCSS
$custom: #293399; $custom-light: #746bb8; $custom-dark: #000000;
JSON
{
"hex": "#293399",
"rgb": {
"r": 41,
"g": 51,
"b": 153
},
"hsl": {
"h": 234.643,
"s": 57.732,
"l": 38.039
},
"oklch": {
"l": 0.38463,
"c": 0.16425,
"h": 271.7
},
"luminance": 0.05139
}Semantic roles & 50–950 ramp
primary
#293399
secondary
#BCB462
accent
#D347E1
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80