#2C479D#2C479D
#2C479D is a dark, vivid blue. Relative luminance 0.075; OKLCH L 42.9% C 0.144 H 267.0°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).
Color values
| HEX | #2C479D |
|---|---|
| RGB | rgb(44, 71, 157) |
| HSL | hsl(226, 56%, 39%) |
| HSV | hsv(226, 72%, 62%) |
| CMYK | cmyk(72%, 54.8%, 0%, 38.4%) |
| CIE-LAB | lab(32.87, 20.40, -49.88) |
| CIE-LCH | lch(32.87, 53.89, 292.24°) |
| OKLab | oklab(42.88% -0.0076 -0.1435) |
| OKLCH | oklch(42.88% 0.144 267) |
| XYZ | xyz(9.3756, 7.4753, 32.8405) |
| Luminance | 0.0748 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.06
Cobalt (survey)
#1E488F
ΔE00 3.33
Sapphire (survey)
#2138AB
ΔE00 5.42
Sapphire
#0F52BA
ΔE00 5.48
Blueberry
#464196
ΔE00 5.53
Darkish Blue
#014182
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C479D #9D822C
analogous
#2C809D #2C479D #4A2C9D
triadic
#2C479D #9D2C47 #479D2C
tetradic
#2C479D #9D2C80 #9D822C #2C9D4A
square
#2C479D #9D2C80 #9D822C #2C9D4A
split-complementary
#2C479D #9D4A2C #809D2C
monochromatic
#111C3D #1F316D #2C479D #3D5FC9 #6D86D6
Accessibility & contrast
On white
8.42
#2C479D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.50
#2C479D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C479D
8.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C479D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C479D | 1.00 | 8.42 | 2.50 | 8.42 |
| #FFFFFF | 8.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0453A0
Deuteranopia (green-blind)
#00489B
Tritanopia (blue-blind)
#005C6B
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #2c479d; /* rgb */ color: rgb(44, 71, 157); /* oklch */ color: oklch(42.9% 0.144 267.0);
Tailwind
colors: {
custom: {
50: '#7479bb',
500: '#2c479d',
950: '#000000',
},
}SCSS
$custom: #2c479d; $custom-light: #7479bb; $custom-dark: #000000;
JSON
{
"hex": "#2c479d",
"rgb": {
"r": 44,
"g": 71,
"b": 157
},
"hsl": {
"h": 225.664,
"s": 56.219,
"l": 39.412
},
"oklch": {
"l": 0.42875,
"c": 0.14374,
"h": 267
},
"luminance": 0.07476
}Semantic roles & 50–950 ramp
primary
#2C479D
secondary
#BDA968
accent
#BB48E0
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090912
muted
#7B7B81