#2C479C#2C479C
#2C479C is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.8% C 0.142 H 266.9°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).
Color values
| HEX | #2C479C |
|---|---|
| RGB | rgb(44, 71, 156) |
| HSL | hsl(226, 56%, 39%) |
| HSV | hsv(226, 72%, 61%) |
| CMYK | cmyk(71.8%, 54.5%, 0%, 38.8%) |
| CIE-LAB | lab(32.79, 20.02, -49.39) |
| CIE-LCH | lch(32.79, 53.29, 292.06°) |
| OKLab | oklab(42.8% -0.0076 -0.1421) |
| OKLCH | oklch(42.8% 0.142 266.9) |
| XYZ | xyz(9.2906, 7.4413, 32.3927) |
| Luminance | 0.0744 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.12
Cobalt (survey)
#1E488F
ΔE00 3.21
Sapphire (survey)
#2138AB
ΔE00 5.51
Blueberry
#464196
ΔE00 5.55
Sapphire
#0F52BA
ΔE00 5.55
Darkish Blue
#014182
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C479C #9C812C
analogous
#2C7F9C #2C479C #492C9C
triadic
#2C479C #9C2C47 #479C2C
tetradic
#2C479C #9C2C7F #9C812C #2C9C49
square
#2C479C #9C2C7F #9C812C #2C9C49
split-complementary
#2C479C #9C492C #7F9C2C
monochromatic
#111C3D #1F316C #2C479C #3D5FC8 #6D86D6
Accessibility & contrast
On white
8.44
#2C479C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.49
#2C479C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C479C
8.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C479C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C479C | 1.00 | 8.44 | 2.49 | 8.44 |
| #FFFFFF | 8.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#07529F
Deuteranopia (green-blind)
#00489A
Tritanopia (blue-blind)
#005B6A
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #2c479c; /* rgb */ color: rgb(44, 71, 156); /* oklch */ color: oklch(42.8% 0.142 266.9);
Tailwind
colors: {
custom: {
50: '#7479ba',
500: '#2c479c',
950: '#000000',
},
}SCSS
$custom: #2c479c; $custom-light: #7479ba; $custom-dark: #000000;
JSON
{
"hex": "#2c479c",
"rgb": {
"r": 44,
"g": 71,
"b": 156
},
"hsl": {
"h": 225.536,
"s": 56,
"l": 39.216
},
"oklch": {
"l": 0.42795,
"c": 0.14232,
"h": 266.9
},
"luminance": 0.07442
}Semantic roles & 50–950 ramp
primary
#2C479C
secondary
#BDA867
accent
#BB49DF
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090912
muted
#7B7B81