#297F8A#297F8A

#297F8A is a mid, moderate teal. Relative luminance 0.175; OKLCH L 55.1% C 0.081 H 207.3°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#297F8A
RGBrgb(41, 127, 138)
HSLhsl(187, 54%, 35%)
HSVhsv(187, 70%, 54%)
CMYKcmyk(70.3%, 8%, 0%, 45.9%)
CIE-LABlab(48.86, -21.38, -13.39)
CIE-LCHlch(48.86, 25.23, 212.05°)
OKLaboklab(55.09% -0.0721 -0.0372)
OKLCHoklch(55.09% 0.081 207.3)
XYZxyz(13.0893, 17.4837, 26.7247)
Luminance0.1749 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297F8A #8A3429
analogous
#298A64 #297F8A #294F8A
triadic
#297F8A #8A297F #7F8A29
tetradic
#297F8A #64298A #8A3429 #4F8A29
square
#297F8A #64298A #8A3429 #4F8A29
split-complementary
#297F8A #8A294F #8A6429
monochromatic
#0D282C #1B545B #297F8A #37AAB9 #5EC2CF

Accessibility & contrast

On white

4.67
#297F8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#297F8A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #297F8A
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##297F8A#FFFFFF#000000##FFFFFF
##297F8A1.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#747A8B
Deuteranopia (green-blind)
#66708A
Tritanopia (blue-blind)
#008582
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #297f8a;
/* rgb */ color: rgb(41, 127, 138);
/* oklch */ color: oklch(55.1% 0.081 207.3);
Tailwind
colors: {
  custom: {
    50: '#71a4ac',
    500: '#297f8a',
    950: '#000000',
  },
}
SCSS
$custom: #297f8a;
$custom-light: #71a4ac;
$custom-dark: #000000;
JSON
{
  "hex": "#297f8a",
  "rgb": {
    "r": 41,
    "g": 127,
    "b": 138
  },
  "hsl": {
    "h": 186.804,
    "s": 54.19,
    "l": 35.098
  },
  "oklch": {
    "l": 0.55091,
    "c": 0.08112,
    "h": 207.3
  },
  "luminance": 0.17485
}

Semantic roles & 50–950 ramp

primary
#297F8A
secondary
#B5645A
accent
#5B4ADE
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#090F10
muted
#7B7F7F

Preview Lab

Preview with #297F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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