#297870#297870

#297870 is a mid, moderate teal. Relative luminance 0.151; OKLCH L 52.3% C 0.077 H 185.7°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#297870
RGBrgb(41, 120, 112)
HSLhsl(174, 49%, 32%)
HSVhsv(174, 66%, 47%)
CMYKcmyk(65.8%, 0%, 6.7%, 52.9%)
CIE-LABlab(45.73, -25.77, -2.67)
CIE-LCHlch(45.73, 25.91, 185.92°)
OKLaboklab(52.27% -0.0764 -0.0076)
OKLCHoklch(52.27% 0.077 185.7)
XYZxyz(10.5542, 15.0731, 17.6793)
Luminance0.1507 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297870 #782931
analogous
#297849 #297870 #295978
triadic
#297870 #702978 #787029
tetradic
#297870 #492978 #782931 #597829
square
#297870 #492978 #782931 #597829
split-complementary
#297870 #782959 #784929
monochromatic
#0A1D1B #194A45 #297870 #39A69B #56C5BA

Accessibility & contrast

On white

5.23
#297870 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#297870 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #297870
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##297870#FFFFFF#000000##FFFFFF
##2978701.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#727170
Deuteranopia (green-blind)
#666971
Tritanopia (blue-blind)
#007B75
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #297870;
/* rgb */ color: rgb(41, 120, 112);
/* oklch */ color: oklch(52.3% 0.077 185.7);
Tailwind
colors: {
  custom: {
    50: '#6d9f99',
    500: '#297870',
    950: '#000000',
  },
}
SCSS
$custom: #297870;
$custom-light: #6d9f99;
$custom-dark: #000000;
JSON
{
  "hex": "#297870",
  "rgb": {
    "r": 41,
    "g": 120,
    "b": 112
  },
  "hsl": {
    "h": 173.924,
    "s": 49.068,
    "l": 31.569
  },
  "oklch": {
    "l": 0.52272,
    "c": 0.07681,
    "h": 185.7
  },
  "luminance": 0.15074
}

Semantic roles & 50–950 ramp

primary
#297870
secondary
#AA535C
accent
#4F5DD9
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#080E0D
muted
#7B7E7E

Preview Lab

Preview with #297870

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

Preview Lab → · Contrast checker → · Palette generator →

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