#2E3E89#2E3E89
#2E3E89 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.5% C 0.126 H 270.5°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).
Color values
| HEX | #2E3E89 |
|---|---|
| RGB | rgb(46, 62, 137) |
| HSL | hsl(229, 50%, 36%) |
| HSV | hsv(229, 66%, 54%) |
| CMYK | cmyk(66.4%, 54.7%, 0%, 46.3%) |
| CIE-LAB | lab(28.98, 19.25, -43.92) |
| CIE-LCH | lch(28.98, 47.96, 293.67°) |
| OKLab | oklab(39.51% 0.0012 -0.1261) |
| OKLCH | oklch(39.51% 0.126 270.5) |
| XYZ | xyz(7.3632, 5.8316, 24.3996) |
| Luminance | 0.0583 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 4.61
Cobalt (survey)
#1E488F
ΔE00 4.95
Darkslateblue
#483D8B
ΔE00 5.28
Sapphire (survey)
#2138AB
ΔE00 5.75
Darkish Blue
#014182
ΔE00 5.88
Cobalt
#0047AB
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E3E89 #89792E
analogous
#2E6B89 #2E3E89 #4B2E89
triadic
#2E3E89 #892E3E #3E892E
tetradic
#2E3E89 #892E6B #89792E #2E894B
square
#2E3E89 #892E6B #89792E #2E894B
split-complementary
#2E3E89 #894B2E #6B892E
monochromatic
#0F152D #1F295B #2E3E89 #3D53B7 #6678CC
Accessibility & contrast
On white
9.69
#2E3E89 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#2E3E89 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E3E89
9.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E3E89 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E3E89 | 1.00 | 9.69 | 2.17 | 9.69 |
| #FFFFFF | 9.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0C498C
Deuteranopia (green-blind)
#004087
Tritanopia (blue-blind)
#00505D
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #2e3e89; /* rgb */ color: rgb(46, 62, 137); /* oklch */ color: oklch(39.5% 0.126 270.5);
Tailwind
colors: {
custom: {
50: '#7173ac',
500: '#2e3e89',
950: '#000000',
},
}SCSS
$custom: #2e3e89; $custom-light: #7173ac; $custom-dark: #000000;
JSON
{
"hex": "#2e3e89",
"rgb": {
"r": 46,
"g": 62,
"b": 137
},
"hsl": {
"h": 229.451,
"s": 49.727,
"l": 35.882
},
"oklch": {
"l": 0.39506,
"c": 0.12612,
"h": 270.5
},
"luminance": 0.05832
}Semantic roles & 50–950 ramp
primary
#2E3E89
secondary
#B2A460
accent
#C14FD9
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080810
muted
#7B7B7F