#2E4790#2E4790
#2E4790 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.0% C 0.124 H 266.8°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).
Color values
| HEX | #2E4790 |
|---|---|
| RGB | rgb(46, 71, 144) |
| HSL | hsl(225, 52%, 37%) |
| HSV | hsv(225, 68%, 56%) |
| CMYK | cmyk(68.1%, 50.7%, 0%, 43.5%) |
| CIE-LAB | lab(32.03, 15.78, -43.31) |
| CIE-LCH | lch(32.03, 46.09, 290.02°) |
| OKLab | oklab(41.98% -0.007 -0.1242) |
| OKLCH | oklch(41.98% 0.124 266.8) |
| XYZ | xyz(8.4123, 7.1001, 27.3073) |
| Luminance | 0.0710 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.49
Cobalt
#0047AB
ΔE00 4.39
Darkish Blue
#014182
ΔE00 4.95
Dusk Blue
#26538D
ΔE00 5.39
Twilight Blue
#0A437A
ΔE00 5.66
Blueberry
#464196
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E4790 #90772E
analogous
#2E7890 #2E4790 #462E90
triadic
#2E4790 #902E47 #47902E
tetradic
#2E4790 #902E78 #90772E #2E9046
square
#2E4790 #902E78 #90772E #2E9046
split-complementary
#2E4790 #90462E #78902E
monochromatic
#101933 #1F3062 #2E4790 #3D5EBE #6983CF
Accessibility & contrast
On white
8.68
#2E4790 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.42
#2E4790 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E4790
8.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E4790 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E4790 | 1.00 | 8.68 | 2.42 | 8.68 |
| #FFFFFF | 8.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F5093
Deuteranopia (green-blind)
#02478F
Tritanopia (blue-blind)
#005864
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #2e4790; /* rgb */ color: rgb(46, 71, 144); /* oklch */ color: oklch(42.0% 0.124 266.8);
Tailwind
colors: {
custom: {
50: '#7279b1',
500: '#2e4790',
950: '#000000',
},
}SCSS
$custom: #2e4790; $custom-light: #7279b1; $custom-dark: #000000;
JSON
{
"hex": "#2e4790",
"rgb": {
"r": 46,
"g": 71,
"b": 144
},
"hsl": {
"h": 224.694,
"s": 51.579,
"l": 37.255
},
"oklch": {
"l": 0.41975,
"c": 0.12437,
"h": 266.8
},
"luminance": 0.07101
}Semantic roles & 50–950 ramp
primary
#2E4790
secondary
#B6A164
accent
#B74DDB
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#090911
muted
#7B7B80