#2A7FB0#2A7FB0
#2A7FB0 is a mid, moderate cyan. Relative luminance 0.188; OKLCH L 56.9% C 0.109 H 238.7°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).
Color values
| HEX | #2A7FB0 |
|---|---|
| RGB | rgb(42, 127, 176) |
| HSL | hsl(202, 61%, 43%) |
| HSV | hsv(202, 76%, 69%) |
| CMYK | cmyk(76.1%, 27.8%, 0%, 31%) |
| CIE-LAB | lab(50.46, -8.22, -33.09) |
| CIE-LCH | lch(50.46, 34.10, 256.05°) |
| OKLab | oklab(56.89% -0.0568 -0.0935) |
| OKLCH | oklch(56.89% 0.109 238.7) |
| XYZ | xyz(16.3776, 18.8036, 43.8322) |
| Luminance | 0.1881 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Nice Blue
#107AB0
ΔE00 2.21
Cerulean
#007BA7
ΔE00 3.49
Steel Blue
#4682B4
ΔE00 3.65
Water Blue
#0E87CC
ΔE00 4.39
Cool Blue
#4984B8
ΔE00 4.49
Cerulean (survey)
#0485D1
ΔE00 4.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A7FB0 #B05B2A
analogous
#2AB09E #2A7FB0 #2A3CB0
triadic
#2A7FB0 #B02A7F #7FB02A
tetradic
#2A7FB0 #9E2AB0 #B05B2A #3CB02A
square
#2A7FB0 #9E2AB0 #B05B2A #3CB02A
split-complementary
#2A7FB0 #B02A3C #B09E2A
monochromatic
#12384D #1E5B7F #2A7FB0 #459FD3 #76B8DE
Accessibility & contrast
On white
4.41
#2A7FB0 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.76
#2A7FB0 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2A7FB0
4.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A7FB0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2A7FB0 | 1.00 | 4.41 | 4.76 | 4.76 |
| #FFFFFF | 4.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#687FB2
Deuteranopia (green-blind)
#5672AF
Tritanopia (blue-blind)
#008B90
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #2a7fb0; /* rgb */ color: rgb(42, 127, 176); /* oklch */ color: oklch(56.9% 0.109 238.7);
Tailwind
colors: {
custom: {
50: '#77a4c8',
500: '#2a7fb0',
950: '#000000',
},
}SCSS
$custom: #2a7fb0; $custom-light: #77a4c8; $custom-dark: #000000;
JSON
{
"hex": "#2a7fb0",
"rgb": {
"r": 42,
"g": 127,
"b": 176
},
"hsl": {
"h": 201.94,
"s": 61.468,
"l": 42.745
},
"oklch": {
"l": 0.56891,
"c": 0.10941,
"h": 238.7
},
"luminance": 0.18806
}Semantic roles & 50–950 ramp
primary
#2A7FB0
secondary
#C68F70
accent
#7E43E5
background
#F7FAFC
surface
#EEF3F8
border
#C9CDD1
text
#0A0F13
muted
#7C7F82