#297797#297797
#297797 is a mid, moderate cyan. Relative luminance 0.159; OKLCH L 53.6% C 0.089 H 229.3°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).
Color values
| HEX | #297797 |
|---|---|
| RGB | rgb(41, 119, 151) |
| HSL | hsl(197, 57%, 38%) |
| HSV | hsv(197, 73%, 59%) |
| CMYK | cmyk(72.8%, 21.2%, 0%, 40.8%) |
| CIE-LAB | lab(46.84, -12.62, -24.14) |
| CIE-LCH | lch(46.84, 27.24, 242.40°) |
| OKLab | oklab(53.64% -0.0582 -0.0677) |
| OKLCH | oklch(53.64% 0.089 229.3) |
| XYZ | xyz(13.0949, 15.8979, 31.6506) |
| Luminance | 0.1590 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Sea Blue
#047495
ΔE00 2.14
Cerulean
#007BA7
ΔE00 3.31
Ocean Blue (survey)
#03719C
ΔE00 3.81
Dirty Blue
#3F829D
ΔE00 4.67
Ocean
#017B92
ΔE00 5.25
Nice Blue
#107AB0
ΔE00 5.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#297797 #974929
analogous
#299780 #297797 #294097
triadic
#297797 #972977 #779729
tetradic
#297797 #802997 #974929 #409729
square
#297797 #802997 #974929 #409729
split-complementary
#297797 #972940 #978029
monochromatic
#0F2B37 #1C5167 #297797 #369DC7 #65B5D5
Accessibility & contrast
On white
5.02
#297797 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.18
#297797 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #297797
5.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##297797 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##297797 | 1.00 | 5.02 | 4.18 | 5.02 |
| #FFFFFF | 5.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#667599
Deuteranopia (green-blind)
#576A97
Tritanopia (blue-blind)
#008082
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #297797; /* rgb */ color: rgb(41, 119, 151); /* oklch */ color: oklch(53.6% 0.089 229.3);
Tailwind
colors: {
custom: {
50: '#729eb5',
500: '#297797',
950: '#000000',
},
}SCSS
$custom: #297797; $custom-light: #729eb5; $custom-dark: #000000;
JSON
{
"hex": "#297797",
"rgb": {
"r": 41,
"g": 119,
"b": 151
},
"hsl": {
"h": 197.455,
"s": 57.292,
"l": 37.647
},
"oklch": {
"l": 0.53635,
"c": 0.0893,
"h": 229.3
},
"luminance": 0.15899
}Semantic roles & 50–950 ramp
primary
#297797
secondary
#BB7B61
accent
#7447E1
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80