#2C7EB5#2C7EB5
#2C7EB5 is a mid, moderate cyan. Relative luminance 0.188; OKLCH L 57.0% C 0.115 H 242.4°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).
Color values
| HEX | #2C7EB5 |
|---|---|
| RGB | rgb(44, 126, 181) |
| HSL | hsl(204, 61%, 44%) |
| HSV | hsv(204, 76%, 71%) |
| CMYK | cmyk(75.7%, 30.4%, 0%, 29%) |
| CIE-LAB | lab(50.44, -5.58, -36.00) |
| CIE-LCH | lch(50.44, 36.43, 261.19°) |
| OKLab | oklab(56.97% -0.0532 -0.1019) |
| OKLCH | oklch(56.97% 0.115 242.4) |
| XYZ | xyz(16.8368, 18.7914, 46.4468) |
| Luminance | 0.1879 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Nice Blue
#107AB0
ΔE00 2.43
Steel Blue
#4682B4
ΔE00 2.88
Cool Blue
#4984B8
ΔE00 3.69
Cerulean (survey)
#0485D1
ΔE00 3.83
Water Blue
#0E87CC
ΔE00 3.90
Bluish
#2976BB
ΔE00 3.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C7EB5 #B5632C
analogous
#2CB5A8 #2C7EB5 #2C39B5
triadic
#2C7EB5 #B52C7E #7EB52C
tetradic
#2C7EB5 #A82CB5 #B5632C #39B52C
square
#2C7EB5 #A82CB5 #B5632C #39B52C
split-complementary
#2C7EB5 #B52C39 #B5A82C
monochromatic
#143953 #205C84 #2C7EB5 #4B9DD3 #7CB7DF
Accessibility & contrast
On white
4.41
#2C7EB5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.76
#2C7EB5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2C7EB5
4.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C7EB5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2C7EB5 | 1.00 | 4.41 | 4.76 | 4.76 |
| #FFFFFF | 4.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#647FB7
Deuteranopia (green-blind)
#5272B4
Tritanopia (blue-blind)
#008C91
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #2c7eb5; /* rgb */ color: rgb(44, 126, 181); /* oklch */ color: oklch(57.0% 0.115 242.4);
Tailwind
colors: {
custom: {
50: '#78a3cb',
500: '#2c7eb5',
950: '#000000',
},
}SCSS
$custom: #2c7eb5; $custom-light: #78a3cb; $custom-dark: #000000;
JSON
{
"hex": "#2c7eb5",
"rgb": {
"r": 44,
"g": 126,
"b": 181
},
"hsl": {
"h": 204.088,
"s": 60.889,
"l": 44.118
},
"oklch": {
"l": 0.56972,
"c": 0.115,
"h": 242.4
},
"luminance": 0.18793
}Semantic roles & 50–950 ramp
primary
#2C7EB5
secondary
#C89675
accent
#8444E4
background
#F7FAFC
surface
#EEF3F8
border
#C9CDD1
text
#0A0F13
muted
#7C7F82