#2E459E#2E459E
#2E459E is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.6% C 0.147 H 268.5°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).
Color values
| HEX | #2E459E |
|---|---|
| RGB | rgb(46, 69, 158) |
| HSL | hsl(228, 55%, 40%) |
| HSV | hsv(228, 71%, 62%) |
| CMYK | cmyk(70.9%, 56.3%, 0%, 38%) |
| CIE-LAB | lab(32.49, 22.41, -51.08) |
| CIE-LCH | lch(32.49, 55.78, 293.69°) |
| OKLab | oklab(42.64% -0.0039 -0.1471) |
| OKLCH | oklch(42.64% 0.147 268.5) |
| XYZ | xyz(9.4243, 7.3048, 33.2544) |
| Luminance | 0.0731 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.50
Cobalt (survey)
#1E488F
ΔE00 4.09
Sapphire (survey)
#2138AB
ΔE00 4.65
Blueberry
#464196
ΔE00 4.82
Blue Blue
#2242C7
ΔE00 5.77
Sapphire
#0F52BA
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E459E #9E872E
analogous
#2E7D9E #2E459E #4F2E9E
triadic
#2E459E #9E2E45 #459E2E
tetradic
#2E459E #9E2E7D #9E872E #2E9E4F
square
#2E459E #9E2E7D #9E872E #2E9E4F
split-complementary
#2E459E #9E4F2E #7D9E2E
monochromatic
#121C3F #20306F #2E459E #415DC8 #7185D6
Accessibility & contrast
On white
8.53
#2E459E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.46
#2E459E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E459E
8.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E459E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E459E | 1.00 | 8.53 | 2.46 | 8.53 |
| #FFFFFF | 8.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0052A1
Deuteranopia (green-blind)
#00479C
Tritanopia (blue-blind)
#005B6A
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #2e459e; /* rgb */ color: rgb(46, 69, 158); /* oklch */ color: oklch(42.6% 0.147 268.5);
Tailwind
colors: {
custom: {
50: '#7578bb',
500: '#2e459e',
950: '#000000',
},
}SCSS
$custom: #2e459e; $custom-light: #7578bb; $custom-dark: #000000;
JSON
{
"hex": "#2e459e",
"rgb": {
"r": 46,
"g": 69,
"b": 158
},
"hsl": {
"h": 227.679,
"s": 54.902,
"l": 40
},
"oklch": {
"l": 0.42644,
"c": 0.14712,
"h": 268.5
},
"luminance": 0.07306
}Semantic roles & 50–950 ramp
primary
#2E459E
secondary
#BDAC6B
accent
#C04ADE
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090812
muted
#7B7B81