#2D478F#2D478F
#2D478F is a dark, vivid blue. Relative luminance 0.070; OKLCH L 41.8% C 0.123 H 266.2°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).
Color values
| HEX | #2D478F |
|---|---|
| RGB | rgb(45, 71, 143) |
| HSL | hsl(224, 52%, 37%) |
| HSV | hsv(224, 69%, 56%) |
| CMYK | cmyk(68.5%, 50.3%, 0%, 43.9%) |
| CIE-LAB | lab(31.91, 15.23, -42.89) |
| CIE-LCH | lch(31.91, 45.52, 289.55°) |
| OKLab | oklab(41.85% -0.0081 -0.123) |
| OKLCH | oklch(41.85% 0.123 266.2) |
| XYZ | xyz(8.2916, 7.0467, 26.9045) |
| Luminance | 0.0705 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.29
Cobalt
#0047AB
ΔE00 4.40
Darkish Blue
#014182
ΔE00 4.73
Dusk Blue
#26538D
ΔE00 5.25
Twilight Blue
#0A437A
ΔE00 5.43
Blueberry
#464196
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D478F #8F752D
analogous
#2D788F #2D478F #442D8F
triadic
#2D478F #8F2D47 #478F2D
tetradic
#2D478F #8F2D78 #8F752D #2D8F44
square
#2D478F #8F2D78 #8F752D #2D8F44
split-complementary
#2D478F #8F442D #788F2D
monochromatic
#101932 #1E3060 #2D478F #3C5EBE #6783CF
Accessibility & contrast
On white
8.72
#2D478F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.41
#2D478F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D478F
8.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D478F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D478F | 1.00 | 8.72 | 2.41 | 8.72 |
| #FFFFFF | 8.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F5092
Deuteranopia (green-blind)
#04478E
Tritanopia (blue-blind)
#005864
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #2d478f; /* rgb */ color: rgb(45, 71, 143); /* oklch */ color: oklch(41.8% 0.123 266.2);
Tailwind
colors: {
custom: {
50: '#7279b0',
500: '#2d478f',
950: '#000000',
},
}SCSS
$custom: #2d478f; $custom-light: #7279b0; $custom-dark: #000000;
JSON
{
"hex": "#2d478f",
"rgb": {
"r": 45,
"g": 71,
"b": 143
},
"hsl": {
"h": 224.082,
"s": 52.128,
"l": 36.863
},
"oklch": {
"l": 0.41847,
"c": 0.12324,
"h": 266.2
},
"luminance": 0.07048
}Semantic roles & 50–950 ramp
primary
#2D478F
secondary
#B6A062
accent
#B64CDC
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#090910
muted
#7B7B7F