#2E4095#2E4095
#2E4095 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.9% C 0.141 H 270.0°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).
Color values
| HEX | #2E4095 |
|---|---|
| RGB | rgb(46, 64, 149) |
| HSL | hsl(230, 53%, 38%) |
| HSV | hsv(230, 69%, 58%) |
| CMYK | cmyk(69.1%, 57%, 0%, 41.6%) |
| CIE-LAB | lab(30.44, 22.39, -48.94) |
| CIE-LCH | lch(30.44, 53.82, 294.58°) |
| OKLab | oklab(40.89% 0 -0.1408) |
| OKLCH | oklch(40.89% 0.141 270) |
| XYZ | xyz(8.3831, 6.4168, 29.2247) |
| Luminance | 0.0642 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 4.13
Sapphire (survey)
#2138AB
ΔE00 4.33
Cobalt (survey)
#1E488F
ΔE00 4.71
Cobalt
#0047AB
ΔE00 4.93
Darkslateblue
#483D8B
ΔE00 5.56
Darkish Blue
#014182
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E4095 #95832E
analogous
#2E7395 #2E4095 #4F2E95
triadic
#2E4095 #952E40 #40952E
tetradic
#2E4095 #952E73 #95832E #2E954F
square
#2E4095 #952E73 #95832E #2E954F
split-complementary
#2E4095 #954F2E #73952E
monochromatic
#111837 #202C66 #2E4095 #3D54C3 #6C7ED2
Accessibility & contrast
On white
9.20
#2E4095 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.28
#2E4095 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E4095
9.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E4095 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E4095 | 1.00 | 9.20 | 2.28 | 9.20 |
| #FFFFFF | 9.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004D98
Deuteranopia (green-blind)
#004393
Tritanopia (blue-blind)
#005564
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #2e4095; /* rgb */ color: rgb(46, 64, 149); /* oklch */ color: oklch(40.9% 0.141 270.0);
Tailwind
colors: {
custom: {
50: '#7474b5',
500: '#2e4095',
950: '#000000',
},
}SCSS
$custom: #2e4095; $custom-light: #7474b5; $custom-dark: #000000;
JSON
{
"hex": "#2e4095",
"rgb": {
"r": 46,
"g": 64,
"b": 149
},
"hsl": {
"h": 229.515,
"s": 52.821,
"l": 38.235
},
"oklch": {
"l": 0.40888,
"c": 0.14085,
"h": 270
},
"luminance": 0.06418
}Semantic roles & 50–950 ramp
primary
#2E4095
secondary
#B9AA66
accent
#C34CDC
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80