#2E459D#2E459D
#2E459D is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.6% C 0.146 H 268.4°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).
Color values
| HEX | #2E459D |
|---|---|
| RGB | rgb(46, 69, 157) |
| HSL | hsl(228, 55%, 40%) |
| HSV | hsv(228, 71%, 62%) |
| CMYK | cmyk(70.7%, 56.1%, 0%, 38.4%) |
| CIE-LAB | lab(32.41, 22.03, -50.60) |
| CIE-LCH | lch(32.41, 55.19, 293.53°) |
| OKLab | oklab(42.56% -0.004 -0.1457) |
| OKLCH | oklch(42.56% 0.146 268.4) |
| XYZ | xyz(9.3385, 7.2705, 32.8029) |
| Luminance | 0.0727 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.55
Cobalt (survey)
#1E488F
ΔE00 3.98
Sapphire (survey)
#2138AB
ΔE00 4.74
Blueberry
#464196
ΔE00 4.83
Blue Blue
#2242C7
ΔE00 5.92
Sapphire
#0F52BA
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E459D #9D862E
analogous
#2E7C9D #2E459D #4F2E9D
triadic
#2E459D #9D2E45 #459D2E
tetradic
#2E459D #9D2E7C #9D862E #2E9D4F
square
#2E459D #9D2E7C #9D862E #2E9D4F
split-complementary
#2E459D #9D4F2E #7C9D2E
monochromatic
#121B3E #20306E #2E459D #415DC7 #7085D5
Accessibility & contrast
On white
8.56
#2E459D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.45
#2E459D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E459D
8.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E459D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E459D | 1.00 | 8.56 | 2.45 | 8.56 |
| #FFFFFF | 8.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0052A0
Deuteranopia (green-blind)
#00479B
Tritanopia (blue-blind)
#005A6A
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #2e459d; /* rgb */ color: rgb(46, 69, 157); /* oklch */ color: oklch(42.6% 0.146 268.4);
Tailwind
colors: {
custom: {
50: '#7578bb',
500: '#2e459d',
950: '#000000',
},
}SCSS
$custom: #2e459d; $custom-light: #7578bb; $custom-dark: #000000;
JSON
{
"hex": "#2e459d",
"rgb": {
"r": 46,
"g": 69,
"b": 157
},
"hsl": {
"h": 227.568,
"s": 54.68,
"l": 39.804
},
"oklch": {
"l": 0.42563,
"c": 0.14571,
"h": 268.4
},
"luminance": 0.07271
}Semantic roles & 50–950 ramp
primary
#2E459D
secondary
#BDAC6A
accent
#BF4ADE
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090812
muted
#7B7B81