#2A507B#2A507B
#2A507B is a dark, moderate cyan. Relative luminance 0.077; OKLCH L 42.5% C 0.084 H 252.9°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).
Color values
| HEX | #2A507B |
|---|---|
| RGB | rgb(42, 80, 123) |
| HSL | hsl(212, 49%, 32%) |
| HSV | hsv(212, 66%, 48%) |
| CMYK | cmyk(65.9%, 35%, 0%, 51.8%) |
| CIE-LAB | lab(33.26, 1.14, -28.42) |
| CIE-LCH | lch(33.26, 28.44, 272.30°) |
| OKLab | oklab(42.46% -0.0247 -0.0804) |
| OKLCH | oklch(42.46% 0.084 252.9) |
| XYZ | xyz(7.3974, 7.6589, 19.8235) |
| Luminance | 0.0766 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Light Navy
#155084
ΔE00 2.40
Dusk Blue
#26538D
ΔE00 2.52
Light Navy Blue
#2E5A88
ΔE00 3.56
Cobalt (survey)
#1E488F
ΔE00 4.15
Prussian Blue
#004577
ΔE00 4.35
Twilight Blue
#0A437A
ΔE00 4.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A507B #7B552A
analogous
#2A797B #2A507B #2D2A7B
triadic
#2A507B #7B2A50 #507B2A
tetradic
#2A507B #7B2A79 #7B552A #2A7B2D
square
#2A507B #7B2A79 #7B552A #2A7B2D
split-complementary
#2A507B #7B2D2A #797B2A
monochromatic
#0B1520 #1A324D #2A507B #3A6EA9 #598CC6
Accessibility & contrast
On white
8.29
#2A507B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.53
#2A507B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A507B
8.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A507B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A507B | 1.00 | 8.29 | 2.53 | 8.29 |
| #FFFFFF | 8.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D527D
Deuteranopia (green-blind)
#324B7A
Tritanopia (blue-blind)
#005A60
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #2a507b; /* rgb */ color: rgb(42, 80, 123); /* oklch */ color: oklch(42.5% 0.084 252.9);
Tailwind
colors: {
custom: {
50: '#6c80a1',
500: '#2a507b',
950: '#000000',
},
}SCSS
$custom: #2a507b; $custom-light: #6c80a1; $custom-dark: #000000;
JSON
{
"hex": "#2a507b",
"rgb": {
"r": 42,
"g": 80,
"b": 123
},
"hsl": {
"h": 211.852,
"s": 49.091,
"l": 32.353
},
"oklch": {
"l": 0.42455,
"c": 0.08415,
"h": 252.9
},
"luminance": 0.0766
}Semantic roles & 50–950 ramp
primary
#2A507B
secondary
#AC8355
accent
#984FD9
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#070A0F
muted
#7A7C7E