#2E4897#2E4897
#2E4897 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.7% C 0.133 H 266.9°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).
Color values
| HEX | #2E4897 |
|---|---|
| RGB | rgb(46, 72, 151) |
| HSL | hsl(225, 53%, 39%) |
| HSV | hsv(225, 70%, 59%) |
| CMYK | cmyk(69.5%, 52.3%, 0%, 40.8%) |
| CIE-LAB | lab(32.81, 17.75, -46.33) |
| CIE-LCH | lch(32.81, 49.61, 290.97°) |
| OKLab | oklab(42.72% -0.0071 -0.133) |
| OKLCH | oklch(42.72% 0.133 266.9) |
| XYZ | xyz(9.0281, 7.4491, 30.2342) |
| Luminance | 0.0745 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.76
Cobalt
#0047AB
ΔE00 3.64
Dusk Blue
#26538D
ΔE00 5.40
Darkish Blue
#014182
ΔE00 5.49
Blueberry
#464196
ΔE00 5.69
Sapphire
#0F52BA
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E4897 #977D2E
analogous
#2E7C97 #2E4897 #482E97
triadic
#2E4897 #972E48 #48972E
tetradic
#2E4897 #972E7C #977D2E #2E9748
square
#2E4897 #972E7C #977D2E #2E9748
split-complementary
#2E4897 #97482E #7C972E
monochromatic
#111B39 #203268 #2E4897 #3E5FC4 #6D86D2
Accessibility & contrast
On white
8.43
#2E4897 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.49
#2E4897 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E4897
8.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E4897 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E4897 | 1.00 | 8.43 | 2.49 | 8.43 |
| #FFFFFF | 8.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#18529A
Deuteranopia (green-blind)
#004995
Tritanopia (blue-blind)
#005B68
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #2e4897; /* rgb */ color: rgb(46, 72, 151); /* oklch */ color: oklch(42.7% 0.133 266.9);
Tailwind
colors: {
custom: {
50: '#747ab6',
500: '#2e4897',
950: '#000000',
},
}SCSS
$custom: #2e4897; $custom-light: #747ab6; $custom-dark: #000000;
JSON
{
"hex": "#2e4897",
"rgb": {
"r": 46,
"g": 72,
"b": 151
},
"hsl": {
"h": 225.143,
"s": 53.299,
"l": 38.627
},
"oklch": {
"l": 0.4272,
"c": 0.13323,
"h": 266.9
},
"luminance": 0.0745
}Semantic roles & 50–950 ramp
primary
#2E4897
secondary
#BAA567
accent
#B94BDD
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80