#2E4873#2E4873
#2E4873 is a dark, moderate blue. Relative luminance 0.065; OKLCH L 40.2% C 0.080 H 260.0°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).
Color values
| HEX | #2E4873 |
|---|---|
| RGB | rgb(46, 72, 115) |
| HSL | hsl(217, 43%, 32%) |
| HSV | hsv(217, 60%, 45%) |
| CMYK | cmyk(60%, 37.4%, 0%, 54.9%) |
| CIE-LAB | lab(30.53, 4.31, -27.72) |
| CIE-LCH | lch(30.53, 28.06, 278.84°) |
| OKLab | oklab(40.23% -0.0138 -0.0784) |
| OKLCH | oklch(40.23% 0.08 260) |
| XYZ | xyz(6.5375, 6.4528, 17.1173) |
| Luminance | 0.0645 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight Blue
#0A437A
ΔE00 4.18
Cobalt (survey)
#1E488F
ΔE00 4.34
Darkish Blue
#014182
ΔE00 4.70
Prussian Blue
#004577
ΔE00 5.06
Dusk Blue
#26538D
ΔE00 5.31
Light Navy
#155084
ΔE00 5.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E4873 #73592E
analogous
#2E6B73 #2E4873 #372E73
triadic
#2E4873 #732E48 #48732E
tetradic
#2E4873 #732E6B #73592E #2E7337
square
#2E4873 #732E6B #73592E #2E7337
split-complementary
#2E4873 #73372E #6B732E
monochromatic
#0B111C #1D2D47 #2E4873 #3F639F #5D82BE
Accessibility & contrast
On white
9.17
#2E4873 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#2E4873 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E4873
9.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E4873 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E4873 | 1.00 | 9.17 | 2.29 | 9.17 |
| #FFFFFF | 9.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#364B75
Deuteranopia (green-blind)
#2D4572
Tritanopia (blue-blind)
#005258
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #2e4873; /* rgb */ color: rgb(46, 72, 115); /* oklch */ color: oklch(40.2% 0.080 260.0);
Tailwind
colors: {
custom: {
50: '#6d7a9b',
500: '#2e4873',
950: '#000000',
},
}SCSS
$custom: #2e4873; $custom-light: #6d7a9b; $custom-dark: #000000;
JSON
{
"hex": "#2e4873",
"rgb": {
"r": 46,
"g": 72,
"b": 115
},
"hsl": {
"h": 217.391,
"s": 42.857,
"l": 31.569
},
"oklch": {
"l": 0.40232,
"c": 0.07964,
"h": 260
},
"luminance": 0.06453
}Semantic roles & 50–950 ramp
primary
#2E4873
secondary
#A48858
accent
#A355D3
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07090E
muted
#7A7B7E