#2D478D#2D478D
#2D478D is a dark, vivid blue. Relative luminance 0.070; OKLCH L 41.7% C 0.120 H 266.0°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).
Color values
| HEX | #2D478D |
|---|---|
| RGB | rgb(45, 71, 141) |
| HSL | hsl(224, 52%, 36%) |
| HSV | hsv(224, 68%, 55%) |
| CMYK | cmyk(68.1%, 49.6%, 0%, 44.7%) |
| CIE-LAB | lab(31.78, 14.47, -41.89) |
| CIE-LCH | lch(31.78, 44.32, 289.06°) |
| OKLab | oklab(41.7% -0.0083 -0.12) |
| OKLCH | oklch(41.7% 0.12 266) |
| XYZ | xyz(8.1415, 6.9867, 26.1136) |
| Luminance | 0.0699 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.24
Darkish Blue
#014182
ΔE00 4.60
Cobalt
#0047AB
ΔE00 4.63
Dusk Blue
#26538D
ΔE00 5.18
Twilight Blue
#0A437A
ΔE00 5.25
Blueberry
#464196
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D478D #8D732D
analogous
#2D778D #2D478D #432D8D
triadic
#2D478D #8D2D47 #478D2D
tetradic
#2D478D #8D2D77 #8D732D #2D8D43
square
#2D478D #8D2D77 #8D732D #2D8D43
split-complementary
#2D478D #8D432D #778D2D
monochromatic
#0F1830 #1E305F #2D478D #3C5EBB #6682CE
Accessibility & contrast
On white
8.76
#2D478D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.40
#2D478D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D478D
8.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D478D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D478D | 1.00 | 8.76 | 2.40 | 8.76 |
| #FFFFFF | 8.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#224F90
Deuteranopia (green-blind)
#0A478C
Tritanopia (blue-blind)
#005763
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #2d478d; /* rgb */ color: rgb(45, 71, 141); /* oklch */ color: oklch(41.7% 0.120 266.0);
Tailwind
colors: {
custom: {
50: '#7179af',
500: '#2d478d',
950: '#000000',
},
}SCSS
$custom: #2d478d; $custom-light: #7179af; $custom-dark: #000000;
JSON
{
"hex": "#2d478d",
"rgb": {
"r": 45,
"g": 71,
"b": 141
},
"hsl": {
"h": 223.75,
"s": 51.613,
"l": 36.471
},
"oklch": {
"l": 0.41699,
"c": 0.1203,
"h": 266
},
"luminance": 0.06987
}Semantic roles & 50–950 ramp
primary
#2D478D
secondary
#B59E61
accent
#B54DDB
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F