#2E459F#2E459F
#2E459F is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.7% C 0.149 H 268.5°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).
Color values
| HEX | #2E459F |
|---|---|
| RGB | rgb(46, 69, 159) |
| HSL | hsl(228, 55%, 40%) |
| HSV | hsv(228, 71%, 62%) |
| CMYK | cmyk(71.1%, 56.6%, 0%, 37.6%) |
| CIE-LAB | lab(32.57, 22.79, -51.56) |
| CIE-LCH | lch(32.57, 56.37, 293.84°) |
| OKLab | oklab(42.73% -0.0038 -0.1485) |
| OKLCH | oklch(42.73% 0.149 268.5) |
| XYZ | xyz(9.5107, 7.3393, 33.7096) |
| Luminance | 0.0734 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.47
Cobalt (survey)
#1E488F
ΔE00 4.19
Sapphire (survey)
#2138AB
ΔE00 4.56
Blueberry
#464196
ΔE00 4.83
Blue Blue
#2242C7
ΔE00 5.62
Sapphire
#0F52BA
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E459F #9F882E
analogous
#2E7D9F #2E459F #502E9F
triadic
#2E459F #9F2E45 #459F2E
tetradic
#2E459F #9F2E7D #9F882E #2E9F50
square
#2E459F #9F2E7D #9F882E #2E9F50
split-complementary
#2E459F #9F502E #7D9F2E
monochromatic
#131C40 #203070 #2E459F #425DC8 #7186D6
Accessibility & contrast
On white
8.51
#2E459F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.47
#2E459F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E459F
8.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E459F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E459F | 1.00 | 8.51 | 2.47 | 8.51 |
| #FFFFFF | 8.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0052A2
Deuteranopia (green-blind)
#00489D
Tritanopia (blue-blind)
#005B6B
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #2e459f; /* rgb */ color: rgb(46, 69, 159); /* oklch */ color: oklch(42.7% 0.149 268.5);
Tailwind
colors: {
custom: {
50: '#7678bc',
500: '#2e459f',
950: '#000000',
},
}SCSS
$custom: #2e459f; $custom-light: #7678bc; $custom-dark: #000000;
JSON
{
"hex": "#2e459f",
"rgb": {
"r": 46,
"g": 69,
"b": 159
},
"hsl": {
"h": 227.788,
"s": 55.122,
"l": 40.196
},
"oklch": {
"l": 0.42725,
"c": 0.14853,
"h": 268.5
},
"luminance": 0.0734
}Semantic roles & 50–950 ramp
primary
#2E459F
secondary
#BEAD6B
accent
#C049DE
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0812
muted
#7C7B81