#2D4D7E#2D4D7E
#2D4D7E is a dark, moderate blue. Relative luminance 0.074; OKLCH L 42.1% C 0.090 H 258.7°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).
Color values
| HEX | #2D4D7E |
|---|---|
| RGB | rgb(45, 77, 126) |
| HSL | hsl(216, 47%, 34%) |
| HSV | hsv(216, 64%, 49%) |
| CMYK | cmyk(64.3%, 38.9%, 0%, 50.6%) |
| CIE-LAB | lab(32.64, 4.82, -31.26) |
| CIE-LCH | lch(32.64, 31.63, 278.77°) |
| OKLab | oklab(42.06% -0.0178 -0.0887) |
| OKLCH | oklch(42.06% 0.09 258.7) |
| XYZ | xyz(7.5006, 7.3713, 20.7621) |
| Luminance | 0.0737 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 3.06
Cobalt (survey)
#1E488F
ΔE00 3.13
Light Navy
#155084
ΔE00 3.88
Twilight Blue
#0A437A
ΔE00 4.18
Darkish Blue
#014182
ΔE00 4.60
Prussian Blue
#004577
ΔE00 4.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D4D7E #7E5E2D
analogous
#2D757E #2D4D7E #352D7E
triadic
#2D4D7E #7E2D4D #4D7E2D
tetradic
#2D4D7E #7E2D75 #7E5E2D #2D7E35
square
#2D4D7E #7E2D75 #7E5E2D #2D7E35
split-complementary
#2D4D7E #7E352D #757E2D
monochromatic
#0D1624 #1D3151 #2D4D7E #3D69AB #5F88C6
Accessibility & contrast
On white
8.49
#2D4D7E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.47
#2D4D7E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D4D7E
8.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D4D7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D4D7E | 1.00 | 8.49 | 2.47 | 8.49 |
| #FFFFFF | 8.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#385180
Deuteranopia (green-blind)
#2D497D
Tritanopia (blue-blind)
#00585F
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #2d4d7e; /* rgb */ color: rgb(45, 77, 126); /* oklch */ color: oklch(42.1% 0.090 258.7);
Tailwind
colors: {
custom: {
50: '#6e7ea3',
500: '#2d4d7e',
950: '#000000',
},
}SCSS
$custom: #2d4d7e; $custom-light: #6e7ea3; $custom-dark: #000000;
JSON
{
"hex": "#2d4d7e",
"rgb": {
"r": 45,
"g": 77,
"b": 126
},
"hsl": {
"h": 216.296,
"s": 47.368,
"l": 33.529
},
"oklch": {
"l": 0.42061,
"c": 0.09049,
"h": 258.7
},
"luminance": 0.07372
}Semantic roles & 50–950 ramp
primary
#2D4D7E
secondary
#AC8C5A
accent
#A251D7
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#08090F
muted
#7B7B7F