#293298#293298
#293298 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.2% C 0.164 H 271.9°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).
Color values
| HEX | #293298 |
|---|---|
| RGB | rgb(41, 50, 152) |
| HSL | hsl(235, 58%, 38%) |
| HSV | hsv(235, 73%, 60%) |
| CMYK | cmyk(73%, 67.1%, 0%, 40.4%) |
| CIE-LAB | lab(26.79, 32.11, -56.75) |
| CIE-LCH | lch(26.79, 65.20, 299.50°) |
| OKLab | oklab(38.19% 0.0056 -0.164) |
| OKLCH | oklch(38.19% 0.164 271.9) |
| XYZ | xyz(7.7206, 5.0188, 30.2615) |
| Luminance | 0.0502 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.12
Blueberry
#464196
ΔE00 5.50
Darkslateblue
#483D8B
ΔE00 6.03
Royal
#0C1793
ΔE00 6.71
Indigo Blue
#3A18B1
ΔE00 7.31
Ocean Blue
#4F42B5
ΔE00 7.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#293298 #988F29
analogous
#296998 #293298 #572998
triadic
#293298 #982932 #329829
tetradic
#293298 #982969 #988F29 #299857
square
#293298 #982969 #988F29 #299857
split-complementary
#293298 #985729 #699829
monochromatic
#0F1238 #1C2268 #293298 #3642C8 #666FD6
Accessibility & contrast
On white
10.48
#293298 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.00
#293298 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #293298
10.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##293298 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##293298 | 1.00 | 10.48 | 2.00 | 10.48 |
| #FFFFFF | 10.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00459B
Deuteranopia (green-blind)
#003A96
Tritanopia (blue-blind)
#004D60
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #293298; /* rgb */ color: rgb(41, 50, 152); /* oklch */ color: oklch(38.2% 0.164 271.9);
Tailwind
colors: {
custom: {
50: '#746ab7',
500: '#293298',
950: '#000000',
},
}SCSS
$custom: #293298; $custom-light: #746ab7; $custom-dark: #000000;
JSON
{
"hex": "#293298",
"rgb": {
"r": 41,
"g": 50,
"b": 152
},
"hsl": {
"h": 235.135,
"s": 57.513,
"l": 37.843
},
"oklch": {
"l": 0.38189,
"c": 0.1641,
"h": 271.9
},
"luminance": 0.0502
}Semantic roles & 50–950 ramp
primary
#293298
secondary
#BCB461
accent
#D447E1
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80