#2E4094#2E4094
#2E4094 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.8% C 0.139 H 270.0°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).
Color values
| HEX | #2E4094 |
|---|---|
| RGB | rgb(46, 64, 148) |
| HSL | hsl(229, 53%, 38%) |
| HSV | hsv(229, 69%, 58%) |
| CMYK | cmyk(68.9%, 56.8%, 0%, 42%) |
| CIE-LAB | lab(30.36, 22.02, -48.45) |
| CIE-LCH | lch(30.36, 53.22, 294.44°) |
| OKLab | oklab(40.81% 0 -0.1394) |
| OKLCH | oklch(40.81% 0.139 270) |
| XYZ | xyz(8.3036, 6.3850, 28.8061) |
| Luminance | 0.0639 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 4.16
Sapphire (survey)
#2138AB
ΔE00 4.47
Cobalt (survey)
#1E488F
ΔE00 4.65
Cobalt
#0047AB
ΔE00 5.00
Darkslateblue
#483D8B
ΔE00 5.54
Darkish Blue
#014182
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E4094 #94822E
analogous
#2E7394 #2E4094 #4F2E94
triadic
#2E4094 #942E40 #40942E
tetradic
#2E4094 #942E73 #94822E #2E944F
square
#2E4094 #942E73 #94822E #2E944F
split-complementary
#2E4094 #944F2E #73942E
monochromatic
#111837 #1F2C65 #2E4094 #3D54C3 #6B7DD1
Accessibility & contrast
On white
9.22
#2E4094 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.28
#2E4094 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E4094
9.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E4094 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E4094 | 1.00 | 9.22 | 2.28 | 9.22 |
| #FFFFFF | 9.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004C97
Deuteranopia (green-blind)
#004392
Tritanopia (blue-blind)
#005463
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #2e4094; /* rgb */ color: rgb(46, 64, 148); /* oklch */ color: oklch(40.8% 0.139 270.0);
Tailwind
colors: {
custom: {
50: '#7474b4',
500: '#2e4094',
950: '#000000',
},
}SCSS
$custom: #2e4094; $custom-light: #7474b4; $custom-dark: #000000;
JSON
{
"hex": "#2e4094",
"rgb": {
"r": 46,
"g": 64,
"b": 148
},
"hsl": {
"h": 229.412,
"s": 52.577,
"l": 38.039
},
"oklch": {
"l": 0.40806,
"c": 0.13942,
"h": 270
},
"luminance": 0.06386
}Semantic roles & 50–950 ramp
primary
#2E4094
secondary
#B8AA66
accent
#C34CDC
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80