#2C509D#2C509D
#2C509D is a dark, vivid blue. Relative luminance 0.087; OKLCH L 44.8% C 0.132 H 263.2°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).
Color values
| HEX | #2C509D |
|---|---|
| RGB | rgb(44, 80, 157) |
| HSL | hsl(221, 56%, 39%) |
| HSV | hsv(221, 72%, 62%) |
| CMYK | cmyk(72%, 49%, 0%, 38.4%) |
| CIE-LAB | lab(35.41, 14.37, -45.76) |
| CIE-LCH | lch(35.41, 47.97, 287.43°) |
| OKLab | oklab(44.81% -0.0156 -0.1313) |
| OKLCH | oklch(44.81% 0.132 263.2) |
| XYZ | xyz(9.9910, 8.7061, 33.0456) |
| Luminance | 0.0871 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.18
Dusk Blue
#26538D
ΔE00 3.28
Cobalt
#0047AB
ΔE00 3.73
Sapphire
#0F52BA
ΔE00 3.82
Denim Blue
#3B5B92
ΔE00 4.09
Light Navy Blue
#2E5A88
ΔE00 5.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C509D #9D792C
analogous
#2C899D #2C509D #412C9D
triadic
#2C509D #9D2C50 #509D2C
tetradic
#2C509D #9D2C89 #9D792C #2C9D41
square
#2C509D #9D2C89 #9D792C #2C9D41
split-complementary
#2C509D #9D412C #899D2C
monochromatic
#111F3D #1F386D #2C509D #3D6AC9 #6D8FD6
Accessibility & contrast
On white
7.66
#2C509D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.74
#2C509D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C509D
7.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C509D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C509D | 1.00 | 7.66 | 2.74 | 7.66 |
| #FFFFFF | 7.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2659A0
Deuteranopia (green-blind)
#054E9B
Tritanopia (blue-blind)
#00626F
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #2c509d; /* rgb */ color: rgb(44, 80, 157); /* oklch */ color: oklch(44.8% 0.132 263.2);
Tailwind
colors: {
custom: {
50: '#7480ba',
500: '#2c509d',
950: '#000000',
},
}SCSS
$custom: #2c509d; $custom-light: #7480ba; $custom-dark: #000000;
JSON
{
"hex": "#2c509d",
"rgb": {
"r": 44,
"g": 80,
"b": 157
},
"hsl": {
"h": 220.885,
"s": 56.219,
"l": 39.412
},
"oklch": {
"l": 0.4481,
"c": 0.1322,
"h": 263.2
},
"luminance": 0.08707
}Semantic roles & 50–950 ramp
primary
#2C509D
secondary
#BDA268
accent
#AF48E0
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A12
muted
#7B7C81