#2E4186#2E4186
#2E4186 is a dark, moderate blue. Relative luminance 0.061; OKLCH L 39.9% C 0.118 H 269.0°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).
Color values
| HEX | #2E4186 |
|---|---|
| RGB | rgb(46, 65, 134) |
| HSL | hsl(227, 49%, 35%) |
| HSV | hsv(227, 66%, 53%) |
| CMYK | cmyk(65.7%, 51.5%, 0%, 47.5%) |
| CIE-LAB | lab(29.62, 16.08, -41.04) |
| CIE-LCH | lch(29.62, 44.08, 291.40°) |
| OKLab | oklab(39.92% -0.0021 -0.1176) |
| OKLCH | oklch(39.92% 0.118 269) |
| XYZ | xyz(7.3186, 6.0820, 23.3379) |
| Luminance | 0.0608 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 4.05
Darkish Blue
#014182
ΔE00 5.13
Blueberry
#464196
ΔE00 5.33
Twilight Blue
#0A437A
ΔE00 5.90
Darkslateblue
#483D8B
ΔE00 6.04
Cobalt
#0047AB
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E4186 #86732E
analogous
#2E6D86 #2E4186 #472E86
triadic
#2E4186 #862E41 #41862E
tetradic
#2E4186 #862E6D #86732E #2E8647
square
#2E4186 #862E6D #86732E #2E8647
split-complementary
#2E4186 #86472E #6D862E
monochromatic
#0F152B #1E2B58 #2E4186 #3E57B4 #647ACA
Accessibility & contrast
On white
9.47
#2E4186 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.22
#2E4186 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E4186
9.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E4186 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E4186 | 1.00 | 9.47 | 2.22 | 9.47 |
| #FFFFFF | 9.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1B4A88
Deuteranopia (green-blind)
#044285
Tritanopia (blue-blind)
#00515D
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #2e4186; /* rgb */ color: rgb(46, 65, 134); /* oklch */ color: oklch(39.9% 0.118 269.0);
Tailwind
colors: {
custom: {
50: '#7175aa',
500: '#2e4186',
950: '#000000',
},
}SCSS
$custom: #2e4186; $custom-light: #7175aa; $custom-dark: #000000;
JSON
{
"hex": "#2e4186",
"rgb": {
"r": 46,
"g": 65,
"b": 134
},
"hsl": {
"h": 227.045,
"s": 48.889,
"l": 35.294
},
"oklch": {
"l": 0.39918,
"c": 0.1176,
"h": 269
},
"luminance": 0.06083
}Semantic roles & 50–950 ramp
primary
#2E4186
secondary
#B19F5F
accent
#BB4FD8
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F