#2A5B71#2A5B71
#2A5B71 is a dark, moderate cyan. Relative luminance 0.092; OKLCH L 44.7% C 0.064 H 229.8°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).
Color values
| HEX | #2A5B71 |
|---|---|
| RGB | rgb(42, 91, 113) |
| HSL | hsl(199, 46%, 30%) |
| HSV | hsv(199, 63%, 44%) |
| CMYK | cmyk(62.8%, 19.5%, 0%, 55.7%) |
| CIE-LAB | lab(36.30, -9.32, -17.49) |
| CIE-LCH | lch(36.30, 19.81, 241.94°) |
| OKLab | oklab(44.7% -0.0412 -0.0488) |
| OKLCH | oklch(44.7% 0.064 229.8) |
| XYZ | xyz(7.6754, 9.1659, 16.9843) |
| Luminance | 0.0917 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Ugly Blue
#31668A
ΔE00 6.45
Dark Slate Blue
#214761
ΔE00 7.57
Deep Sea Blue
#015482
ΔE00 7.63
Slate
#516572
ΔE00 7.67
Peacock Blue
#016795
ΔE00 7.68
Dark Grey Blue
#29465B
ΔE00 7.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A5B71 #71402A
analogous
#2A7163 #2A5B71 #2A3771
triadic
#2A5B71 #712A5B #5B712A
tetradic
#2A5B71 #632A71 #71402A #37712A
square
#2A5B71 #632A71 #71402A #37712A
split-complementary
#2A5B71 #712A37 #71632A
monochromatic
#091318 #193744 #2A5B71 #3B7F9E #559FC0
Accessibility & contrast
On white
7.41
#2A5B71 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.83
#2A5B71 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A5B71
7.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A5B71 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A5B71 | 1.00 | 7.41 | 2.83 | 7.41 |
| #FFFFFF | 7.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#505A72
Deuteranopia (green-blind)
#465271
Tritanopia (blue-blind)
#006162
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #2a5b71; /* rgb */ color: rgb(42, 91, 113); /* oklch */ color: oklch(44.7% 0.064 229.8);
Tailwind
colors: {
custom: {
50: '#6b899a',
500: '#2a5b71',
950: '#000000',
},
}SCSS
$custom: #2a5b71; $custom-light: #6b899a; $custom-dark: #000000;
JSON
{
"hex": "#2a5b71",
"rgb": {
"r": 42,
"g": 91,
"b": 113
},
"hsl": {
"h": 198.592,
"s": 45.806,
"l": 30.392
},
"oklch": {
"l": 0.44698,
"c": 0.06387,
"h": 229.8
},
"luminance": 0.09167
}Semantic roles & 50–950 ramp
primary
#2A5B71
secondary
#A36C54
accent
#7B52D5
background
#F6F8F9
surface
#ECF0F2
border
#C7CBCC
text
#070B0E
muted
#7A7C7E