#2C7FA3#2C7FA3
#2C7FA3 is a mid, moderate cyan. Relative luminance 0.184; OKLCH L 56.3% C 0.096 H 230.8°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).
Color values
| HEX | #2C7FA3 |
|---|---|
| RGB | rgb(44, 127, 163) |
| HSL | hsl(198, 57%, 41%) |
| HSV | hsv(198, 73%, 64%) |
| CMYK | cmyk(73%, 22.1%, 0%, 36.1%) |
| CIE-LAB | lab(49.93, -12.55, -26.38) |
| CIE-LCH | lch(49.93, 29.21, 244.56°) |
| OKLab | oklab(56.29% -0.0604 -0.0741) |
| OKLCH | oklch(56.29% 0.096 230.8) |
| XYZ | xyz(15.2363, 18.3568, 37.3835) |
| Luminance | 0.1836 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Cerulean
#007BA7
ΔE00 2.65
Dirty Blue
#3F829D
ΔE00 2.96
Nice Blue
#107AB0
ΔE00 4.85
Sea Blue
#047495
ΔE00 4.91
Stormy Blue
#507B9C
ΔE00 5.45
Ocean Blue (survey)
#03719C
ΔE00 5.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C7FA3 #A3502C
analogous
#2CA38B #2C7FA3 #2C44A3
triadic
#2C7FA3 #A32C7F #7FA32C
tetradic
#2C7FA3 #8B2CA3 #A3502C #44A32C
square
#2C7FA3 #8B2CA3 #A3502C #44A32C
split-complementary
#2C7FA3 #A32C44 #A38B2C
monochromatic
#123443 #1F5973 #2C7FA3 #41A2CC #71B9D9
Accessibility & contrast
On white
4.50
#2C7FA3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.67
#2C7FA3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2C7FA3
4.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C7FA3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2C7FA3 | 1.00 | 4.50 | 4.67 | 4.67 |
| #FFFFFF | 4.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6D7DA5
Deuteranopia (green-blind)
#5D72A2
Tritanopia (blue-blind)
#00898B
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #2c7fa3; /* rgb */ color: rgb(44, 127, 163); /* oklch */ color: oklch(56.3% 0.096 230.8);
Tailwind
colors: {
custom: {
50: '#75a4be',
500: '#2c7fa3',
950: '#000000',
},
}SCSS
$custom: #2c7fa3; $custom-light: #75a4be; $custom-dark: #000000;
JSON
{
"hex": "#2c7fa3",
"rgb": {
"r": 44,
"g": 127,
"b": 163
},
"hsl": {
"h": 198.151,
"s": 57.488,
"l": 40.588
},
"oklch": {
"l": 0.56291,
"c": 0.09557,
"h": 230.8
},
"luminance": 0.18359
}Semantic roles & 50–950 ramp
primary
#2C7FA3
secondary
#C0856B
accent
#7647E1
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#0A0F12
muted
#7C7F81