#2D487F#2D487F
#2D487F is a dark, moderate blue. Relative luminance 0.067; OKLCH L 40.9% C 0.098 H 263.0°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).
Color values
| HEX | #2D487F |
|---|---|
| RGB | rgb(45, 72, 127) |
| HSL | hsl(220, 48%, 34%) |
| HSV | hsv(220, 65%, 50%) |
| CMYK | cmyk(64.6%, 43.3%, 0%, 50.2%) |
| CIE-LAB | lab(31.17, 8.52, -34.21) |
| CIE-LCH | lch(31.17, 35.25, 283.99°) |
| OKLab | oklab(40.94% -0.0119 -0.0974) |
| OKLCH | oklch(40.94% 0.098 263) |
| XYZ | xyz(7.2290, 6.7243, 20.9915) |
| Luminance | 0.0673 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.83
Darkish Blue
#014182
ΔE00 4.13
Twilight Blue
#0A437A
ΔE00 4.18
Dusk Blue
#26538D
ΔE00 4.72
Prussian Blue
#004577
ΔE00 5.43
Light Navy
#155084
ΔE00 5.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D487F #7F642D
analogous
#2D717F #2D487F #3B2D7F
triadic
#2D487F #7F2D48 #487F2D
tetradic
#2D487F #7F2D71 #7F642D #2D7F3B
square
#2D487F #7F2D71 #7F642D #2D7F3B
split-complementary
#2D487F #7F3B2D #717F2D
monochromatic
#0D1525 #1D2E52 #2D487F #3D62AC #6082C7
Accessibility & contrast
On white
8.96
#2D487F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.35
#2D487F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D487F
8.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D487F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D487F | 1.00 | 8.96 | 2.35 | 8.96 |
| #FFFFFF | 8.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F4D81
Deuteranopia (green-blind)
#23467E
Tritanopia (blue-blind)
#00545D
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #2d487f; /* rgb */ color: rgb(45, 72, 127); /* oklch */ color: oklch(40.9% 0.098 263.0);
Tailwind
colors: {
custom: {
50: '#6e7aa4',
500: '#2d487f',
950: '#000000',
},
}SCSS
$custom: #2d487f; $custom-light: #6e7aa4; $custom-dark: #000000;
JSON
{
"hex": "#2d487f",
"rgb": {
"r": 45,
"g": 72,
"b": 127
},
"hsl": {
"h": 220.244,
"s": 47.674,
"l": 33.725
},
"oklch": {
"l": 0.40944,
"c": 0.09815,
"h": 263
},
"luminance": 0.06725
}Semantic roles & 50–950 ramp
primary
#2D487F
secondary
#AD925B
accent
#AB51D7
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#08090F
muted
#7B7B7F