#293F97#293F97
#293F97 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.6% C 0.146 H 268.4°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).
Color values
| HEX | #293F97 |
|---|---|
| RGB | rgb(41, 63, 151) |
| HSL | hsl(228, 57%, 38%) |
| HSV | hsv(228, 73%, 59%) |
| CMYK | cmyk(72.8%, 58.3%, 0%, 40.8%) |
| CIE-LAB | lab(30.06, 23.08, -50.79) |
| CIE-LCH | lch(30.06, 55.79, 294.44°) |
| OKLab | oklab(40.58% -0.0041 -0.1464) |
| OKLCH | oklch(40.58% 0.146 268.4) |
| XYZ | xyz(8.2759, 6.2599, 30.0443) |
| Luminance | 0.0626 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.91
Cobalt
#0047AB
ΔE00 4.56
Cobalt (survey)
#1E488F
ΔE00 4.64
Blueberry
#464196
ΔE00 4.67
Darkish Blue
#014182
ΔE00 6.03
Darkslateblue
#483D8B
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#293F97 #978129
analogous
#297697 #293F97 #4A2997
triadic
#293F97 #97293F #3F9729
tetradic
#293F97 #972976 #978129 #29974A
square
#293F97 #972976 #978129 #29974A
split-complementary
#293F97 #974A29 #769729
monochromatic
#0F1737 #1C2B67 #293F97 #3653C7 #657CD5
Accessibility & contrast
On white
9.32
#293F97 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#293F97 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #293F97
9.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##293F97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##293F97 | 1.00 | 9.32 | 2.25 | 9.32 |
| #FFFFFF | 9.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004C9A
Deuteranopia (green-blind)
#004295
Tritanopia (blue-blind)
#005564
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #293f97; /* rgb */ color: rgb(41, 63, 151); /* oklch */ color: oklch(40.6% 0.146 268.4);
Tailwind
colors: {
custom: {
50: '#7273b6',
500: '#293f97',
950: '#000000',
},
}SCSS
$custom: #293f97; $custom-light: #7273b6; $custom-dark: #000000;
JSON
{
"hex": "#293f97",
"rgb": {
"r": 41,
"g": 63,
"b": 151
},
"hsl": {
"h": 228,
"s": 57.292,
"l": 37.647
},
"oklch": {
"l": 0.40579,
"c": 0.14648,
"h": 268.4
},
"luminance": 0.06261
}Semantic roles & 50–950 ramp
primary
#293F97
secondary
#BBA961
accent
#C247E1
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090811
muted
#7B7B80