#2D4C7D#2D4C7D
#2D4C7D is a dark, moderate blue. Relative luminance 0.072; OKLCH L 41.8% C 0.090 H 259.2°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).
Color values
| HEX | #2D4C7D |
|---|---|
| RGB | rgb(45, 76, 125) |
| HSL | hsl(217, 47%, 33%) |
| HSV | hsv(217, 64%, 49%) |
| CMYK | cmyk(64%, 39.2%, 0%, 51%) |
| CIE-LAB | lab(32.27, 5.11, -31.21) |
| CIE-LCH | lch(32.27, 31.63, 279.30°) |
| OKLab | oklab(41.76% -0.0169 -0.0886) |
| OKLCH | oklch(41.76% 0.09 259.2) |
| XYZ | xyz(7.3670, 7.2068, 20.4009) |
| Luminance | 0.0721 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.11
Dusk Blue
#26538D
ΔE00 3.41
Twilight Blue
#0A437A
ΔE00 4.06
Light Navy
#155084
ΔE00 4.17
Darkish Blue
#014182
ΔE00 4.46
Prussian Blue
#004577
ΔE00 4.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D4C7D #7D5E2D
analogous
#2D747D #2D4C7D #362D7D
triadic
#2D4C7D #7D2D4C #4C7D2D
tetradic
#2D4C7D #7D2D74 #7D5E2D #2D7D36
square
#2D4C7D #7D2D74 #7D5E2D #2D7D36
split-complementary
#2D4C7D #7D362D #747D2D
monochromatic
#0D1523 #1D3150 #2D4C7D #3D67AA #5F87C5
Accessibility & contrast
On white
8.60
#2D4C7D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.44
#2D4C7D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D4C7D
8.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D4C7D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D4C7D | 1.00 | 8.60 | 2.44 | 8.60 |
| #FFFFFF | 8.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#37507F
Deuteranopia (green-blind)
#2C487C
Tritanopia (blue-blind)
#00575E
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #2d4c7d; /* rgb */ color: rgb(45, 76, 125); /* oklch */ color: oklch(41.8% 0.090 259.2);
Tailwind
colors: {
custom: {
50: '#6e7da3',
500: '#2d4c7d',
950: '#000000',
},
}SCSS
$custom: #2d4c7d; $custom-light: #6e7da3; $custom-dark: #000000;
JSON
{
"hex": "#2d4c7d",
"rgb": {
"r": 45,
"g": 76,
"b": 125
},
"hsl": {
"h": 216.75,
"s": 47.059,
"l": 33.333
},
"oklch": {
"l": 0.41759,
"c": 0.09021,
"h": 259.2
},
"luminance": 0.07207
}Semantic roles & 50–950 ramp
primary
#2D4C7D
secondary
#AC8C5A
accent
#A351D7
background
#F6F7FA
surface
#ECEEF3
border
#C7C9CD
text
#08090F
muted
#7B7B7F