#2C519F#2C519F
#2C519F is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.2% C 0.134 H 263.0°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).
Color values
| HEX | #2C519F |
|---|---|
| RGB | rgb(44, 81, 159) |
| HSL | hsl(221, 57%, 40%) |
| HSV | hsv(221, 72%, 62%) |
| CMYK | cmyk(72.3%, 49.1%, 0%, 37.6%) |
| CIE-LAB | lab(35.83, 14.47, -46.29) |
| CIE-LCH | lch(35.83, 48.49, 287.36°) |
| OKLab | oklab(45.18% -0.0162 -0.1328) |
| OKLCH | oklch(45.18% 0.134 263) |
| XYZ | xyz(10.2369, 8.9225, 33.9769) |
| Luminance | 0.0892 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 3.28
Sapphire
#0F52BA
ΔE00 3.52
Cobalt (survey)
#1E488F
ΔE00 3.53
Cobalt
#0047AB
ΔE00 3.84
Denim Blue
#3B5B92
ΔE00 3.91
Light Navy Blue
#2E5A88
ΔE00 5.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C519F #9F7A2C
analogous
#2C8A9F #2C519F #412C9F
triadic
#2C519F #9F2C51 #519F2C
tetradic
#2C519F #9F2C8A #9F7A2C #2C9F41
square
#2C519F #9F2C8A #9F7A2C #2C9F41
split-complementary
#2C519F #9F412C #8A9F2C
monochromatic
#11203F #1F396F #2C519F #3E6BCA #6E90D7
Accessibility & contrast
On white
7.54
#2C519F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.78
#2C519F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C519F
7.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C519F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C519F | 1.00 | 7.54 | 2.78 | 7.54 |
| #FFFFFF | 7.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#265AA2
Deuteranopia (green-blind)
#034F9D
Tritanopia (blue-blind)
#006370
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #2c519f; /* rgb */ color: rgb(44, 81, 159); /* oklch */ color: oklch(45.2% 0.134 263.0);
Tailwind
colors: {
custom: {
50: '#7481bc',
500: '#2c519f',
950: '#000000',
},
}SCSS
$custom: #2c519f; $custom-light: #7481bc; $custom-dark: #000000;
JSON
{
"hex": "#2c519f",
"rgb": {
"r": 44,
"g": 81,
"b": 159
},
"hsl": {
"h": 220.696,
"s": 56.65,
"l": 39.804
},
"oklch": {
"l": 0.45177,
"c": 0.13378,
"h": 263
},
"luminance": 0.08924
}Semantic roles & 50–950 ramp
primary
#2C519F
secondary
#BEA369
accent
#AF48E0
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#090A12
muted
#7B7C81