#2E418E#2E418E
#2E418E is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.5% C 0.129 H 269.4°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).
Color values
| HEX | #2E418E |
|---|---|
| RGB | rgb(46, 65, 142) |
| HSL | hsl(228, 51%, 37%) |
| HSV | hsv(228, 68%, 56%) |
| CMYK | cmyk(67.6%, 54.2%, 0%, 44.3%) |
| CIE-LAB | lab(30.19, 19.09, -45.06) |
| CIE-LCH | lch(30.19, 48.93, 292.96°) |
| OKLab | oklab(40.53% -0.0013 -0.1294) |
| OKLCH | oklch(40.53% 0.129 269.4) |
| XYZ | xyz(7.8978, 6.3137, 26.3884) |
| Luminance | 0.0631 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 4.08
Blueberry
#464196
ΔE00 4.62
Cobalt
#0047AB
ΔE00 5.30
Sapphire (survey)
#2138AB
ΔE00 5.53
Darkish Blue
#014182
ΔE00 5.55
Darkslateblue
#483D8B
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E418E #8E7B2E
analogous
#2E718E #2E418E #4B2E8E
triadic
#2E418E #8E2E41 #418E2E
tetradic
#2E418E #8E2E71 #8E7B2E #2E8E4B
square
#2E418E #8E2E71 #8E7B2E #2E8E4B
split-complementary
#2E418E #8E4B2E #718E2E
monochromatic
#101732 #1F2C60 #2E418E #3D56BC #687CCE
Accessibility & contrast
On white
9.28
#2E418E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.26
#2E418E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E418E
9.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E418E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E418E | 1.00 | 9.28 | 2.26 | 9.28 |
| #FFFFFF | 9.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0E4C91
Deuteranopia (green-blind)
#00438C
Tritanopia (blue-blind)
#005361
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #2e418e; /* rgb */ color: rgb(46, 65, 142); /* oklch */ color: oklch(40.5% 0.129 269.4);
Tailwind
colors: {
custom: {
50: '#7275b0',
500: '#2e418e',
950: '#000000',
},
}SCSS
$custom: #2e418e; $custom-light: #7275b0; $custom-dark: #000000;
JSON
{
"hex": "#2e418e",
"rgb": {
"r": 46,
"g": 65,
"b": 142
},
"hsl": {
"h": 228.125,
"s": 51.064,
"l": 36.863
},
"oklch": {
"l": 0.40533,
"c": 0.12941,
"h": 269.4
},
"luminance": 0.06314
}Semantic roles & 50–950 ramp
primary
#2E418E
secondary
#B5A563
accent
#BF4DDB
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#090810
muted
#7B7B7F