#2E4997#2E4997
#2E4997 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 42.9% C 0.132 H 266.5°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).
Color values
| HEX | #2E4997 |
|---|---|
| RGB | rgb(46, 73, 151) |
| HSL | hsl(225, 53%, 39%) |
| HSV | hsv(225, 70%, 59%) |
| CMYK | cmyk(69.5%, 51.7%, 0%, 40.8%) |
| CIE-LAB | lab(33.09, 17.08, -45.87) |
| CIE-LCH | lch(33.09, 48.95, 290.42°) |
| OKLab | oklab(42.94% -0.0081 -0.1317) |
| OKLCH | oklch(42.94% 0.132 266.5) |
| XYZ | xyz(9.0932, 7.5794, 30.2559) |
| Luminance | 0.0758 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.60
Cobalt
#0047AB
ΔE00 3.61
Dusk Blue
#26538D
ΔE00 5.06
Darkish Blue
#014182
ΔE00 5.47
Sapphire
#0F52BA
ΔE00 5.64
Blueberry
#464196
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E4997 #977C2E
analogous
#2E7D97 #2E4997 #472E97
triadic
#2E4997 #972E49 #49972E
tetradic
#2E4997 #972E7D #977C2E #2E9747
square
#2E4997 #972E7D #977C2E #2E9747
split-complementary
#2E4997 #97472E #7D972E
monochromatic
#111C39 #203268 #2E4997 #3E61C4 #6D87D2
Accessibility & contrast
On white
8.35
#2E4997 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.52
#2E4997 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E4997
8.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E4997 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E4997 | 1.00 | 8.35 | 2.52 | 8.35 |
| #FFFFFF | 8.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1B539A
Deuteranopia (green-blind)
#004995
Tritanopia (blue-blind)
#005B69
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #2e4997; /* rgb */ color: rgb(46, 73, 151); /* oklch */ color: oklch(42.9% 0.132 266.5);
Tailwind
colors: {
custom: {
50: '#747bb6',
500: '#2e4997',
950: '#000000',
},
}SCSS
$custom: #2e4997; $custom-light: #747bb6; $custom-dark: #000000;
JSON
{
"hex": "#2e4997",
"rgb": {
"r": 46,
"g": 73,
"b": 151
},
"hsl": {
"h": 224.571,
"s": 53.299,
"l": 38.627
},
"oklch": {
"l": 0.42935,
"c": 0.13193,
"h": 266.5
},
"luminance": 0.0758
}Semantic roles & 50–950 ramp
primary
#2E4997
secondary
#BAA467
accent
#B74BDD
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80