#2E4395#2E4395
#2E4395 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.5% C 0.137 H 268.9°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).
Color values
| HEX | #2E4395 |
|---|---|
| RGB | rgb(46, 67, 149) |
| HSL | hsl(228, 53%, 38%) |
| HSV | hsv(228, 69%, 58%) |
| CMYK | cmyk(69.1%, 55%, 0%, 41.6%) |
| CIE-LAB | lab(31.26, 20.37, -47.61) |
| CIE-LCH | lch(31.26, 51.78, 293.16°) |
| OKLab | oklab(41.51% -0.0027 -0.1369) |
| OKLCH | oklch(41.51% 0.137 268.9) |
| XYZ | xyz(8.5568, 6.7643, 29.2826) |
| Luminance | 0.0677 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.82
Cobalt
#0047AB
ΔE00 4.36
Blueberry
#464196
ΔE00 4.60
Sapphire (survey)
#2138AB
ΔE00 5.05
Darkish Blue
#014182
ΔE00 5.77
Darkslateblue
#483D8B
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E4395 #95802E
analogous
#2E7695 #2E4395 #4C2E95
triadic
#2E4395 #952E43 #43952E
tetradic
#2E4395 #952E76 #95802E #2E954C
square
#2E4395 #952E76 #95802E #2E954C
split-complementary
#2E4395 #954C2E #76952E
monochromatic
#111937 #202E66 #2E4395 #3D58C3 #6C81D2
Accessibility & contrast
On white
8.92
#2E4395 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.35
#2E4395 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E4395
8.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E4395 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E4395 | 1.00 | 8.92 | 2.35 | 8.92 |
| #FFFFFF | 8.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#054E98
Deuteranopia (green-blind)
#004593
Tritanopia (blue-blind)
#005765
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #2e4395; /* rgb */ color: rgb(46, 67, 149); /* oklch */ color: oklch(41.5% 0.137 268.9);
Tailwind
colors: {
custom: {
50: '#7476b5',
500: '#2e4395',
950: '#000000',
},
}SCSS
$custom: #2e4395; $custom-light: #7476b5; $custom-dark: #000000;
JSON
{
"hex": "#2e4395",
"rgb": {
"r": 46,
"g": 67,
"b": 149
},
"hsl": {
"h": 227.767,
"s": 52.821,
"l": 38.235
},
"oklch": {
"l": 0.41507,
"c": 0.13691,
"h": 268.9
},
"luminance": 0.06765
}Semantic roles & 50–950 ramp
primary
#2E4395
secondary
#B9A866
accent
#BF4CDC
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80