#2C509E#2C509E
#2C509E is a dark, vivid blue. Relative luminance 0.087; OKLCH L 44.9% C 0.134 H 263.4°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).
Color values
| HEX | #2C509E |
|---|---|
| RGB | rgb(44, 80, 158) |
| HSL | hsl(221, 56%, 40%) |
| HSV | hsv(221, 72%, 62%) |
| CMYK | cmyk(72.2%, 49.4%, 0%, 38%) |
| CIE-LAB | lab(35.48, 14.75, -46.26) |
| CIE-LCH | lch(35.48, 48.55, 287.69°) |
| OKLab | oklab(44.88% -0.0154 -0.1327) |
| OKLCH | oklch(44.88% 0.134 263.4) |
| XYZ | xyz(10.0767, 8.7404, 33.4971) |
| Luminance | 0.0874 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.27
Dusk Blue
#26538D
ΔE00 3.39
Cobalt
#0047AB
ΔE00 3.67
Sapphire
#0F52BA
ΔE00 3.71
Denim Blue
#3B5B92
ΔE00 4.14
Light Navy Blue
#2E5A88
ΔE00 5.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C509E #9E7A2C
analogous
#2C899E #2C509E #412C9E
triadic
#2C509E #9E2C50 #509E2C
tetradic
#2C509E #9E2C89 #9E7A2C #2C9E41
square
#2C509E #9E2C89 #9E7A2C #2C9E41
split-complementary
#2C509E #9E412C #899E2C
monochromatic
#11203E #1F386E #2C509E #3E6AC9 #6E8FD7
Accessibility & contrast
On white
7.64
#2C509E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.75
#2C509E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C509E
7.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C509E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C509E | 1.00 | 7.64 | 2.75 | 7.64 |
| #FFFFFF | 7.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2559A1
Deuteranopia (green-blind)
#014F9C
Tritanopia (blue-blind)
#00626F
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #2c509e; /* rgb */ color: rgb(44, 80, 158); /* oklch */ color: oklch(44.9% 0.134 263.4);
Tailwind
colors: {
custom: {
50: '#7480bb',
500: '#2c509e',
950: '#000000',
},
}SCSS
$custom: #2c509e; $custom-light: #7480bb; $custom-dark: #000000;
JSON
{
"hex": "#2c509e",
"rgb": {
"r": 44,
"g": 80,
"b": 158
},
"hsl": {
"h": 221.053,
"s": 56.436,
"l": 39.608
},
"oklch": {
"l": 0.44883,
"c": 0.13362,
"h": 263.4
},
"luminance": 0.08741
}Semantic roles & 50–950 ramp
primary
#2C509E
secondary
#BEA368
accent
#B048E0
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A12
muted
#7B7C81