#2E418B#2E418B
#2E418B is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.3% C 0.125 H 269.3°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).
Color values
| HEX | #2E418B |
|---|---|
| RGB | rgb(46, 65, 139) |
| HSL | hsl(228, 50%, 36%) |
| HSV | hsv(228, 67%, 55%) |
| CMYK | cmyk(66.9%, 53.2%, 0%, 45.5%) |
| CIE-LAB | lab(29.97, 17.96, -43.56) |
| CIE-LCH | lch(29.97, 47.12, 292.41°) |
| OKLab | oklab(40.3% -0.0016 -0.125) |
| OKLCH | oklch(40.3% 0.125 269.3) |
| XYZ | xyz(7.6756, 6.2248, 25.2181) |
| Luminance | 0.0623 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 4.02
Blueberry
#464196
ΔE00 4.86
Darkish Blue
#014182
ΔE00 5.36
Cobalt
#0047AB
ΔE00 5.59
Darkslateblue
#483D8B
ΔE00 5.82
Sapphire (survey)
#2138AB
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E418B #8B782E
analogous
#2E708B #2E418B #4A2E8B
triadic
#2E418B #8B2E41 #418B2E
tetradic
#2E418B #8B2E70 #8B782E #2E8B4A
square
#2E418B #8B2E70 #8B782E #2E8B4A
split-complementary
#2E418B #8B4A2E #708B2E
monochromatic
#10162F #1F2B5D #2E418B #3D57B9 #677CCD
Accessibility & contrast
On white
9.35
#2E418B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#2E418B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E418B
9.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E418B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E418B | 1.00 | 9.35 | 2.25 | 9.35 |
| #FFFFFF | 9.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#144B8E
Deuteranopia (green-blind)
#004389
Tritanopia (blue-blind)
#00525F
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #2e418b; /* rgb */ color: rgb(46, 65, 139); /* oklch */ color: oklch(40.3% 0.125 269.3);
Tailwind
colors: {
custom: {
50: '#7275ad',
500: '#2e418b',
950: '#000000',
},
}SCSS
$custom: #2e418b; $custom-light: #7275ad; $custom-dark: #000000;
JSON
{
"hex": "#2e418b",
"rgb": {
"r": 46,
"g": 65,
"b": 139
},
"hsl": {
"h": 227.742,
"s": 50.27,
"l": 36.275
},
"oklch": {
"l": 0.40299,
"c": 0.12501,
"h": 269.3
},
"luminance": 0.06226
}Semantic roles & 50–950 ramp
primary
#2E418B
secondary
#B3A361
accent
#BD4EDA
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F