#2C509F#2C509F
#2C509F is a dark, vivid blue. Relative luminance 0.088; OKLCH L 45.0% C 0.135 H 263.5°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).
Color values
| HEX | #2C509F |
|---|---|
| RGB | rgb(44, 80, 159) |
| HSL | hsl(221, 57%, 40%) |
| HSV | hsv(221, 72%, 62%) |
| CMYK | cmyk(72.3%, 49.7%, 0%, 37.6%) |
| CIE-LAB | lab(35.55, 15.13, -46.75) |
| CIE-LCH | lch(35.55, 49.14, 287.94°) |
| OKLab | oklab(44.96% -0.0153 -0.1342) |
| OKLCH | oklch(44.96% 0.135 263.5) |
| XYZ | xyz(10.1632, 8.7749, 33.9523) |
| Luminance | 0.0878 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.36
Dusk Blue
#26538D
ΔE00 3.50
Sapphire
#0F52BA
ΔE00 3.60
Cobalt
#0047AB
ΔE00 3.61
Denim Blue
#3B5B92
ΔE00 4.20
Light Navy Blue
#2E5A88
ΔE00 5.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C509F #9F7B2C
analogous
#2C8A9F #2C509F #412C9F
triadic
#2C509F #9F2C50 #509F2C
tetradic
#2C509F #9F2C8A #9F7B2C #2C9F41
square
#2C509F #9F2C8A #9F7B2C #2C9F41
split-complementary
#2C509F #9F412C #8A9F2C
monochromatic
#11203F #1F386F #2C509F #3E6ACA #6E8FD7
Accessibility & contrast
On white
7.62
#2C509F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.76
#2C509F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C509F
7.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C509F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C509F | 1.00 | 7.62 | 2.76 | 7.62 |
| #FFFFFF | 7.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2459A2
Deuteranopia (green-blind)
#004F9D
Tritanopia (blue-blind)
#006370
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #2c509f; /* rgb */ color: rgb(44, 80, 159); /* oklch */ color: oklch(45.0% 0.135 263.5);
Tailwind
colors: {
custom: {
50: '#7480bc',
500: '#2c509f',
950: '#000000',
},
}SCSS
$custom: #2c509f; $custom-light: #7480bc; $custom-dark: #000000;
JSON
{
"hex": "#2c509f",
"rgb": {
"r": 44,
"g": 80,
"b": 159
},
"hsl": {
"h": 221.217,
"s": 56.65,
"l": 39.804
},
"oklch": {
"l": 0.44957,
"c": 0.13505,
"h": 263.5
},
"luminance": 0.08776
}Semantic roles & 50–950 ramp
primary
#2C509F
secondary
#BEA369
accent
#B048E0
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#090A12
muted
#7B7C81