#2D479E#2D479E
#2D479E is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.0% C 0.145 H 267.4°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).
Color values
| HEX | #2D479E |
|---|---|
| RGB | rgb(45, 71, 158) |
| HSL | hsl(226, 56%, 40%) |
| HSV | hsv(226, 72%, 62%) |
| CMYK | cmyk(71.5%, 55.1%, 0%, 38%) |
| CIE-LAB | lab(32.99, 20.92, -50.28) |
| CIE-LCH | lch(32.99, 54.46, 292.59°) |
| OKLab | oklab(43.01% -0.0066 -0.1447) |
| OKLCH | oklch(43.01% 0.145 267.4) |
| XYZ | xyz(9.5048, 7.5320, 33.2940) |
| Luminance | 0.0753 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.12
Cobalt (survey)
#1E488F
ΔE00 3.55
Sapphire (survey)
#2138AB
ΔE00 5.30
Blueberry
#464196
ΔE00 5.39
Sapphire
#0F52BA
ΔE00 5.48
Blue Blue
#2242C7
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D479E #9E842D
analogous
#2D7F9E #2D479E #4C2D9E
triadic
#2D479E #9E2D47 #479E2D
tetradic
#2D479E #9E2D7F #9E842D #2D9E4C
square
#2D479E #9E2D7F #9E842D #2D9E4C
split-complementary
#2D479E #9E4C2D #7F9E2D
monochromatic
#121C3F #1F326E #2D479E #405FC9 #6F87D6
Accessibility & contrast
On white
8.38
#2D479E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.51
#2D479E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D479E
8.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D479E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D479E | 1.00 | 8.38 | 2.51 | 8.38 |
| #FFFFFF | 8.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0153A1
Deuteranopia (green-blind)
#00499C
Tritanopia (blue-blind)
#005C6B
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #2d479e; /* rgb */ color: rgb(45, 71, 158); /* oklch */ color: oklch(43.0% 0.145 267.4);
Tailwind
colors: {
custom: {
50: '#7579bb',
500: '#2d479e',
950: '#000000',
},
}SCSS
$custom: #2d479e; $custom-light: #7579bb; $custom-dark: #000000;
JSON
{
"hex": "#2d479e",
"rgb": {
"r": 45,
"g": 71,
"b": 158
},
"hsl": {
"h": 226.195,
"s": 55.665,
"l": 39.804
},
"oklch": {
"l": 0.43005,
"c": 0.14485,
"h": 267.4
},
"luminance": 0.07533
}Semantic roles & 50–950 ramp
primary
#2D479E
secondary
#BDAA69
accent
#BC49DF
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090912
muted
#7B7B81