#2C7FB7#2C7FB7
#2C7FB7 is a mid, moderate cyan. Relative luminance 0.191; OKLCH L 57.3% C 0.117 H 242.6°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).
Color values
| HEX | #2C7FB7 |
|---|---|
| RGB | rgb(44, 127, 183) |
| HSL | hsl(204, 61%, 45%) |
| HSV | hsv(204, 76%, 72%) |
| CMYK | cmyk(76%, 30.6%, 0%, 28.2%) |
| CIE-LAB | lab(50.84, -5.44, -36.53) |
| CIE-LCH | lch(50.84, 36.93, 261.52°) |
| OKLab | oklab(57.32% -0.0535 -0.1035) |
| OKLCH | oklch(57.32% 0.117 242.6) |
| XYZ | xyz(17.1720, 19.1311, 47.5782) |
| Luminance | 0.1913 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Steel Blue
#4682B4
ΔE00 2.68
Nice Blue
#107AB0
ΔE00 2.77
Cool Blue
#4984B8
ΔE00 3.43
Cerulean (survey)
#0485D1
ΔE00 3.44
Water Blue
#0E87CC
ΔE00 3.49
Bluish
#2976BB
ΔE00 4.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C7FB7 #B7642C
analogous
#2CB7AA #2C7FB7 #2C39B7
triadic
#2C7FB7 #B72C7F #7FB72C
tetradic
#2C7FB7 #AA2CB7 #B7642C #39B72C
square
#2C7FB7 #AA2CB7 #B7642C #39B72C
split-complementary
#2C7FB7 #B72C39 #B7AA2C
monochromatic
#143B54 #205D86 #2C7FB7 #4C9DD4 #7EB8E0
Accessibility & contrast
On white
4.35
#2C7FB7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.83
#2C7FB7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2C7FB7
4.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C7FB7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2C7FB7 | 1.00 | 4.35 | 4.83 | 4.83 |
| #FFFFFF | 4.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6580B9
Deuteranopia (green-blind)
#5273B6
Tritanopia (blue-blind)
#008D93
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #2c7fb7; /* rgb */ color: rgb(44, 127, 183); /* oklch */ color: oklch(57.3% 0.117 242.6);
Tailwind
colors: {
custom: {
50: '#79a3cd',
500: '#2c7fb7',
950: '#000000',
},
}SCSS
$custom: #2c7fb7; $custom-light: #79a3cd; $custom-dark: #000000;
JSON
{
"hex": "#2c7fb7",
"rgb": {
"r": 44,
"g": 127,
"b": 183
},
"hsl": {
"h": 204.173,
"s": 61.233,
"l": 44.51
},
"oklch": {
"l": 0.57319,
"c": 0.1165,
"h": 242.6
},
"luminance": 0.19133
}Semantic roles & 50–950 ramp
primary
#2C7FB7
secondary
#C89776
accent
#8443E4
background
#F8FAFC
surface
#EFF3F9
border
#CACDD2
text
#0A0F13
muted
#7C7F82