#2C7DAB#2C7DAB
#2C7DAB is a mid, moderate cyan. Relative luminance 0.181; OKLCH L 56.2% C 0.105 H 238.0°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).
Color values
| HEX | #2C7DAB |
|---|---|
| RGB | rgb(44, 125, 171) |
| HSL | hsl(202, 59%, 42%) |
| HSV | hsv(202, 74%, 67%) |
| CMYK | cmyk(74.3%, 26.9%, 0%, 32.9%) |
| CIE-LAB | lab(49.67, -8.59, -31.43) |
| CIE-LCH | lch(49.67, 32.58, 254.72°) |
| OKLab | oklab(56.2% -0.0555 -0.0887) |
| OKLCH | oklch(56.2% 0.105 238) |
| XYZ | xyz(15.7201, 18.1412, 41.1933) |
| Luminance | 0.1814 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Nice Blue
#107AB0
ΔE00 1.93
Cerulean
#007BA7
ΔE00 2.83
Steel Blue
#4682B4
ΔE00 4.18
Stormy Blue
#507B9C
ΔE00 4.56
Cool Blue
#4984B8
ΔE00 5.09
Ocean Blue (survey)
#03719C
ΔE00 5.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C7DAB #AB5A2C
analogous
#2CAB9A #2C7DAB #2C3EAB
triadic
#2C7DAB #AB2C7D #7DAB2C
tetradic
#2C7DAB #9A2CAB #AB5A2C #3EAB2C
square
#2C7DAB #9A2CAB #AB5A2C #3EAB2C
split-complementary
#2C7DAB #AB2C3E #AB9A2C
monochromatic
#13364A #1F597A #2C7DAB #459DCF #76B7DC
Accessibility & contrast
On white
4.54
#2C7DAB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.63
#2C7DAB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2C7DAB
4.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C7DAB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2C7DAB | 1.00 | 4.54 | 4.63 | 4.63 |
| #FFFFFF | 4.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.63 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.63 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#677DAD
Deuteranopia (green-blind)
#5671AA
Tritanopia (blue-blind)
#00898D
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #2c7dab; /* rgb */ color: rgb(44, 125, 171); /* oklch */ color: oklch(56.2% 0.105 238.0);
Tailwind
colors: {
custom: {
50: '#77a2c4',
500: '#2c7dab',
950: '#000000',
},
}SCSS
$custom: #2c7dab; $custom-light: #77a2c4; $custom-dark: #000000;
JSON
{
"hex": "#2c7dab",
"rgb": {
"r": 44,
"g": 125,
"b": 171
},
"hsl": {
"h": 201.732,
"s": 59.07,
"l": 42.157
},
"oklch": {
"l": 0.56202,
"c": 0.10463,
"h": 238
},
"luminance": 0.18143
}Semantic roles & 50–950 ramp
primary
#2C7DAB
secondary
#C38E6F
accent
#7E46E2
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0F12
muted
#7C7E81