#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
RGBrgb(41, 119, 151)
HSLhsl(197, 57%, 38%)
HSVhsv(197, 73%, 59%)
CMYKcmyk(72.8%, 21.2%, 0%, 40.8%)
CIE-LABlab(46.84, -12.62, -24.14)
CIE-LCHlch(46.84, 27.24, 242.40°)
OKLaboklab(53.64% -0.0582 -0.0677)
OKLCHoklch(53.64% 0.089 229.3)
XYZxyz(13.0949, 15.8979, 31.6506)
Luminance0.1590 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

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
##2977971.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.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

Preview Lab

Preview with #297797

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#297797 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva