#2E3E98#2E3E98
#2E3E98 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.7% C 0.148 H 270.7°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).
Color values
| HEX | #2E3E98 |
|---|---|
| RGB | rgb(46, 62, 152) |
| HSL | hsl(231, 54%, 39%) |
| HSV | hsv(231, 70%, 60%) |
| CMYK | cmyk(69.7%, 59.2%, 0%, 40.4%) |
| CIE-LAB | lab(30.14, 24.85, -51.26) |
| CIE-LCH | lch(30.14, 56.97, 295.87°) |
| OKLab | oklab(40.74% 0.0019 -0.1477) |
| OKLCH | oklch(40.74% 0.148 270.7) |
| XYZ | xyz(8.5149, 6.2923, 30.4655) |
| Luminance | 0.0629 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.51
Blueberry
#464196
ΔE00 3.92
Cobalt
#0047AB
ΔE00 5.23
Darkslateblue
#483D8B
ΔE00 5.38
Cobalt (survey)
#1E488F
ΔE00 5.51
Blue Blue
#2242C7
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E3E98 #98882E
analogous
#2E7398 #2E3E98 #532E98
triadic
#2E3E98 #982E3E #3E982E
tetradic
#2E3E98 #982E73 #98882E #2E9853
square
#2E3E98 #982E73 #98882E #2E9853
split-complementary
#2E3E98 #98532E #73982E
monochromatic
#12183A #202B69 #2E3E98 #3E53C5 #6D7DD3
Accessibility & contrast
On white
9.30
#2E3E98 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.26
#2E3E98 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E3E98
9.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E3E98 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E3E98 | 1.00 | 9.30 | 2.26 | 9.30 |
| #FFFFFF | 9.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004C9B
Deuteranopia (green-blind)
#004296
Tritanopia (blue-blind)
#005465
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #2e3e98; /* rgb */ color: rgb(46, 62, 152); /* oklch */ color: oklch(40.7% 0.148 270.7);
Tailwind
colors: {
custom: {
50: '#7573b7',
500: '#2e3e98',
950: '#000000',
},
}SCSS
$custom: #2e3e98; $custom-light: #7573b7; $custom-dark: #000000;
JSON
{
"hex": "#2e3e98",
"rgb": {
"r": 46,
"g": 62,
"b": 152
},
"hsl": {
"h": 230.943,
"s": 53.535,
"l": 38.824
},
"oklch": {
"l": 0.40736,
"c": 0.14771,
"h": 270.7
},
"luminance": 0.06293
}Semantic roles & 50–950 ramp
primary
#2E3E98
secondary
#BAAE68
accent
#C74BDD
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090811
muted
#7B7B80