#2E3894#2E3894
#2E3894 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.2% C 0.150 H 272.6°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).
Color values
| HEX | #2E3894 |
|---|---|
| RGB | rgb(46, 56, 148) |
| HSL | hsl(234, 53%, 38%) |
| HSV | hsv(234, 69%, 58%) |
| CMYK | cmyk(68.9%, 62.2%, 0%, 42%) |
| CIE-LAB | lab(28.24, 27.38, -51.91) |
| CIE-LCH | lch(28.24, 58.69, 297.81°) |
| OKLab | oklab(39.22% 0.0069 -0.1497) |
| OKLCH | oklch(39.22% 0.15 272.6) |
| XYZ | xyz(7.8844, 5.5466, 28.6663) |
| Luminance | 0.0555 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.44
Blueberry
#464196
ΔE00 4.14
Darkslateblue
#483D8B
ΔE00 4.91
Cobalt
#0047AB
ΔE00 6.92
Ocean Blue
#4F42B5
ΔE00 7.05
Cobalt (survey)
#1E488F
ΔE00 7.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E3894 #948A2E
analogous
#2E6B94 #2E3894 #572E94
triadic
#2E3894 #942E38 #38942E
tetradic
#2E3894 #942E6B #948A2E #2E9457
square
#2E3894 #942E6B #948A2E #2E9457
split-complementary
#2E3894 #94572E #6B942E
monochromatic
#111537 #1F2665 #2E3894 #3D4AC3 #6B75D1
Accessibility & contrast
On white
9.96
#2E3894 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#2E3894 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E3894
9.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E3894 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E3894 | 1.00 | 9.96 | 2.11 | 9.96 |
| #FFFFFF | 9.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004797
Deuteranopia (green-blind)
#003E92
Tritanopia (blue-blind)
#004F60
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #2e3894; /* rgb */ color: rgb(46, 56, 148); /* oklch */ color: oklch(39.2% 0.150 272.6);
Tailwind
colors: {
custom: {
50: '#746eb4',
500: '#2e3894',
950: '#000000',
},
}SCSS
$custom: #2e3894; $custom-light: #746eb4; $custom-dark: #000000;
JSON
{
"hex": "#2e3894",
"rgb": {
"r": 46,
"g": 56,
"b": 148
},
"hsl": {
"h": 234.118,
"s": 52.577,
"l": 38.039
},
"oklch": {
"l": 0.39224,
"c": 0.14983,
"h": 272.6
},
"luminance": 0.05547
}Semantic roles & 50–950 ramp
primary
#2E3894
secondary
#B8B066
accent
#CE4CDC
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80