#2C7FAB#2C7FAB
#2C7FAB is a mid, moderate cyan. Relative luminance 0.187; OKLCH L 56.7% C 0.103 H 236.2°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).
Color values
| HEX | #2C7FAB |
|---|---|
| RGB | rgb(44, 127, 171) |
| HSL | hsl(201, 59%, 42%) |
| HSV | hsv(201, 74%, 67%) |
| CMYK | cmyk(74.3%, 25.7%, 0%, 32.9%) |
| CIE-LAB | lab(50.28, -9.74, -30.48) |
| CIE-LCH | lch(50.28, 32.00, 252.27°) |
| OKLab | oklab(56.69% -0.0575 -0.0859) |
| OKLCH | oklch(56.69% 0.103 236.2) |
| XYZ | xyz(15.9759, 18.6526, 41.2785) |
| Luminance | 0.1865 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Cerulean
#007BA7
ΔE00 2.68
Nice Blue
#107AB0
ΔE00 2.78
Steel Blue
#4682B4
ΔE00 4.41
Stormy Blue
#507B9C
ΔE00 4.80
Dirty Blue
#3F829D
ΔE00 5.05
Cool Blue
#4984B8
ΔE00 5.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C7FAB #AB582C
analogous
#2CAB97 #2C7FAB #2C40AB
triadic
#2C7FAB #AB2C7F #7FAB2C
tetradic
#2C7FAB #972CAB #AB582C #40AB2C
square
#2C7FAB #972CAB #AB582C #40AB2C
split-complementary
#2C7FAB #AB2C40 #AB972C
monochromatic
#13374A #1F5B7A #2C7FAB #459FCF #76B8DC
Accessibility & contrast
On white
4.44
#2C7FAB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.73
#2C7FAB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2C7FAB
4.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C7FAB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2C7FAB | 1.00 | 4.44 | 4.73 | 4.73 |
| #FFFFFF | 4.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6A7EAD
Deuteranopia (green-blind)
#5972AA
Tritanopia (blue-blind)
#008A8E
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #2c7fab; /* rgb */ color: rgb(44, 127, 171); /* oklch */ color: oklch(56.7% 0.103 236.2);
Tailwind
colors: {
custom: {
50: '#77a4c4',
500: '#2c7fab',
950: '#000000',
},
}SCSS
$custom: #2c7fab; $custom-light: #77a4c4; $custom-dark: #000000;
JSON
{
"hex": "#2c7fab",
"rgb": {
"r": 44,
"g": 127,
"b": 171
},
"hsl": {
"h": 200.787,
"s": 59.07,
"l": 42.157
},
"oklch": {
"l": 0.56688,
"c": 0.10337,
"h": 236.2
},
"luminance": 0.18654
}Semantic roles & 50–950 ramp
primary
#2C7FAB
secondary
#C38C6F
accent
#7C46E2
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A0F12
muted
#7C7F81