#2E4099#2E4099
#2E4099 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.2% C 0.147 H 270.1°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).
Color values
| HEX | #2E4099 |
|---|---|
| RGB | rgb(46, 64, 153) |
| HSL | hsl(230, 54%, 39%) |
| HSV | hsv(230, 70%, 60%) |
| CMYK | cmyk(69.9%, 58.2%, 0%, 40%) |
| CIE-LAB | lab(30.75, 23.89, -50.87) |
| CIE-LCH | lch(30.75, 56.20, 295.15°) |
| OKLab | oklab(41.22% 0.0002 -0.1465) |
| OKLCH | oklch(41.22% 0.147 270.1) |
| XYZ | xyz(8.7079, 6.5467, 30.9355) |
| Luminance | 0.0655 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.81
Blueberry
#464196
ΔE00 4.06
Cobalt
#0047AB
ΔE00 4.71
Cobalt (survey)
#1E488F
ΔE00 4.98
Darkslateblue
#483D8B
ΔE00 5.67
Blue Blue
#2242C7
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E4099 #99872E
analogous
#2E7699 #2E4099 #522E99
triadic
#2E4099 #992E40 #40992E
tetradic
#2E4099 #992E76 #99872E #2E9952
square
#2E4099 #992E76 #99872E #2E9952
split-complementary
#2E4099 #99522E #76992E
monochromatic
#12193B #202C6A #2E4099 #3F56C5 #6E7FD3
Accessibility & contrast
On white
9.09
#2E4099 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.31
#2E4099 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E4099
9.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E4099 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E4099 | 1.00 | 9.09 | 2.31 | 9.09 |
| #FFFFFF | 9.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004D9C
Deuteranopia (green-blind)
#004497
Tritanopia (blue-blind)
#005666
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #2e4099; /* rgb */ color: rgb(46, 64, 153); /* oklch */ color: oklch(41.2% 0.147 270.1);
Tailwind
colors: {
custom: {
50: '#7574b8',
500: '#2e4099',
950: '#000000',
},
}SCSS
$custom: #2e4099; $custom-light: #7574b8; $custom-dark: #000000;
JSON
{
"hex": "#2e4099",
"rgb": {
"r": 46,
"g": 64,
"b": 153
},
"hsl": {
"h": 229.907,
"s": 53.769,
"l": 39.02
},
"oklch": {
"l": 0.41219,
"c": 0.14653,
"h": 270.1
},
"luminance": 0.06548
}Semantic roles & 50–950 ramp
primary
#2E4099
secondary
#BBAD68
accent
#C54BDD
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090811
muted
#7B7B80