#2A7CB0#2A7CB0
#2A7CB0 is a mid, moderate cyan. Relative luminance 0.180; OKLCH L 56.2% C 0.112 H 241.1°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).
Color values
| HEX | #2A7CB0 |
|---|---|
| RGB | rgb(42, 124, 176) |
| HSL | hsl(203, 61%, 43%) |
| HSV | hsv(203, 76%, 69%) |
| CMYK | cmyk(76.1%, 29.5%, 0%, 31%) |
| CIE-LAB | lab(49.55, -6.47, -34.52) |
| CIE-LCH | lch(49.55, 35.12, 259.39°) |
| OKLab | oklab(56.17% -0.0539 -0.0977) |
| OKLCH | oklch(56.17% 0.112 241.1) |
| XYZ | xyz(15.9959, 18.0403, 43.7050) |
| Luminance | 0.1804 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Nice Blue
#107AB0
ΔE00 1.55
Steel Blue
#4682B4
ΔE00 3.65
Bluish
#2976BB
ΔE00 3.95
Cerulean
#007BA7
ΔE00 4.03
Cool Blue
#4984B8
ΔE00 4.55
Flat Blue
#3C73A8
ΔE00 4.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A7CB0 #B05E2A
analogous
#2AB0A1 #2A7CB0 #2A39B0
triadic
#2A7CB0 #B02A7C #7CB02A
tetradic
#2A7CB0 #A12AB0 #B05E2A #39B02A
square
#2A7CB0 #A12AB0 #B05E2A #39B02A
split-complementary
#2A7CB0 #B02A39 #B0A12A
monochromatic
#12364D #1E597F #2A7CB0 #459BD3 #76B6DE
Accessibility & contrast
On white
4.56
#2A7CB0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.61
#2A7CB0 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2A7CB0
4.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A7CB0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2A7CB0 | 1.00 | 4.56 | 4.61 | 4.61 |
| #FFFFFF | 4.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#647DB2
Deuteranopia (green-blind)
#5170AF
Tritanopia (blue-blind)
#00898E
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #2a7cb0; /* rgb */ color: rgb(42, 124, 176); /* oklch */ color: oklch(56.2% 0.112 241.1);
Tailwind
colors: {
custom: {
50: '#77a1c8',
500: '#2a7cb0',
950: '#000000',
},
}SCSS
$custom: #2a7cb0; $custom-light: #77a1c8; $custom-dark: #000000;
JSON
{
"hex": "#2a7cb0",
"rgb": {
"r": 42,
"g": 124,
"b": 176
},
"hsl": {
"h": 203.284,
"s": 61.468,
"l": 42.745
},
"oklch": {
"l": 0.56168,
"c": 0.11158,
"h": 241.1
},
"luminance": 0.18042
}Semantic roles & 50–950 ramp
primary
#2A7CB0
secondary
#C69170
accent
#8243E5
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0F13
muted
#7C7E82