#293D8F#293D8F
#293D8F is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.5% C 0.138 H 268.9°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).
Color values
| HEX | #293D8F |
|---|---|
| RGB | rgb(41, 61, 143) |
| HSL | hsl(228, 55%, 36%) |
| HSV | hsv(228, 71%, 56%) |
| CMYK | cmyk(71.3%, 57.3%, 0%, 43.9%) |
| CIE-LAB | lab(28.88, 21.39, -47.81) |
| CIE-LCH | lch(28.88, 52.37, 294.10°) |
| OKLab | oklab(39.5% -0.0027 -0.1377) |
| OKLCH | oklch(39.5% 0.138 268.9) |
| XYZ | xyz(7.5394, 5.7913, 26.7018) |
| Luminance | 0.0579 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.69
Blueberry
#464196
ΔE00 4.81
Cobalt (survey)
#1E488F
ΔE00 4.85
Cobalt
#0047AB
ΔE00 5.54
Darkish Blue
#014182
ΔE00 5.77
Darkslateblue
#483D8B
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#293D8F #8F7B29
analogous
#29708F #293D8F #48298F
triadic
#293D8F #8F293D #3D8F29
tetradic
#293D8F #8F2970 #8F7B29 #298F48
square
#293D8F #8F2970 #8F7B29 #298F48
split-complementary
#293D8F #8F4829 #708F29
monochromatic
#0E1430 #1B295F #293D8F #3751BF #6177D2
Accessibility & contrast
On white
9.73
#293D8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#293D8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #293D8F
9.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##293D8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##293D8F | 1.00 | 9.73 | 2.16 | 9.73 |
| #FFFFFF | 9.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004992
Deuteranopia (green-blind)
#00408D
Tritanopia (blue-blind)
#005160
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #293d8f; /* rgb */ color: rgb(41, 61, 143); /* oklch */ color: oklch(39.5% 0.138 268.9);
Tailwind
colors: {
custom: {
50: '#7172b0',
500: '#293d8f',
950: '#000000',
},
}SCSS
$custom: #293d8f; $custom-light: #7172b0; $custom-dark: #000000;
JSON
{
"hex": "#293d8f",
"rgb": {
"r": 41,
"g": 61,
"b": 143
},
"hsl": {
"h": 228.235,
"s": 55.435,
"l": 36.078
},
"oklch": {
"l": 0.39497,
"c": 0.1377,
"h": 268.9
},
"luminance": 0.05792
}Semantic roles & 50–950 ramp
primary
#293D8F
secondary
#B7A65C
accent
#C149DF
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#080711
muted
#7B7A80