#2F798D#2F798D
#2F798D is a mid, moderate cyan. Relative luminance 0.162; OKLCH L 53.9% C 0.078 H 218.8°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).
Color values
| HEX | #2F798D |
|---|---|
| RGB | rgb(47, 121, 141) |
| HSL | hsl(193, 50%, 37%) |
| HSV | hsv(193, 67%, 55%) |
| CMYK | cmyk(66.7%, 14.2%, 0%, 44.7%) |
| CIE-LAB | lab(47.24, -16.18, -17.62) |
| CIE-LCH | lch(47.24, 23.92, 227.43°) |
| OKLab | oklab(53.87% -0.0609 -0.0491) |
| OKLCH | oklch(53.87% 0.078 218.8) |
| XYZ | xyz(12.8154, 16.2008, 27.6458) |
| Luminance | 0.1620 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Ocean
#017B92
ΔE00 2.35
Sea Blue
#047495
ΔE00 4.72
Dirty Blue
#3F829D
ΔE00 5.03
Teal Blue
#01889F
ΔE00 5.84
Deep Aqua
#08787F
ΔE00 7.13
Cerulean
#007BA7
ΔE00 7.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F798D #8D432F
analogous
#2F8D72 #2F798D #2F4A8D
triadic
#2F798D #8D2F79 #798D2F
tetradic
#2F798D #722F8D #8D432F #4A8D2F
square
#2F798D #722F8D #8D432F #4A8D2F
split-complementary
#2F798D #8D2F4A #8D722F
monochromatic
#102A31 #20525F #2F798D #3EA0BB #69B8CD
Accessibility & contrast
On white
4.95
#2F798D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.24
#2F798D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F798D
4.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F798D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F798D | 1.00 | 4.95 | 4.24 | 4.95 |
| #FFFFFF | 4.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6C768E
Deuteranopia (green-blind)
#5F6C8D
Tritanopia (blue-blind)
#00807F
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #2f798d; /* rgb */ color: rgb(47, 121, 141); /* oklch */ color: oklch(53.9% 0.078 218.8);
Tailwind
colors: {
custom: {
50: '#739fae',
500: '#2f798d',
950: '#000000',
},
}SCSS
$custom: #2f798d; $custom-light: #739fae; $custom-dark: #000000;
JSON
{
"hex": "#2f798d",
"rgb": {
"r": 47,
"g": 121,
"b": 141
},
"hsl": {
"h": 192.766,
"s": 50,
"l": 36.863
},
"oklch": {
"l": 0.53867,
"c": 0.07824,
"h": 218.8
},
"luminance": 0.16202
}Semantic roles & 50–950 ramp
primary
#2F798D
secondary
#B47564
accent
#6C4EDA
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#090E10
muted
#7B7E7F