#2D479C#2D479C
#2D479C is a dark, vivid blue. Relative luminance 0.075; OKLCH L 42.8% C 0.142 H 267.3°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).
Color values
| HEX | #2D479C |
|---|---|
| RGB | rgb(45, 71, 156) |
| HSL | hsl(226, 55%, 39%) |
| HSV | hsv(226, 71%, 61%) |
| CMYK | cmyk(71.2%, 54.5%, 0%, 38.8%) |
| CIE-LAB | lab(32.84, 20.17, -49.31) |
| CIE-LCH | lch(32.84, 53.27, 292.24°) |
| OKLab | oklab(42.85% -0.0067 -0.1418) |
| OKLCH | oklch(42.85% 0.142 267.3) |
| XYZ | xyz(9.3341, 7.4637, 32.3948) |
| Luminance | 0.0746 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.23
Cobalt (survey)
#1E488F
ΔE00 3.33
Blueberry
#464196
ΔE00 5.42
Sapphire (survey)
#2138AB
ΔE00 5.48
Sapphire
#0F52BA
ΔE00 5.62
Darkish Blue
#014182
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D479C #9C822D
analogous
#2D7F9C #2D479C #4B2D9C
triadic
#2D479C #9C2D47 #479C2D
tetradic
#2D479C #9C2D7F #9C822D #2D9C4B
square
#2D479C #9C2D7F #9C822D #2D9C4B
split-complementary
#2D479C #9C4B2D #7F9C2D
monochromatic
#121C3D #1F316D #2D479C #3F5FC8 #6E86D5
Accessibility & contrast
On white
8.42
#2D479C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.49
#2D479C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D479C
8.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D479C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D479C | 1.00 | 8.42 | 2.49 | 8.42 |
| #FFFFFF | 8.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#07539F
Deuteranopia (green-blind)
#00489A
Tritanopia (blue-blind)
#005B6A
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #2d479c; /* rgb */ color: rgb(45, 71, 156); /* oklch */ color: oklch(42.8% 0.142 267.3);
Tailwind
colors: {
custom: {
50: '#7479ba',
500: '#2d479c',
950: '#000000',
},
}SCSS
$custom: #2d479c; $custom-light: #7479ba; $custom-dark: #000000;
JSON
{
"hex": "#2d479c",
"rgb": {
"r": 45,
"g": 71,
"b": 156
},
"hsl": {
"h": 225.946,
"s": 55.224,
"l": 39.412
},
"oklch": {
"l": 0.42846,
"c": 0.14201,
"h": 267.3
},
"luminance": 0.07465
}Semantic roles & 50–950 ramp
primary
#2D479C
secondary
#BCA968
accent
#BC49DF
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090912
muted
#7B7B81