#2A7FB7#2A7FB7
#2A7FB7 is a mid, moderate cyan. Relative luminance 0.191; OKLCH L 57.3% C 0.117 H 242.3°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).
Color values
| HEX | #2A7FB7 |
|---|---|
| RGB | rgb(42, 127, 183) |
| HSL | hsl(204, 63%, 44%) |
| HSV | hsv(204, 77%, 72%) |
| CMYK | cmyk(77%, 30.6%, 0%, 28.2%) |
| CIE-LAB | lab(50.79, -5.69, -36.61) |
| CIE-LCH | lch(50.79, 37.05, 261.17°) |
| OKLab | oklab(57.26% -0.0546 -0.1037) |
| OKLCH | oklch(57.26% 0.117 242.3) |
| XYZ | xyz(17.0881, 19.0879, 47.5743) |
| Luminance | 0.1909 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Nice Blue
#107AB0
ΔE00 2.64
Steel Blue
#4682B4
ΔE00 2.83
Cerulean (survey)
#0485D1
ΔE00 3.48
Water Blue
#0E87CC
ΔE00 3.49
Cool Blue
#4984B8
ΔE00 3.59
Bluish
#2976BB
ΔE00 4.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A7FB7 #B7622A
analogous
#2AB7A9 #2A7FB7 #2A38B7
triadic
#2A7FB7 #B72A7F #7FB72A
tetradic
#2A7FB7 #A92AB7 #B7622A #38B72A
square
#2A7FB7 #A92AB7 #B7622A #38B72A
split-complementary
#2A7FB7 #B72A38 #B7A92A
monochromatic
#133A53 #1F5C85 #2A7FB7 #499ED5 #7BB8E1
Accessibility & contrast
On white
4.36
#2A7FB7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.82
#2A7FB7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2A7FB7
4.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A7FB7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2A7FB7 | 1.00 | 4.36 | 4.82 | 4.82 |
| #FFFFFF | 4.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6580B9
Deuteranopia (green-blind)
#5173B6
Tritanopia (blue-blind)
#008D93
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #2a7fb7; /* rgb */ color: rgb(42, 127, 183); /* oklch */ color: oklch(57.3% 0.117 242.3);
Tailwind
colors: {
custom: {
50: '#78a3cd',
500: '#2a7fb7',
950: '#000000',
},
}SCSS
$custom: #2a7fb7; $custom-light: #78a3cd; $custom-dark: #000000;
JSON
{
"hex": "#2a7fb7",
"rgb": {
"r": 42,
"g": 127,
"b": 183
},
"hsl": {
"h": 203.83,
"s": 62.667,
"l": 44.118
},
"oklch": {
"l": 0.57264,
"c": 0.11719,
"h": 242.3
},
"luminance": 0.1909
}Semantic roles & 50–950 ramp
primary
#2A7FB7
secondary
#C99674
accent
#8342E6
background
#F7FAFC
surface
#EEF3F9
border
#C9CDD2
text
#0A0F13
muted
#7C7F82