#2E3792#2E3792
#2E3792 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.9% C 0.148 H 273.0°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).
Color values
| HEX | #2E3792 |
|---|---|
| RGB | rgb(46, 55, 146) |
| HSL | hsl(235, 52%, 38%) |
| HSV | hsv(235, 68%, 57%) |
| CMYK | cmyk(68.5%, 62.3%, 0%, 42.7%) |
| CIE-LAB | lab(27.81, 27.31, -51.38) |
| CIE-LCH | lch(27.81, 58.19, 297.99°) |
| OKLab | oklab(38.86% 0.0078 -0.1481) |
| OKLCH | oklch(38.86% 0.148 273) |
| XYZ | xyz(7.6795, 5.3878, 27.8238) |
| Luminance | 0.0539 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.73
Blueberry
#464196
ΔE00 4.27
Darkslateblue
#483D8B
ΔE00 4.84
Cobalt
#0047AB
ΔE00 7.27
Ocean Blue
#4F42B5
ΔE00 7.31
Cobalt (survey)
#1E488F
ΔE00 7.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E3792 #92892E
analogous
#2E6992 #2E3792 #572E92
triadic
#2E3792 #922E37 #37922E
tetradic
#2E3792 #922E69 #92892E #2E9257
square
#2E3792 #922E69 #92892E #2E9257
split-complementary
#2E3792 #92572E #69922E
monochromatic
#111435 #1F2563 #2E3792 #3D49C1 #6A73D0
Accessibility & contrast
On white
10.11
#2E3792 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.08
#2E3792 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E3792
10.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E3792 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E3792 | 1.00 | 10.11 | 2.08 | 10.11 |
| #FFFFFF | 10.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004695
Deuteranopia (green-blind)
#003D90
Tritanopia (blue-blind)
#004E5F
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #2e3792; /* rgb */ color: rgb(46, 55, 146); /* oklch */ color: oklch(38.9% 0.148 273.0);
Tailwind
colors: {
custom: {
50: '#746db3',
500: '#2e3792',
950: '#000000',
},
}SCSS
$custom: #2e3792; $custom-light: #746db3; $custom-dark: #000000;
JSON
{
"hex": "#2e3792",
"rgb": {
"r": 46,
"g": 55,
"b": 146
},
"hsl": {
"h": 234.6,
"s": 52.083,
"l": 37.647
},
"oklch": {
"l": 0.38857,
"c": 0.14832,
"h": 273
},
"luminance": 0.05389
}Semantic roles & 50–950 ramp
primary
#2E3792
secondary
#B7B065
accent
#CF4CDC
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80