#2C798D#2C798D
#2C798D is a mid, moderate cyan. Relative luminance 0.161; OKLCH L 53.8% C 0.080 H 218.3°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).
Color values
| HEX | #2C798D |
|---|---|
| RGB | rgb(44, 121, 141) |
| HSL | hsl(192, 52%, 36%) |
| HSV | hsv(192, 69%, 55%) |
| CMYK | cmyk(68.8%, 14.2%, 0%, 44.7%) |
| CIE-LAB | lab(47.15, -16.69, -17.76) |
| CIE-LCH | lch(47.15, 24.37, 226.78°) |
| OKLab | oklab(53.77% -0.0627 -0.0495) |
| OKLCH | oklch(53.77% 0.08 218.3) |
| XYZ | xyz(12.6818, 16.1319, 27.6395) |
| Luminance | 0.1613 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Ocean
#017B92
ΔE00 2.08
Sea Blue
#047495
ΔE00 4.74
Dirty Blue
#3F829D
ΔE00 5.24
Teal Blue
#01889F
ΔE00 5.75
Deep Aqua
#08787F
ΔE00 6.89
Cerulean
#007BA7
ΔE00 7.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C798D #8D402C
analogous
#2C8D71 #2C798D #2C498D
triadic
#2C798D #8D2C79 #798D2C
tetradic
#2C798D #712C8D #8D402C #498D2C
square
#2C798D #712C8D #8D402C #498D2C
split-complementary
#2C798D #8D2C49 #8D712C
monochromatic
#0F2930 #1D515E #2C798D #3BA1BC #65B9CF
Accessibility & contrast
On white
4.97
#2C798D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.23
#2C798D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2C798D
4.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C798D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C798D | 1.00 | 4.97 | 4.23 | 4.97 |
| #FFFFFF | 4.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6C768E
Deuteranopia (green-blind)
#5E6B8D
Tritanopia (blue-blind)
#00807F
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #2c798d; /* rgb */ color: rgb(44, 121, 141); /* oklch */ color: oklch(53.8% 0.080 218.3);
Tailwind
colors: {
custom: {
50: '#72a0ae',
500: '#2c798d',
950: '#000000',
},
}SCSS
$custom: #2c798d; $custom-light: #72a0ae; $custom-dark: #000000;
JSON
{
"hex": "#2c798d",
"rgb": {
"r": 44,
"g": 121,
"b": 141
},
"hsl": {
"h": 192.371,
"s": 52.432,
"l": 36.275
},
"oklch": {
"l": 0.5377,
"c": 0.07987,
"h": 218.3
},
"luminance": 0.16133
}Semantic roles & 50–950 ramp
primary
#2C798D
secondary
#B57160
accent
#6A4CDC
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#090E10
muted
#7B7E7F