#297897#297897

#297897 is a mid, moderate cyan. Relative luminance 0.161; OKLCH L 53.9% C 0.089 H 228.2°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#297897
RGBrgb(41, 120, 151)
HSLhsl(197, 57%, 38%)
HSVhsv(197, 73%, 59%)
CMYKcmyk(72.8%, 20.5%, 0%, 40.8%)
CIE-LABlab(47.15, -13.19, -23.66)
CIE-LCHlch(47.15, 27.08, 240.86°)
OKLaboklab(53.89% -0.0593 -0.0663)
OKLCHoklch(53.89% 0.089 228.2)
XYZxyz(13.2146, 16.1372, 31.6905)
Luminance0.1614 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297897 #974829
analogous
#29977F #297897 #294197
triadic
#297897 #972978 #789729
tetradic
#297897 #7F2997 #974829 #419729
square
#297897 #7F2997 #974829 #419729
split-complementary
#297897 #972941 #977F29
monochromatic
#0F2B37 #1C5267 #297897 #369EC7 #65B6D5

Accessibility & contrast

On white

4.97
#297897 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#297897 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #297897
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##297897#FFFFFF#000000##FFFFFF
##2978971.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#687699
Deuteranopia (green-blind)
#596B97
Tritanopia (blue-blind)
#008182
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #297897;
/* rgb */ color: rgb(41, 120, 151);
/* oklch */ color: oklch(53.9% 0.089 228.2);
Tailwind
colors: {
  custom: {
    50: '#729fb5',
    500: '#297897',
    950: '#000000',
  },
}
SCSS
$custom: #297897;
$custom-light: #729fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#297897",
  "rgb": {
    "r": 41,
    "g": 120,
    "b": 151
  },
  "hsl": {
    "h": 196.909,
    "s": 57.292,
    "l": 37.647
  },
  "oklch": {
    "l": 0.53886,
    "c": 0.08894,
    "h": 228.2
  },
  "luminance": 0.16139
}

Semantic roles & 50–950 ramp

primary
#297897
secondary
#BB7A61
accent
#7247E1
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #297897

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

Preview Lab → · Contrast checker → · Palette generator →

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