#2A509F#2A509F
#2A509F is a dark, vivid blue. Relative luminance 0.087; OKLCH L 44.9% C 0.136 H 262.8°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).
Color values
| HEX | #2A509F |
|---|---|
| RGB | rgb(42, 80, 159) |
| HSL | hsl(221, 58%, 39%) |
| HSV | hsv(221, 74%, 62%) |
| CMYK | cmyk(73.6%, 49.7%, 0%, 37.6%) |
| CIE-LAB | lab(35.46, 14.84, -46.89) |
| CIE-LCH | lch(35.46, 49.18, 287.57°) |
| OKLab | oklab(44.87% -0.0169 -0.1346) |
| OKLCH | oklch(44.87% 0.136 262.8) |
| XYZ | xyz(10.0793, 8.7317, 33.9483) |
| Luminance | 0.0873 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.27
Dusk Blue
#26538D
ΔE00 3.32
Sapphire
#0F52BA
ΔE00 3.51
Cobalt
#0047AB
ΔE00 3.54
Denim Blue
#3B5B92
ΔE00 4.21
Light Navy Blue
#2E5A88
ΔE00 5.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A509F #9F792A
analogous
#2A8B9F #2A509F #3F2A9F
triadic
#2A509F #9F2A50 #509F2A
tetradic
#2A509F #9F2A8B #9F792A #2A9F3F
square
#2A509F #9F2A8B #9F792A #2A9F3F
split-complementary
#2A509F #9F3F2A #8B9F2A
monochromatic
#101F3E #1D386F #2A509F #3B6ACB #6B8FD8
Accessibility & contrast
On white
7.65
#2A509F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.75
#2A509F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A509F
7.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A509F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A509F | 1.00 | 7.65 | 2.75 | 7.65 |
| #FFFFFF | 7.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2359A2
Deuteranopia (green-blind)
#004E9D
Tritanopia (blue-blind)
#006370
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #2a509f; /* rgb */ color: rgb(42, 80, 159); /* oklch */ color: oklch(44.9% 0.136 262.8);
Tailwind
colors: {
custom: {
50: '#7380bc',
500: '#2a509f',
950: '#000000',
},
}SCSS
$custom: #2a509f; $custom-light: #7380bc; $custom-dark: #000000;
JSON
{
"hex": "#2a509f",
"rgb": {
"r": 42,
"g": 80,
"b": 159
},
"hsl": {
"h": 220.513,
"s": 58.209,
"l": 39.412
},
"oklch": {
"l": 0.44869,
"c": 0.13569,
"h": 262.8
},
"luminance": 0.08733
}Semantic roles & 50–950 ramp
primary
#2A509F
secondary
#BFA266
accent
#AF46E1
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A12
muted
#7B7C81