#2C7FB8#2C7FB8
#2C7FB8 is a mid, moderate cyan. Relative luminance 0.192; OKLCH L 57.4% C 0.118 H 243.1°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).
Color values
| HEX | #2C7FB8 |
|---|---|
| RGB | rgb(44, 127, 184) |
| HSL | hsl(204, 61%, 45%) |
| HSV | hsv(204, 76%, 72%) |
| CMYK | cmyk(76.1%, 31%, 0%, 27.8%) |
| CIE-LAB | lab(50.89, -5.08, -37.02) |
| CIE-LCH | lch(50.89, 37.37, 262.18°) |
| OKLab | oklab(57.37% -0.0532 -0.1049) |
| OKLCH | oklch(57.37% 0.118 243.1) |
| XYZ | xyz(17.2764, 19.1729, 48.1283) |
| Luminance | 0.1918 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Steel Blue
#4682B4
ΔE00 2.61
Nice Blue
#107AB0
ΔE00 2.91
Cerulean (survey)
#0485D1
ΔE00 3.31
Cool Blue
#4984B8
ΔE00 3.35
Water Blue
#0E87CC
ΔE00 3.44
Bluish
#2976BB
ΔE00 4.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C7FB8 #B8652C
analogous
#2CB8AB #2C7FB8 #2C39B8
triadic
#2C7FB8 #B82C7F #7FB82C
tetradic
#2C7FB8 #AB2CB8 #B8652C #39B82C
square
#2C7FB8 #AB2CB8 #B8652C #39B82C
split-complementary
#2C7FB8 #B82C39 #B8AB2C
monochromatic
#143B55 #205D87 #2C7FB8 #4D9DD4 #7EB8E0
Accessibility & contrast
On white
4.34
#2C7FB8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.84
#2C7FB8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2C7FB8
4.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C7FB8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2C7FB8 | 1.00 | 4.34 | 4.84 | 4.84 |
| #FFFFFF | 4.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6580BA
Deuteranopia (green-blind)
#5173B7
Tritanopia (blue-blind)
#008D93
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #2c7fb8; /* rgb */ color: rgb(44, 127, 184); /* oklch */ color: oklch(57.4% 0.118 243.1);
Tailwind
colors: {
custom: {
50: '#79a3cd',
500: '#2c7fb8',
950: '#000000',
},
}SCSS
$custom: #2c7fb8; $custom-light: #79a3cd; $custom-dark: #000000;
JSON
{
"hex": "#2c7fb8",
"rgb": {
"r": 44,
"g": 127,
"b": 184
},
"hsl": {
"h": 204.429,
"s": 61.404,
"l": 44.706
},
"oklch": {
"l": 0.57373,
"c": 0.11765,
"h": 243.1
},
"luminance": 0.19175
}Semantic roles & 50–950 ramp
primary
#2C7FB8
secondary
#C99877
accent
#8543E5
background
#F8FAFC
surface
#EFF3F9
border
#CACDD2
text
#0A0F13
muted
#7C7F82