#2D479F#2D479F
#2D479F is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.1% C 0.146 H 267.5°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).
Color values
| HEX | #2D479F |
|---|---|
| RGB | rgb(45, 71, 159) |
| HSL | hsl(226, 56%, 40%) |
| HSV | hsv(226, 72%, 62%) |
| CMYK | cmyk(71.7%, 55.3%, 0%, 37.6%) |
| CIE-LAB | lab(33.06, 21.30, -50.76) |
| CIE-LCH | lch(33.06, 55.05, 292.77°) |
| OKLab | oklab(43.09% -0.0065 -0.1461) |
| OKLCH | oklch(43.09% 0.146 267.5) |
| XYZ | xyz(9.5913, 7.5666, 33.7492) |
| Luminance | 0.0757 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.07
Cobalt (survey)
#1E488F
ΔE00 3.67
Sapphire (survey)
#2138AB
ΔE00 5.22
Blueberry
#464196
ΔE00 5.38
Sapphire
#0F52BA
ΔE00 5.42
Blue Blue
#2242C7
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D479F #9F852D
analogous
#2D809F #2D479F #4C2D9F
triadic
#2D479F #9F2D47 #479F2D
tetradic
#2D479F #9F2D80 #9F852D #2D9F4C
square
#2D479F #9F2D80 #9F852D #2D9F4C
split-complementary
#2D479F #9F4C2D #809F2D
monochromatic
#121C40 #20326F #2D479F #405FC9 #7087D6
Accessibility & contrast
On white
8.35
#2D479F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.51
#2D479F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D479F
8.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D479F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D479F | 1.00 | 8.35 | 2.51 | 8.35 |
| #FFFFFF | 8.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053A2
Deuteranopia (green-blind)
#00499D
Tritanopia (blue-blind)
#005C6C
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #2d479f; /* rgb */ color: rgb(45, 71, 159); /* oklch */ color: oklch(43.1% 0.146 267.5);
Tailwind
colors: {
custom: {
50: '#7579bc',
500: '#2d479f',
950: '#000000',
},
}SCSS
$custom: #2d479f; $custom-light: #7579bc; $custom-dark: #000000;
JSON
{
"hex": "#2d479f",
"rgb": {
"r": 45,
"g": 71,
"b": 159
},
"hsl": {
"h": 226.316,
"s": 55.882,
"l": 40
},
"oklch": {
"l": 0.43085,
"c": 0.14626,
"h": 267.5
},
"luminance": 0.07568
}Semantic roles & 50–950 ramp
primary
#2D479F
secondary
#BEAB6A
accent
#BD49DF
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090912
muted
#7B7B81