#2C7EB7#2C7EB7
#2C7EB7 is a mid, moderate cyan. Relative luminance 0.189; OKLCH L 57.1% C 0.117 H 243.4°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).
Color values
| HEX | #2C7EB7 |
|---|---|
| RGB | rgb(44, 126, 183) |
| HSL | hsl(205, 61%, 45%) |
| HSV | hsv(205, 76%, 72%) |
| CMYK | cmyk(76%, 31.1%, 0%, 28.2%) |
| CIE-LAB | lab(50.54, -4.86, -37.00) |
| CIE-LCH | lch(50.54, 37.32, 262.52°) |
| OKLab | oklab(57.08% -0.0526 -0.1048) |
| OKLCH | oklch(57.08% 0.117 243.4) |
| XYZ | xyz(17.0435, 18.8741, 47.5354) |
| Luminance | 0.1888 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Nice Blue
#107AB0
ΔE00 2.72
Steel Blue
#4682B4
ΔE00 2.75
Cool Blue
#4984B8
ΔE00 3.52
Cerulean (survey)
#0485D1
ΔE00 3.59
Bluish
#2976BB
ΔE00 3.66
Water Blue
#0E87CC
ΔE00 3.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C7EB7 #B7652C
analogous
#2CB7AA #2C7EB7 #2C39B7
triadic
#2C7EB7 #B72C7E #7EB72C
tetradic
#2C7EB7 #AA2CB7 #B7652C #39B72C
square
#2C7EB7 #AA2CB7 #B7652C #39B72C
split-complementary
#2C7EB7 #B72C39 #B7AA2C
monochromatic
#143A54 #205C86 #2C7EB7 #4C9CD4 #7EB8E0
Accessibility & contrast
On white
4.40
#2C7EB7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.78
#2C7EB7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2C7EB7
4.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C7EB7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2C7EB7 | 1.00 | 4.40 | 4.78 | 4.78 |
| #FFFFFF | 4.40 | 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)
#647FB9
Deuteranopia (green-blind)
#5072B6
Tritanopia (blue-blind)
#008C92
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #2c7eb7; /* rgb */ color: rgb(44, 126, 183); /* oklch */ color: oklch(57.1% 0.117 243.4);
Tailwind
colors: {
custom: {
50: '#79a3cd',
500: '#2c7eb7',
950: '#000000',
},
}SCSS
$custom: #2c7eb7; $custom-light: #79a3cd; $custom-dark: #000000;
JSON
{
"hex": "#2c7eb7",
"rgb": {
"r": 44,
"g": 126,
"b": 183
},
"hsl": {
"h": 204.604,
"s": 61.233,
"l": 44.51
},
"oklch": {
"l": 0.57081,
"c": 0.1173,
"h": 243.4
},
"luminance": 0.18876
}Semantic roles & 50–950 ramp
primary
#2C7EB7
secondary
#C89876
accent
#8543E4
background
#F8FAFC
surface
#EFF3F9
border
#CACDD2
text
#0A0F13
muted
#7C7F82