#297E8A#297E8A

#297E8A is a mid, moderate teal. Relative luminance 0.172; OKLCH L 54.8% C 0.081 H 208.5°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#297E8A
RGBrgb(41, 126, 138)
HSLhsl(187, 54%, 35%)
HSVhsv(187, 70%, 54%)
CMYKcmyk(70.3%, 8.7%, 0%, 45.9%)
CIE-LABlab(48.54, -20.85, -13.87)
CIE-LCHlch(48.54, 25.04, 213.63°)
OKLaboklab(54.83% -0.071 -0.0385)
OKLCHoklch(54.83% 0.081 208.5)
XYZxyz(12.9608, 17.2266, 26.6818)
Luminance0.1723 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297E8A #8A3529
analogous
#298A66 #297E8A #294D8A
triadic
#297E8A #8A297E #7E8A29
tetradic
#297E8A #66298A #8A3529 #4D8A29
square
#297E8A #66298A #8A3529 #4D8A29
split-complementary
#297E8A #8A294D #8A6629
monochromatic
#0D282C #1B535B #297E8A #37A9B9 #5EC1CF

Accessibility & contrast

On white

4.72
#297E8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#297E8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #297E8A
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##297E8A#FFFFFF#000000##FFFFFF
##297E8A1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#73798B
Deuteranopia (green-blind)
#656F8A
Tritanopia (blue-blind)
#008482
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #297e8a;
/* rgb */ color: rgb(41, 126, 138);
/* oklch */ color: oklch(54.8% 0.081 208.5);
Tailwind
colors: {
  custom: {
    50: '#71a3ac',
    500: '#297e8a',
    950: '#000000',
  },
}
SCSS
$custom: #297e8a;
$custom-light: #71a3ac;
$custom-dark: #000000;
JSON
{
  "hex": "#297e8a",
  "rgb": {
    "r": 41,
    "g": 126,
    "b": 138
  },
  "hsl": {
    "h": 187.423,
    "s": 54.19,
    "l": 35.098
  },
  "oklch": {
    "l": 0.54833,
    "c": 0.0808,
    "h": 208.5
  },
  "luminance": 0.17228
}

Semantic roles & 50–950 ramp

primary
#297E8A
secondary
#B5655A
accent
#5C4ADE
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#090F10
muted
#7B7F7F

Preview Lab

Preview with #297E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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