#2A7EB0#2A7EB0
#2A7EB0 is a mid, moderate cyan. Relative luminance 0.185; OKLCH L 56.6% C 0.110 H 239.5°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).
Color values
| HEX | #2A7EB0 |
|---|---|
| RGB | rgb(42, 126, 176) |
| HSL | hsl(202, 61%, 43%) |
| HSV | hsv(202, 76%, 69%) |
| CMYK | cmyk(76.1%, 28.4%, 0%, 31%) |
| CIE-LAB | lab(50.15, -7.64, -33.57) |
| CIE-LCH | lch(50.15, 34.43, 257.18°) |
| OKLab | oklab(56.65% -0.0558 -0.0949) |
| OKLCH | oklch(56.65% 0.11 239.5) |
| XYZ | xyz(16.2491, 18.5466, 43.7893) |
| Luminance | 0.1855 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Nice Blue
#107AB0
ΔE00 1.89
Steel Blue
#4682B4
ΔE00 3.59
Cerulean
#007BA7
ΔE00 3.62
Cool Blue
#4984B8
ΔE00 4.46
Water Blue
#0E87CC
ΔE00 4.48
Cerulean (survey)
#0485D1
ΔE00 4.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A7EB0 #B05C2A
analogous
#2AB09F #2A7EB0 #2A3BB0
triadic
#2A7EB0 #B02A7E #7EB02A
tetradic
#2A7EB0 #9F2AB0 #B05C2A #3BB02A
square
#2A7EB0 #9F2AB0 #B05C2A #3BB02A
split-complementary
#2A7EB0 #B02A3B #B09F2A
monochromatic
#12374D #1E5B7F #2A7EB0 #459ED3 #76B7DE
Accessibility & contrast
On white
4.46
#2A7EB0 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.71
#2A7EB0 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2A7EB0
4.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A7EB0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2A7EB0 | 1.00 | 4.46 | 4.71 | 4.71 |
| #FFFFFF | 4.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#667EB2
Deuteranopia (green-blind)
#5472AF
Tritanopia (blue-blind)
#008B8F
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #2a7eb0; /* rgb */ color: rgb(42, 126, 176); /* oklch */ color: oklch(56.6% 0.110 239.5);
Tailwind
colors: {
custom: {
50: '#77a3c8',
500: '#2a7eb0',
950: '#000000',
},
}SCSS
$custom: #2a7eb0; $custom-light: #77a3c8; $custom-dark: #000000;
JSON
{
"hex": "#2a7eb0",
"rgb": {
"r": 42,
"g": 126,
"b": 176
},
"hsl": {
"h": 202.388,
"s": 61.468,
"l": 42.745
},
"oklch": {
"l": 0.56649,
"c": 0.11011,
"h": 239.5
},
"luminance": 0.18549
}Semantic roles & 50–950 ramp
primary
#2A7EB0
secondary
#C69070
accent
#7F43E5
background
#F7FAFC
surface
#EEF3F8
border
#C9CDD1
text
#0A0F13
muted
#7C7F82