#297997#297997

#297997 is a mid, moderate cyan. Relative luminance 0.164; OKLCH L 54.1% C 0.089 H 227.1°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#297997
RGBrgb(41, 121, 151)
HSLhsl(196, 57%, 38%)
HSVhsv(196, 73%, 59%)
CMYKcmyk(72.8%, 19.9%, 0%, 40.8%)
CIE-LABlab(47.47, -13.76, -23.17)
CIE-LCHlch(47.47, 26.95, 239.30°)
OKLaboklab(54.14% -0.0603 -0.0649)
OKLCHoklch(54.14% 0.089 227.1)
XYZxyz(13.3355, 16.3790, 31.7308)
Luminance0.1638 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297997 #974729
analogous
#29977E #297997 #294297
triadic
#297997 #972979 #799729
tetradic
#297997 #7E2997 #974729 #429729
square
#297997 #7E2997 #974729 #429729
split-complementary
#297997 #972942 #977E29
monochromatic
#0F2C37 #1C5267 #297997 #36A0C7 #65B7D5

Accessibility & contrast

On white

4.91
#297997 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#297997 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #297997
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##297997#FFFFFF#000000##FFFFFF
##2979971.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#697799
Deuteranopia (green-blind)
#5A6C97
Tritanopia (blue-blind)
#008283
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #297997;
/* rgb */ color: rgb(41, 121, 151);
/* oklch */ color: oklch(54.1% 0.089 227.1);
Tailwind
colors: {
  custom: {
    50: '#729fb5',
    500: '#297997',
    950: '#000000',
  },
}
SCSS
$custom: #297997;
$custom-light: #729fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#297997",
  "rgb": {
    "r": 41,
    "g": 121,
    "b": 151
  },
  "hsl": {
    "h": 196.364,
    "s": 57.292,
    "l": 37.647
  },
  "oklch": {
    "l": 0.54137,
    "c": 0.08861,
    "h": 227.1
  },
  "luminance": 0.16381
}

Semantic roles & 50–950 ramp

primary
#297997
secondary
#BB7961
accent
#7147E1
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #297997

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

Preview Lab → · Contrast checker → · Palette generator →

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