#2C519D#2C519D
#2C519D is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.0% C 0.131 H 262.8°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).
Color values
| HEX | #2C519D |
|---|---|
| RGB | rgb(44, 81, 157) |
| HSL | hsl(220, 56%, 39%) |
| HSV | hsv(220, 72%, 62%) |
| CMYK | cmyk(72%, 48.4%, 0%, 38.4%) |
| CIE-LAB | lab(35.70, 13.70, -45.30) |
| CIE-LCH | lch(35.70, 47.33, 286.83°) |
| OKLab | oklab(45.03% -0.0165 -0.1299) |
| OKLCH | oklch(45.03% 0.131 262.8) |
| XYZ | xyz(10.0648, 8.8536, 33.0702) |
| Luminance | 0.0886 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 3.05
Cobalt (survey)
#1E488F
ΔE00 3.38
Sapphire
#0F52BA
ΔE00 3.74
Denim Blue
#3B5B92
ΔE00 3.79
Cobalt
#0047AB
ΔE00 3.96
Light Navy Blue
#2E5A88
ΔE00 4.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C519D #9D782C
analogous
#2C8A9D #2C519D #402C9D
triadic
#2C519D #9D2C51 #519D2C
tetradic
#2C519D #9D2C8A #9D782C #2C9D40
square
#2C519D #9D2C8A #9D782C #2C9D40
split-complementary
#2C519D #9D402C #8A9D2C
monochromatic
#11203D #1F386D #2C519D #3D6BC9 #6D90D6
Accessibility & contrast
On white
7.58
#2C519D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.77
#2C519D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C519D
7.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C519D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C519D | 1.00 | 7.58 | 2.77 | 7.58 |
| #FFFFFF | 7.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2859A0
Deuteranopia (green-blind)
#0B4F9B
Tritanopia (blue-blind)
#00636F
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #2c519d; /* rgb */ color: rgb(44, 81, 157); /* oklch */ color: oklch(45.0% 0.131 262.8);
Tailwind
colors: {
custom: {
50: '#7481ba',
500: '#2c519d',
950: '#000000',
},
}SCSS
$custom: #2c519d; $custom-light: #7481ba; $custom-dark: #000000;
JSON
{
"hex": "#2c519d",
"rgb": {
"r": 44,
"g": 81,
"b": 157
},
"hsl": {
"h": 220.354,
"s": 56.219,
"l": 39.412
},
"oklch": {
"l": 0.45031,
"c": 0.13094,
"h": 262.8
},
"luminance": 0.08855
}Semantic roles & 50–950 ramp
primary
#2C519D
secondary
#BDA168
accent
#AE48E0
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A12
muted
#7B7C81