#2C7EB8#2C7EB8
#2C7EB8 is a mid, moderate cyan. Relative luminance 0.189; OKLCH L 57.1% C 0.118 H 243.8°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).
Color values
| HEX | #2C7EB8 |
|---|---|
| RGB | rgb(44, 126, 184) |
| HSL | hsl(205, 61%, 45%) |
| HSV | hsv(205, 76%, 72%) |
| CMYK | cmyk(76.1%, 31.5%, 0%, 27.8%) |
| CIE-LAB | lab(50.59, -4.49, -37.50) |
| CIE-LCH | lch(50.59, 37.77, 263.17°) |
| OKLab | oklab(57.14% -0.0523 -0.1063) |
| OKLCH | oklch(57.14% 0.118 243.8) |
| XYZ | xyz(17.1479, 18.9159, 48.0855) |
| Luminance | 0.1892 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Steel Blue
#4682B4
ΔE00 2.70
Nice Blue
#107AB0
ΔE00 2.88
Cool Blue
#4984B8
ΔE00 3.45
Cerulean (survey)
#0485D1
ΔE00 3.49
Bluish
#2976BB
ΔE00 3.55
Water Blue
#0E87CC
ΔE00 3.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C7EB8 #B8662C
analogous
#2CB8AC #2C7EB8 #2C38B8
triadic
#2C7EB8 #B82C7E #7EB82C
tetradic
#2C7EB8 #AC2CB8 #B8662C #38B82C
square
#2C7EB8 #AC2CB8 #B8662C #38B82C
split-complementary
#2C7EB8 #B82C38 #B8AC2C
monochromatic
#143A55 #205C87 #2C7EB8 #4D9CD4 #7EB8E0
Accessibility & contrast
On white
4.39
#2C7EB8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.78
#2C7EB8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2C7EB8
4.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C7EB8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2C7EB8 | 1.00 | 4.39 | 4.78 | 4.78 |
| #FFFFFF | 4.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6380BB
Deuteranopia (green-blind)
#5073B7
Tritanopia (blue-blind)
#008C93
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #2c7eb8; /* rgb */ color: rgb(44, 126, 184); /* oklch */ color: oklch(57.1% 0.118 243.8);
Tailwind
colors: {
custom: {
50: '#79a3cd',
500: '#2c7eb8',
950: '#000000',
},
}SCSS
$custom: #2c7eb8; $custom-light: #79a3cd; $custom-dark: #000000;
JSON
{
"hex": "#2c7eb8",
"rgb": {
"r": 44,
"g": 126,
"b": 184
},
"hsl": {
"h": 204.857,
"s": 61.404,
"l": 44.706
},
"oklch": {
"l": 0.57136,
"c": 0.11846,
"h": 243.8
},
"luminance": 0.18918
}Semantic roles & 50–950 ramp
primary
#2C7EB8
secondary
#C99977
accent
#8643E5
background
#F8FAFC
surface
#EFF3F9
border
#CACDD2
text
#0A0F13
muted
#7C7F82