#297D7E#297D7E

#297D7E is a mid, moderate teal. Relative luminance 0.166; OKLCH L 54.1% C 0.078 H 196.2°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#297D7E
RGBrgb(41, 125, 126)
HSLhsl(181, 51%, 33%)
HSVhsv(181, 67%, 49%)
CMYKcmyk(67.5%, 0.8%, 0%, 50.6%)
CIE-LABlab(47.81, -24.12, -7.90)
CIE-LCHlch(47.81, 25.38, 198.14°)
OKLaboklab(54.1% -0.0754 -0.0219)
OKLCHoklch(54.1% 0.078 196.2)
XYZxyz(12.0123, 16.6437, 22.3141)
Luminance0.1664 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297D7E #7E2A29
analogous
#297E54 #297D7E #29527E
triadic
#297D7E #7E297D #7D7E29
tetradic
#297D7E #54297E #7E2A29 #527E29
square
#297D7E #54297E #7E2A29 #527E29
split-complementary
#297D7E #7E2952 #7E5429
monochromatic
#0B2122 #1A4F50 #297D7E #38ABAC #59C8C9

Accessibility & contrast

On white

4.85
#297D7E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#297D7E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #297D7E
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##297D7E#FFFFFF#000000##FFFFFF
##297D7E1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#75777E
Deuteranopia (green-blind)
#686D7F
Tritanopia (blue-blind)
#00817D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #297d7e;
/* rgb */ color: rgb(41, 125, 126);
/* oklch */ color: oklch(54.1% 0.078 196.2);
Tailwind
colors: {
  custom: {
    50: '#6fa3a3',
    500: '#297d7e',
    950: '#000000',
  },
}
SCSS
$custom: #297d7e;
$custom-light: #6fa3a3;
$custom-dark: #000000;
JSON
{
  "hex": "#297d7e",
  "rgb": {
    "r": 41,
    "g": 125,
    "b": 126
  },
  "hsl": {
    "h": 180.706,
    "s": 50.898,
    "l": 32.745
  },
  "oklch": {
    "l": 0.54101,
    "c": 0.07849,
    "h": 196.2
  },
  "luminance": 0.16645
}

Semantic roles & 50–950 ramp

primary
#297D7E
secondary
#AE5655
accent
#4F4DDA
background
#F7FAFA
surface
#EDF3F3
border
#C8CDCD
text
#080F0F
muted
#7B7F7F

Preview Lab

Preview with #297D7E

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

Preview Lab → · Contrast checker → · Palette generator →

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