#2C7DC7#2C7DC7
#2C7DC7 is a mid, vivid cyan. Relative luminance 0.193; OKLCH L 57.8% C 0.138 H 250.0°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).
Color values
| HEX | #2C7DC7 |
|---|---|
| RGB | rgb(44, 125, 199) |
| HSL | hsl(209, 64%, 48%) |
| HSV | hsv(209, 78%, 78%) |
| CMYK | cmyk(77.9%, 37.2%, 0%, 22%) |
| CIE-LAB | lab(51.06, 1.62, -45.34) |
| CIE-LCH | lch(51.06, 45.37, 272.04°) |
| OKLab | oklab(57.76% -0.0472 -0.1292) |
| OKLCH | oklch(57.76% 0.138 250) |
| XYZ | xyz(18.6772, 19.3240, 56.7673) |
| Luminance | 0.1933 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Windows Blue
#3778BF
ΔE00 2.37
Bluish
#2976BB
ΔE00 2.84
Steel Blue
#4682B4
ΔE00 3.19
Cool Blue
#4984B8
ΔE00 3.43
Cerulean (survey)
#0485D1
ΔE00 3.74
Water Blue
#0E87CC
ΔE00 4.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C7DC7 #C7762C
analogous
#2CC7C3 #2C7DC7 #2C30C7
triadic
#2C7DC7 #C72C7D #7DC72C
tetradic
#2C7DC7 #C32CC7 #C7762C #30C72C
square
#2C7DC7 #C32CC7 #C7762C #30C72C
split-complementary
#2C7DC7 #C72C30 #C7C32C
monochromatic
#163E63 #215E95 #2C7DC7 #569BDA #89B9E5
Accessibility & contrast
On white
4.32
#2C7DC7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.87
#2C7DC7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2C7DC7
4.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C7DC7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2C7DC7 | 1.00 | 4.32 | 4.87 | 4.87 |
| #FFFFFF | 4.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A81CA
Deuteranopia (green-blind)
#4373C6
Tritanopia (blue-blind)
#008F98
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #2c7dc7; /* rgb */ color: rgb(44, 125, 199); /* oklch */ color: oklch(57.8% 0.138 250.0);
Tailwind
colors: {
custom: {
50: '#7ca2d8',
500: '#2c7dc7',
950: '#000000',
},
}SCSS
$custom: #2c7dc7; $custom-light: #7ca2d8; $custom-dark: #000000;
JSON
{
"hex": "#2c7dc7",
"rgb": {
"r": 44,
"g": 125,
"b": 199
},
"hsl": {
"h": 208.645,
"s": 63.786,
"l": 47.647
},
"oklch": {
"l": 0.57762,
"c": 0.13758,
"h": 250
},
"luminance": 0.19326
}Semantic roles & 50–950 ramp
primary
#2C7DC7
secondary
#CFA680
accent
#9041E7
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0F14
muted
#7C7E83