#293371#293371
#293371 is a dark, moderate blue. Relative luminance 0.040; OKLCH L 34.9% C 0.107 H 272.7°. Best body text is #FFFFFF at 11.63:1 contrast (WCAG AA passes).
Color values
| HEX | #293371 |
|---|---|
| RGB | rgb(41, 51, 113) |
| HSL | hsl(232, 47%, 30%) |
| HSV | hsv(232, 64%, 44%) |
| CMYK | cmyk(63.7%, 54.9%, 0%, 55.7%) |
| CIE-LAB | lab(23.77, 16.88, -37.25) |
| CIE-LCH | lch(23.77, 40.90, 294.38°) |
| OKLab | oklab(34.93% 0.0051 -0.1067) |
| OKLCH | oklch(34.93% 0.107 272.7) |
| XYZ | xyz(5.0779, 4.0309, 16.1300) |
| Luminance | 0.0403 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 5.60
Darkslateblue
#483D8B
ΔE00 6.75
Marine Blue
#01386A
ΔE00 6.93
Navy Blue
#1B2A4A
ΔE00 7.49
Blueberry
#464196
ΔE00 7.65
Darkish Blue
#014182
ΔE00 7.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#293371 #716729
analogous
#295771 #293371 #432971
triadic
#293371 #712933 #337129
tetradic
#293371 #712957 #716729 #297143
square
#293371 #712957 #716729 #297143
split-complementary
#293371 #714329 #577129
monochromatic
#080A17 #191F44 #293371 #39479E #5463C1
Accessibility & contrast
On white
11.63
#293371 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.81
#293371 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #293371
11.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##293371 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##293371 | 1.00 | 11.63 | 1.81 | 11.63 |
| #FFFFFF | 11.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0E3C73
Deuteranopia (green-blind)
#003670
Tritanopia (blue-blind)
#00414C
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #293371; /* rgb */ color: rgb(41, 51, 113); /* oklch */ color: oklch(34.9% 0.107 272.7);
Tailwind
colors: {
custom: {
50: '#6b6a9a',
500: '#293371',
950: '#000000',
},
}SCSS
$custom: #293371; $custom-light: #6b6a9a; $custom-dark: #000000;
JSON
{
"hex": "#293371",
"rgb": {
"r": 41,
"g": 51,
"b": 113
},
"hsl": {
"h": 231.667,
"s": 46.753,
"l": 30.196
},
"oklch": {
"l": 0.34933,
"c": 0.10687,
"h": 272.7
},
"luminance": 0.04031
}Semantic roles & 50–950 ramp
primary
#293371
secondary
#A39853
accent
#C451D6
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E