#2C7EB4#2C7EB4
#2C7EB4 is a mid, moderate cyan. Relative luminance 0.188; OKLCH L 56.9% C 0.114 H 241.9°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).
Color values
| HEX | #2C7EB4 |
|---|---|
| RGB | rgb(44, 126, 180) |
| HSL | hsl(204, 61%, 44%) |
| HSV | hsv(204, 76%, 71%) |
| CMYK | cmyk(75.6%, 30%, 0%, 29.4%) |
| CIE-LAB | lab(50.39, -5.94, -35.50) |
| CIE-LCH | lch(50.39, 35.99, 260.50°) |
| OKLab | oklab(56.92% -0.0535 -0.1005) |
| OKLCH | oklch(56.92% 0.114 241.9) |
| XYZ | xyz(16.7346, 18.7505, 45.9084) |
| Luminance | 0.1875 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Nice Blue
#107AB0
ΔE00 2.30
Steel Blue
#4682B4
ΔE00 2.96
Cool Blue
#4984B8
ΔE00 3.80
Cerulean (survey)
#0485D1
ΔE00 3.97
Water Blue
#0E87CC
ΔE00 3.98
Bluish
#2976BB
ΔE00 4.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C7EB4 #B4622C
analogous
#2CB4A6 #2C7EB4 #2C3AB4
triadic
#2C7EB4 #B42C7E #7EB42C
tetradic
#2C7EB4 #A62CB4 #B4622C #3AB42C
square
#2C7EB4 #A62CB4 #B4622C #3AB42C
split-complementary
#2C7EB4 #B42C3A #B4A62C
monochromatic
#143952 #205C83 #2C7EB4 #4A9DD3 #7CB7DF
Accessibility & contrast
On white
4.42
#2C7EB4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.75
#2C7EB4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2C7EB4
4.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C7EB4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2C7EB4 | 1.00 | 4.42 | 4.75 | 4.75 |
| #FFFFFF | 4.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#657FB6
Deuteranopia (green-blind)
#5272B3
Tritanopia (blue-blind)
#008B91
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #2c7eb4; /* rgb */ color: rgb(44, 126, 180); /* oklch */ color: oklch(56.9% 0.114 241.9);
Tailwind
colors: {
custom: {
50: '#78a3ca',
500: '#2c7eb4',
950: '#000000',
},
}SCSS
$custom: #2c7eb4; $custom-light: #78a3ca; $custom-dark: #000000;
JSON
{
"hex": "#2c7eb4",
"rgb": {
"r": 44,
"g": 126,
"b": 180
},
"hsl": {
"h": 203.824,
"s": 60.714,
"l": 43.922
},
"oklch": {
"l": 0.56918,
"c": 0.11385,
"h": 241.9
},
"luminance": 0.18752
}Semantic roles & 50–950 ramp
primary
#2C7EB4
secondary
#C79575
accent
#8344E4
background
#F7FAFC
surface
#EEF3F8
border
#C9CDD1
text
#0A0F13
muted
#7C7F82