#297D8A#297D8A

#297D8A is a mid, moderate teal. Relative luminance 0.170; OKLCH L 54.6% C 0.081 H 209.7°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#297D8A
RGBrgb(41, 125, 138)
HSLhsl(188, 54%, 35%)
HSVhsv(188, 70%, 54%)
CMYKcmyk(70.3%, 9.4%, 0%, 45.9%)
CIE-LABlab(48.23, -20.32, -14.36)
CIE-LCHlch(48.23, 24.88, 215.24°)
OKLaboklab(54.58% -0.0699 -0.0399)
OKLCHoklch(54.58% 0.081 209.7)
XYZxyz(12.8336, 16.9722, 26.6394)
Luminance0.1697 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297D8A #8A3629
analogous
#298A66 #297D8A #294D8A
triadic
#297D8A #8A297D #7D8A29
tetradic
#297D8A #66298A #8A3629 #4D8A29
square
#297D8A #66298A #8A3629 #4D8A29
split-complementary
#297D8A #8A294D #8A6629
monochromatic
#0D282C #1B525B #297D8A #37A8B9 #5EC0CF

Accessibility & contrast

On white

4.78
#297D8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#297D8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #297D8A
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##297D8A#FFFFFF#000000##FFFFFF
##297D8A1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#72788B
Deuteranopia (green-blind)
#646E8A
Tritanopia (blue-blind)
#008381
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #297d8a;
/* rgb */ color: rgb(41, 125, 138);
/* oklch */ color: oklch(54.6% 0.081 209.7);
Tailwind
colors: {
  custom: {
    50: '#71a3ac',
    500: '#297d8a',
    950: '#000000',
  },
}
SCSS
$custom: #297d8a;
$custom-light: #71a3ac;
$custom-dark: #000000;
JSON
{
  "hex": "#297d8a",
  "rgb": {
    "r": 41,
    "g": 125,
    "b": 138
  },
  "hsl": {
    "h": 188.041,
    "s": 54.19,
    "l": 35.098
  },
  "oklch": {
    "l": 0.54576,
    "c": 0.08052,
    "h": 209.7
  },
  "luminance": 0.16974
}

Semantic roles & 50–950 ramp

primary
#297D8A
secondary
#B5665A
accent
#5E4ADE
background
#F7FAFA
surface
#EDF3F4
border
#C8CDCE
text
#090F10
muted
#7B7F7F

Preview Lab

Preview with #297D8A

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

Preview Lab → · Contrast checker → · Palette generator →

#297D8A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva