#293E98#293E98
#293E98 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.5% C 0.149 H 268.8°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).
Color values
| HEX | #293E98 |
|---|---|
| RGB | rgb(41, 62, 152) |
| HSL | hsl(229, 58%, 38%) |
| HSV | hsv(229, 73%, 60%) |
| CMYK | cmyk(73%, 59.2%, 0%, 40.4%) |
| CIE-LAB | lab(29.87, 24.14, -51.71) |
| CIE-LCH | lch(29.87, 57.07, 295.02°) |
| OKLab | oklab(40.46% -0.0032 -0.1491) |
| OKLCH | oklch(40.46% 0.149 268.8) |
| XYZ | xyz(8.3026, 6.1828, 30.4555) |
| Luminance | 0.0618 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.55
Blueberry
#464196
ΔE00 4.57
Cobalt
#0047AB
ΔE00 4.75
Cobalt (survey)
#1E488F
ΔE00 5.03
Darkslateblue
#483D8B
ΔE00 6.00
Darkish Blue
#014182
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#293E98 #988329
analogous
#297598 #293E98 #4C2998
triadic
#293E98 #98293E #3E9829
tetradic
#293E98 #982975 #988329 #29984C
square
#293E98 #982975 #988329 #29984C
split-complementary
#293E98 #984C29 #759829
monochromatic
#0F1738 #1C2A68 #293E98 #3652C8 #667BD6
Accessibility & contrast
On white
9.39
#293E98 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#293E98 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #293E98
9.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##293E98 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##293E98 | 1.00 | 9.39 | 2.24 | 9.39 |
| #FFFFFF | 9.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004C9B
Deuteranopia (green-blind)
#004196
Tritanopia (blue-blind)
#005465
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #293e98; /* rgb */ color: rgb(41, 62, 152); /* oklch */ color: oklch(40.5% 0.149 268.8);
Tailwind
colors: {
custom: {
50: '#7373b7',
500: '#293e98',
950: '#000000',
},
}SCSS
$custom: #293e98; $custom-light: #7373b7; $custom-dark: #000000;
JSON
{
"hex": "#293e98",
"rgb": {
"r": 41,
"g": 62,
"b": 152
},
"hsl": {
"h": 228.649,
"s": 57.513,
"l": 37.843
},
"oklch": {
"l": 0.40463,
"c": 0.14918,
"h": 268.8
},
"luminance": 0.06184
}Semantic roles & 50–950 ramp
primary
#293E98
secondary
#BCAB61
accent
#C447E1
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090811
muted
#7B7B80