#2E477E#2E477E
#2E477E is a dark, moderate blue. Relative luminance 0.066; OKLCH L 40.7% C 0.098 H 264.1°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).
Color values
| HEX | #2E477E |
|---|---|
| RGB | rgb(46, 71, 126) |
| HSL | hsl(221, 47%, 34%) |
| HSV | hsv(221, 63%, 49%) |
| CMYK | cmyk(63.5%, 43.7%, 0%, 50.6%) |
| CIE-LAB | lab(30.86, 9.02, -34.08) |
| CIE-LCH | lch(30.86, 35.25, 284.83°) |
| OKLab | oklab(40.7% -0.01 -0.097) |
| OKLCH | oklch(40.7% 0.098 264.1) |
| XYZ | xyz(7.1445, 6.5931, 20.6307) |
| Luminance | 0.0659 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.18
Darkish Blue
#014182
ΔE00 4.32
Twilight Blue
#0A437A
ΔE00 4.43
Dusk Blue
#26538D
ΔE00 5.21
Prussian Blue
#004577
ΔE00 5.75
Light Navy
#155084
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E477E #7E652E
analogous
#2E6F7E #2E477E #3D2E7E
triadic
#2E477E #7E2E47 #477E2E
tetradic
#2E477E #7E2E6F #7E652E #2E7E3D
square
#2E477E #7E2E6F #7E652E #2E7E3D
split-complementary
#2E477E #7E3D2E #6F7E2E
monochromatic
#0D1424 #1E2E51 #2E477E #3E60AB #6180C5
Accessibility & contrast
On white
9.06
#2E477E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.32
#2E477E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E477E
9.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E477E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E477E | 1.00 | 9.06 | 2.32 | 9.06 |
| #FFFFFF | 9.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E4D80
Deuteranopia (green-blind)
#23457D
Tritanopia (blue-blind)
#00535C
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #2e477e; /* rgb */ color: rgb(46, 71, 126); /* oklch */ color: oklch(40.7% 0.098 264.1);
Tailwind
colors: {
custom: {
50: '#6f79a4',
500: '#2e477e',
950: '#000000',
},
}SCSS
$custom: #2e477e; $custom-light: #6f79a4; $custom-dark: #000000;
JSON
{
"hex": "#2e477e",
"rgb": {
"r": 46,
"g": 71,
"b": 126
},
"hsl": {
"h": 221.25,
"s": 46.512,
"l": 33.725
},
"oklch": {
"l": 0.407,
"c": 0.09754,
"h": 264.1
},
"luminance": 0.06594
}Semantic roles & 50–950 ramp
primary
#2E477E
secondary
#AC935C
accent
#AD52D6
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08090F
muted
#7B7B7F