#2E4982#2E4982
#2E4982 is a dark, moderate blue. Relative luminance 0.070; OKLCH L 41.4% C 0.101 H 263.5°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).
Color values
| HEX | #2E4982 |
|---|---|
| RGB | rgb(46, 73, 130) |
| HSL | hsl(221, 48%, 35%) |
| HSV | hsv(221, 65%, 51%) |
| CMYK | cmyk(64.6%, 43.8%, 0%, 49%) |
| CIE-LAB | lab(31.71, 9.17, -35.21) |
| CIE-LCH | lch(31.71, 36.38, 284.60°) |
| OKLab | oklab(41.43% -0.0114 -0.1003) |
| OKLCH | oklch(41.43% 0.101 263.5) |
| XYZ | xyz(7.5371, 6.9570, 22.0604) |
| Luminance | 0.0696 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.61
Darkish Blue
#014182
ΔE00 4.32
Twilight Blue
#0A437A
ΔE00 4.44
Dusk Blue
#26538D
ΔE00 4.45
Light Navy
#155084
ΔE00 5.53
Prussian Blue
#004577
ΔE00 5.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E4982 #82672E
analogous
#2E7382 #2E4982 #3D2E82
triadic
#2E4982 #822E49 #49822E
tetradic
#2E4982 #822E73 #82672E #2E823D
square
#2E4982 #822E73 #82672E #2E823D
split-complementary
#2E4982 #823D2E #73822E
monochromatic
#0E1628 #1E3055 #2E4982 #3E62AF #6383C8
Accessibility & contrast
On white
8.78
#2E4982 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.39
#2E4982 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E4982
8.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E4982 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E4982 | 1.00 | 8.78 | 2.39 | 8.78 |
| #FFFFFF | 8.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F4F84
Deuteranopia (green-blind)
#234781
Tritanopia (blue-blind)
#00565F
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #2e4982; /* rgb */ color: rgb(46, 73, 130); /* oklch */ color: oklch(41.4% 0.101 263.5);
Tailwind
colors: {
custom: {
50: '#6f7ba7',
500: '#2e4982',
950: '#000000',
},
}SCSS
$custom: #2e4982; $custom-light: #6f7ba7; $custom-dark: #000000;
JSON
{
"hex": "#2e4982",
"rgb": {
"r": 46,
"g": 73,
"b": 130
},
"hsl": {
"h": 220.714,
"s": 47.727,
"l": 34.51
},
"oklch": {
"l": 0.41432,
"c": 0.10099,
"h": 263.5
},
"luminance": 0.06958
}Semantic roles & 50–950 ramp
primary
#2E4982
secondary
#AE945D
accent
#AC50D7
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08090F
muted
#7B7B7F