#2A508F#2A508F
#2A508F is a dark, moderate blue. Relative luminance 0.082; OKLCH L 43.7% C 0.113 H 259.9°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).
Color values
| HEX | #2A508F |
|---|---|
| RGB | rgb(42, 80, 143) |
| HSL | hsl(217, 55%, 36%) |
| HSV | hsv(217, 71%, 56%) |
| CMYK | cmyk(70.6%, 44.1%, 0%, 43.9%) |
| CIE-LAB | lab(34.42, 8.69, -38.88) |
| CIE-LCH | lch(34.42, 39.84, 282.60°) |
| OKLab | oklab(43.73% -0.0197 -0.1111) |
| OKLCH | oklch(43.73% 0.113 259.9) |
| XYZ | xyz(8.7797, 8.2118, 27.1036) |
| Luminance | 0.0821 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 1.70
Cobalt (survey)
#1E488F
ΔE00 2.61
Light Navy
#155084
ΔE00 3.79
Denim Blue
#3B5B92
ΔE00 3.80
Light Navy Blue
#2E5A88
ΔE00 4.16
Cobalt
#0047AB
ΔE00 4.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A508F #8F692A
analogous
#2A838F #2A508F #372A8F
triadic
#2A508F #8F2A50 #508F2A
tetradic
#2A508F #8F2A83 #8F692A #2A8F37
square
#2A508F #8F2A83 #8F692A #2A8F37
split-complementary
#2A508F #8F372A #838F2A
monochromatic
#0E1B30 #1C3660 #2A508F #386ABE #628CD1
Accessibility & contrast
On white
7.95
#2A508F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.64
#2A508F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A508F
7.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A508F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A508F | 1.00 | 7.95 | 2.64 | 7.95 |
| #FFFFFF | 7.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#325691
Deuteranopia (green-blind)
#214D8E
Tritanopia (blue-blind)
#005F68
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #2a508f; /* rgb */ color: rgb(42, 80, 143); /* oklch */ color: oklch(43.7% 0.113 259.9);
Tailwind
colors: {
custom: {
50: '#7080b0',
500: '#2a508f',
950: '#000000',
},
}SCSS
$custom: #2a508f; $custom-light: #7080b0; $custom-dark: #000000;
JSON
{
"hex": "#2a508f",
"rgb": {
"r": 42,
"g": 80,
"b": 143
},
"hsl": {
"h": 217.426,
"s": 54.595,
"l": 36.275
},
"oklch": {
"l": 0.43732,
"c": 0.11281,
"h": 259.9
},
"luminance": 0.08213
}Semantic roles & 50–950 ramp
primary
#2A508F
secondary
#B7955E
accent
#A64ADE
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#080A10
muted
#7B7C7F