#2C7FAC#2C7FAC
#2C7FAC is a mid, moderate cyan. Relative luminance 0.187; OKLCH L 56.7% C 0.104 H 236.8°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).
Color values
| HEX | #2C7FAC |
|---|---|
| RGB | rgb(44, 127, 172) |
| HSL | hsl(201, 59%, 42%) |
| HSV | hsv(201, 74%, 67%) |
| CMYK | cmyk(74.4%, 26.2%, 0%, 32.5%) |
| CIE-LAB | lab(50.32, -9.39, -30.99) |
| CIE-LCH | lch(50.32, 32.38, 253.14°) |
| OKLab | oklab(56.74% -0.0572 -0.0874) |
| OKLCH | oklch(56.74% 0.104 236.8) |
| XYZ | xyz(16.0715, 18.6909, 41.7824) |
| Luminance | 0.1869 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Nice Blue
#107AB0
ΔE00 2.61
Cerulean
#007BA7
ΔE00 2.85
Steel Blue
#4682B4
ΔE00 4.20
Stormy Blue
#507B9C
ΔE00 4.79
Cool Blue
#4984B8
ΔE00 5.05
Water Blue
#0E87CC
ΔE00 5.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C7FAC #AC592C
analogous
#2CAC99 #2C7FAC #2C3FAC
triadic
#2C7FAC #AC2C7F #7FAC2C
tetradic
#2C7FAC #992CAC #AC592C #3FAC2C
square
#2C7FAC #992CAC #AC592C #3FAC2C
split-complementary
#2C7FAC #AC2C3F #AC992C
monochromatic
#13374B #205B7B #2C7FAC #469FD0 #76B8DC
Accessibility & contrast
On white
4.43
#2C7FAC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.74
#2C7FAC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2C7FAC
4.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C7FAC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2C7FAC | 1.00 | 4.43 | 4.74 | 4.74 |
| #FFFFFF | 4.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6A7FAE
Deuteranopia (green-blind)
#5872AB
Tritanopia (blue-blind)
#008B8E
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #2c7fac; /* rgb */ color: rgb(44, 127, 172); /* oklch */ color: oklch(56.7% 0.104 236.8);
Tailwind
colors: {
custom: {
50: '#77a4c5',
500: '#2c7fac',
950: '#000000',
},
}SCSS
$custom: #2c7fac; $custom-light: #77a4c5; $custom-dark: #000000;
JSON
{
"hex": "#2c7fac",
"rgb": {
"r": 44,
"g": 127,
"b": 172
},
"hsl": {
"h": 201.094,
"s": 59.259,
"l": 42.353
},
"oklch": {
"l": 0.56739,
"c": 0.10441,
"h": 236.8
},
"luminance": 0.18693
}Semantic roles & 50–950 ramp
primary
#2C7FAC
secondary
#C48D70
accent
#7D45E2
background
#F7FAFC
surface
#EEF3F8
border
#C9CDD1
text
#0A0F13
muted
#7C7F82