#297271#297271

#297271 is a mid, moderate teal. Relative luminance 0.137; OKLCH L 50.7% C 0.071 H 193.9°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#297271
RGBrgb(41, 114, 113)
HSLhsl(179, 47%, 30%)
HSVhsv(179, 64%, 45%)
CMYKcmyk(64%, 0%, 0.9%, 55.3%)
CIE-LABlab(43.80, -22.40, -6.14)
CIE-LCHlch(43.80, 23.22, 195.33°)
OKLaboklab(50.71% -0.0691 -0.017)
OKLCHoklch(50.71% 0.071 193.9)
XYZxyz(9.9111, 13.6972, 17.7411)
Luminance0.1370 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297271 #72292A
analogous
#29724C #297271 #294E72
triadic
#297271 #712972 #727129
tetradic
#297271 #4C2972 #72292A #4E7229
square
#297271 #4C2972 #72292A #4E7229
split-complementary
#297271 #72294E #724C29
monochromatic
#091818 #194544 #297271 #399F9E #54C1C0

Accessibility & contrast

On white

5.62
#297271 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#297271 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #297271
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##297271#FFFFFF#000000##FFFFFF
##2972711.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B6C71
Deuteranopia (green-blind)
#5F6472
Tritanopia (blue-blind)
#007571
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #297271;
/* rgb */ color: rgb(41, 114, 113);
/* oklch */ color: oklch(50.7% 0.071 193.9);
Tailwind
colors: {
  custom: {
    50: '#6d9b99',
    500: '#297271',
    950: '#000000',
  },
}
SCSS
$custom: #297271;
$custom-light: #6d9b99;
$custom-dark: #000000;
JSON
{
  "hex": "#297271",
  "rgb": {
    "r": 41,
    "g": 114,
    "b": 113
  },
  "hsl": {
    "h": 179.178,
    "s": 47.097,
    "l": 30.392
  },
  "oklch": {
    "l": 0.5071,
    "c": 0.07113,
    "h": 193.9
  },
  "luminance": 0.13698
}

Semantic roles & 50–950 ramp

primary
#297271
secondary
#A45354
accent
#5153D7
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#080E0E
muted
#7A7E7E

Preview Lab

Preview with #297271

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

Preview Lab → · Contrast checker → · Palette generator →

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