#2A7FB5#2A7FB5
#2A7FB5 is a mid, moderate cyan. Relative luminance 0.190; OKLCH L 57.2% C 0.115 H 241.3°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).
Color values
| HEX | #2A7FB5 |
|---|---|
| RGB | rgb(42, 127, 181) |
| HSL | hsl(203, 62%, 44%) |
| HSV | hsv(203, 77%, 71%) |
| CMYK | cmyk(76.8%, 29.8%, 0%, 29%) |
| CIE-LAB | lab(50.69, -6.41, -35.61) |
| CIE-LCH | lch(50.69, 36.18, 259.79°) |
| OKLab | oklab(57.16% -0.0552 -0.1008) |
| OKLCH | oklch(57.16% 0.115 241.3) |
| XYZ | xyz(16.8814, 19.0052, 46.4858) |
| Luminance | 0.1901 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Nice Blue
#107AB0
ΔE00 2.41
Steel Blue
#4682B4
ΔE00 3.01
Water Blue
#0E87CC
ΔE00 3.67
Cerulean (survey)
#0485D1
ΔE00 3.79
Cool Blue
#4984B8
ΔE00 3.80
Bluish
#2976BB
ΔE00 4.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A7FB5 #B5602A
analogous
#2AB5A5 #2A7FB5 #2A3AB5
triadic
#2A7FB5 #B52A7F #7FB52A
tetradic
#2A7FB5 #A52AB5 #B5602A #3AB52A
square
#2A7FB5 #A52AB5 #B5602A #3AB52A
split-complementary
#2A7FB5 #B52A3A #B5A52A
monochromatic
#133952 #1E5C83 #2A7FB5 #489ED4 #79B8E0
Accessibility & contrast
On white
4.37
#2A7FB5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.80
#2A7FB5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2A7FB5
4.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A7FB5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2A7FB5 | 1.00 | 4.37 | 4.80 | 4.80 |
| #FFFFFF | 4.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6680B7
Deuteranopia (green-blind)
#5373B4
Tritanopia (blue-blind)
#008C92
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #2a7fb5; /* rgb */ color: rgb(42, 127, 181); /* oklch */ color: oklch(57.2% 0.115 241.3);
Tailwind
colors: {
custom: {
50: '#78a3cb',
500: '#2a7fb5',
950: '#000000',
},
}SCSS
$custom: #2a7fb5; $custom-light: #78a3cb; $custom-dark: #000000;
JSON
{
"hex": "#2a7fb5",
"rgb": {
"r": 42,
"g": 127,
"b": 181
},
"hsl": {
"h": 203.309,
"s": 62.332,
"l": 43.725
},
"oklch": {
"l": 0.57156,
"c": 0.11493,
"h": 241.3
},
"luminance": 0.19007
}Semantic roles & 50–950 ramp
primary
#2A7FB5
secondary
#C89473
accent
#8242E5
background
#F7FAFC
surface
#EEF3F8
border
#C9CDD1
text
#0A0F13
muted
#7C7F82