#2E3594#2E3594
#2E3594 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.7% C 0.154 H 273.5°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).
Color values
| HEX | #2E3594 |
|---|---|
| RGB | rgb(46, 53, 148) |
| HSL | hsl(236, 53%, 38%) |
| HSV | hsv(236, 69%, 58%) |
| CMYK | cmyk(68.9%, 64.2%, 0%, 42%) |
| CIE-LAB | lab(27.48, 29.36, -53.16) |
| CIE-LCH | lch(27.48, 60.73, 298.91°) |
| OKLab | oklab(38.66% 0.0094 -0.1533) |
| OKLCH | oklch(38.66% 0.154 273.5) |
| XYZ | xyz(7.7433, 5.2645, 28.6193) |
| Luminance | 0.0527 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.50
Blueberry
#464196
ΔE00 4.55
Darkslateblue
#483D8B
ΔE00 5.06
Ocean Blue
#4F42B5
ΔE00 7.19
Royal
#0C1793
ΔE00 7.67
Cobalt
#0047AB
ΔE00 7.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E3594 #948D2E
analogous
#2E6894 #2E3594 #5A2E94
triadic
#2E3594 #942E35 #35942E
tetradic
#2E3594 #942E68 #948D2E #2E945A
square
#2E3594 #942E68 #948D2E #2E945A
split-complementary
#2E3594 #945A2E #68942E
monochromatic
#111437 #1F2465 #2E3594 #3D46C3 #6B72D1
Accessibility & contrast
On white
10.23
#2E3594 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.05
#2E3594 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E3594
10.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E3594 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E3594 | 1.00 | 10.23 | 2.05 | 10.23 |
| #FFFFFF | 10.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004697
Deuteranopia (green-blind)
#003C92
Tritanopia (blue-blind)
#004D5F
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #2e3594; /* rgb */ color: rgb(46, 53, 148); /* oklch */ color: oklch(38.7% 0.154 273.5);
Tailwind
colors: {
custom: {
50: '#746cb4',
500: '#2e3594',
950: '#000000',
},
}SCSS
$custom: #2e3594; $custom-light: #746cb4; $custom-dark: #000000;
JSON
{
"hex": "#2e3594",
"rgb": {
"r": 46,
"g": 53,
"b": 148
},
"hsl": {
"h": 235.882,
"s": 52.577,
"l": 38.039
},
"oklch": {
"l": 0.38662,
"c": 0.15364,
"h": 273.5
},
"luminance": 0.05265
}Semantic roles & 50–950 ramp
primary
#2E3594
secondary
#B8B266
accent
#D24CDC
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090711
muted
#7B7A80