#2D478C#2D478C
#2D478C is a dark, moderate blue. Relative luminance 0.070; OKLCH L 41.6% C 0.119 H 265.9°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).
Color values
| HEX | #2D478C |
|---|---|
| RGB | rgb(45, 71, 140) |
| HSL | hsl(224, 51%, 36%) |
| HSV | hsv(224, 68%, 55%) |
| CMYK | cmyk(67.9%, 49.3%, 0%, 45.1%) |
| CIE-LAB | lab(31.71, 14.09, -41.38) |
| CIE-LCH | lch(31.71, 43.72, 288.81°) |
| OKLab | oklab(41.63% -0.0085 -0.1185) |
| OKLCH | oklch(41.63% 0.119 265.9) |
| XYZ | xyz(8.0674, 6.9570, 25.7236) |
| Luminance | 0.0696 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.23
Darkish Blue
#014182
ΔE00 4.53
Cobalt
#0047AB
ΔE00 4.74
Dusk Blue
#26538D
ΔE00 5.15
Twilight Blue
#0A437A
ΔE00 5.16
Blueberry
#464196
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D478C #8C722D
analogous
#2D778C #2D478C #432D8C
triadic
#2D478C #8C2D47 #478C2D
tetradic
#2D478C #8C2D77 #8C722D #2D8C43
square
#2D478C #8C2D77 #8C722D #2D8C43
split-complementary
#2D478C #8C432D #778C2D
monochromatic
#0F182F #1E305E #2D478C #3C5EBA #6682CE
Accessibility & contrast
On white
8.78
#2D478C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.39
#2D478C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D478C
8.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D478C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D478C | 1.00 | 8.78 | 2.39 | 8.78 |
| #FFFFFF | 8.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#234F8F
Deuteranopia (green-blind)
#0D478B
Tritanopia (blue-blind)
#005762
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #2d478c; /* rgb */ color: rgb(45, 71, 140); /* oklch */ color: oklch(41.6% 0.119 265.9);
Tailwind
colors: {
custom: {
50: '#7179ae',
500: '#2d478c',
950: '#000000',
},
}SCSS
$custom: #2d478c; $custom-light: #7179ae; $custom-dark: #000000;
JSON
{
"hex": "#2d478c",
"rgb": {
"r": 45,
"g": 71,
"b": 140
},
"hsl": {
"h": 223.579,
"s": 51.351,
"l": 36.275
},
"oklch": {
"l": 0.41626,
"c": 0.11882,
"h": 265.9
},
"luminance": 0.06958
}Semantic roles & 50–950 ramp
primary
#2D478C
secondary
#B49D60
accent
#B44DDB
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F