#293D8E#293D8E
#293D8E is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.4% C 0.136 H 268.8°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).
Color values
| HEX | #293D8E |
|---|---|
| RGB | rgb(41, 61, 142) |
| HSL | hsl(228, 55%, 36%) |
| HSV | hsv(228, 71%, 56%) |
| CMYK | cmyk(71.1%, 57%, 0%, 44.3%) |
| CIE-LAB | lab(28.80, 21.00, -47.32) |
| CIE-LCH | lch(28.80, 51.77, 293.94°) |
| OKLab | oklab(39.41% -0.0028 -0.1362) |
| OKLCH | oklch(39.41% 0.136 268.8) |
| XYZ | xyz(7.4640, 5.7612, 26.3046) |
| Luminance | 0.0576 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 4.82
Sapphire (survey)
#2138AB
ΔE00 4.85
Blueberry
#464196
ΔE00 4.87
Cobalt
#0047AB
ΔE00 5.62
Darkish Blue
#014182
ΔE00 5.69
Darkslateblue
#483D8B
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#293D8E #8E7A29
analogous
#296F8E #293D8E #47298E
triadic
#293D8E #8E293D #3D8E29
tetradic
#293D8E #8E296F #8E7A29 #298E47
square
#293D8E #8E296F #8E7A29 #298E47
split-complementary
#293D8E #8E4729 #6F8E29
monochromatic
#0E142F #1B295F #293D8E #3751BD #6077D1
Accessibility & contrast
On white
9.76
#293D8E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#293D8E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #293D8E
9.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##293D8E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##293D8E | 1.00 | 9.76 | 2.15 | 9.76 |
| #FFFFFF | 9.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004991
Deuteranopia (green-blind)
#003F8C
Tritanopia (blue-blind)
#00515F
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #293d8e; /* rgb */ color: rgb(41, 61, 142); /* oklch */ color: oklch(39.4% 0.136 268.8);
Tailwind
colors: {
custom: {
50: '#7072b0',
500: '#293d8e',
950: '#000000',
},
}SCSS
$custom: #293d8e; $custom-light: #7072b0; $custom-dark: #000000;
JSON
{
"hex": "#293d8e",
"rgb": {
"r": 41,
"g": 61,
"b": 142
},
"hsl": {
"h": 228.119,
"s": 55.191,
"l": 35.882
},
"oklch": {
"l": 0.39414,
"c": 0.13626,
"h": 268.8
},
"luminance": 0.05762
}Semantic roles & 50–950 ramp
primary
#293D8E
secondary
#B7A55C
accent
#C149DF
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#080710
muted
#7B7A7F