#297971#297971

#297971 is a mid, moderate teal. Relative luminance 0.153; OKLCH L 52.6% C 0.077 H 185.8°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#297971
RGBrgb(41, 121, 113)
HSLhsl(174, 49%, 32%)
HSVhsv(174, 66%, 47%)
CMYKcmyk(66.1%, 0%, 6.6%, 52.5%)
CIE-LABlab(46.09, -25.98, -2.74)
CIE-LCHlch(46.09, 26.12, 186.02°)
OKLaboklab(52.57% -0.0771 -0.0078)
OKLCHoklch(52.57% 0.077 185.8)
XYZxyz(10.7311, 15.3373, 18.0144)
Luminance0.1534 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297971 #792931
analogous
#297949 #297971 #295979
triadic
#297971 #712979 #797129
tetradic
#297971 #492979 #792931 #597929
square
#297971 #492979 #792931 #597929
split-complementary
#297971 #792959 #794929
monochromatic
#0A1E1C #1A4B46 #297971 #38A79C #56C6BB

Accessibility & contrast

On white

5.16
#297971 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#297971 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #297971
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##297971#FFFFFF#000000##FFFFFF
##2979711.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#737271
Deuteranopia (green-blind)
#676972
Tritanopia (blue-blind)
#007C76
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #297971;
/* rgb */ color: rgb(41, 121, 113);
/* oklch */ color: oklch(52.6% 0.077 185.8);
Tailwind
colors: {
  custom: {
    50: '#6ea099',
    500: '#297971',
    950: '#000000',
  },
}
SCSS
$custom: #297971;
$custom-light: #6ea099;
$custom-dark: #000000;
JSON
{
  "hex": "#297971",
  "rgb": {
    "r": 41,
    "g": 121,
    "b": 113
  },
  "hsl": {
    "h": 174,
    "s": 49.383,
    "l": 31.765
  },
  "oklch": {
    "l": 0.52573,
    "c": 0.07747,
    "h": 185.8
  },
  "luminance": 0.15338
}

Semantic roles & 50–950 ramp

primary
#297971
secondary
#AB535C
accent
#4F5DD9
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#080E0E
muted
#7B7E7E

Preview Lab

Preview with #297971

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

Preview Lab → · Contrast checker → · Palette generator →

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