#2D477F#2D477F
#2D477F is a dark, moderate blue. Relative luminance 0.066; OKLCH L 40.7% C 0.099 H 263.8°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).
Color values
| HEX | #2D477F |
|---|---|
| RGB | rgb(45, 71, 127) |
| HSL | hsl(221, 48%, 34%) |
| HSV | hsv(221, 65%, 50%) |
| CMYK | cmyk(64.6%, 44.1%, 0%, 50.2%) |
| CIE-LAB | lab(30.87, 9.20, -34.69) |
| CIE-LCH | lch(30.87, 35.89, 284.85°) |
| OKLab | oklab(40.71% -0.0107 -0.0989) |
| OKLCH | oklch(40.71% 0.099 263.8) |
| XYZ | xyz(7.1649, 6.5960, 20.9701) |
| Luminance | 0.0660 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.94
Darkish Blue
#014182
ΔE00 4.13
Twilight Blue
#0A437A
ΔE00 4.28
Dusk Blue
#26538D
ΔE00 5.08
Prussian Blue
#004577
ΔE00 5.61
Light Navy
#155084
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D477F #7F652D
analogous
#2D707F #2D477F #3C2D7F
triadic
#2D477F #7F2D47 #477F2D
tetradic
#2D477F #7F2D70 #7F652D #2D7F3C
square
#2D477F #7F2D70 #7F652D #2D7F3C
split-complementary
#2D477F #7F3C2D #707F2D
monochromatic
#0D1425 #1D2E52 #2D477F #3D60AC #6080C7
Accessibility & contrast
On white
9.05
#2D477F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.32
#2D477F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D477F
9.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D477F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D477F | 1.00 | 9.05 | 2.32 | 9.05 |
| #FFFFFF | 9.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E4D81
Deuteranopia (green-blind)
#21457E
Tritanopia (blue-blind)
#00545C
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #2d477f; /* rgb */ color: rgb(45, 71, 127); /* oklch */ color: oklch(40.7% 0.099 263.8);
Tailwind
colors: {
custom: {
50: '#6e79a4',
500: '#2d477f',
950: '#000000',
},
}SCSS
$custom: #2d477f; $custom-light: #6e79a4; $custom-dark: #000000;
JSON
{
"hex": "#2d477f",
"rgb": {
"r": 45,
"g": 71,
"b": 127
},
"hsl": {
"h": 220.976,
"s": 47.674,
"l": 33.725
},
"oklch": {
"l": 0.40711,
"c": 0.09944,
"h": 263.8
},
"luminance": 0.06597
}Semantic roles & 50–950 ramp
primary
#2D477F
secondary
#AD935B
accent
#AD51D7
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#08090F
muted
#7B7B7F