#297178#297178

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

Color values

HEX#297178
RGBrgb(41, 113, 120)
HSLhsl(185, 49%, 32%)
HSVhsv(185, 66%, 47%)
CMYKcmyk(65.8%, 5.8%, 0%, 52.9%)
CIE-LABlab(43.71, -19.69, -10.48)
CIE-LCHlch(43.71, 22.30, 208.03°)
OKLaboklab(50.72% -0.0646 -0.029)
OKLCHoklch(50.72% 0.071 204.2)
XYZxyz(10.2083, 13.6366, 19.8598)
Luminance0.1364 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297178 #783029
analogous
#297858 #297178 #294A78
triadic
#297178 #782971 #717829
tetradic
#297178 #582978 #783029 #4A7829
square
#297178 #582978 #783029 #4A7829
split-complementary
#297178 #78294A #785829
monochromatic
#0A1B1D #19464A #297178 #399CA6 #56BBC5

Accessibility & contrast

On white

5.63
#297178 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#297178 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #297178
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##297178#FFFFFF#000000##FFFFFF
##2971781.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#686C79
Deuteranopia (green-blind)
#5C6478
Tritanopia (blue-blind)
#007673
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #297178;
/* rgb */ color: rgb(41, 113, 120);
/* oklch */ color: oklch(50.7% 0.071 204.2);
Tailwind
colors: {
  custom: {
    50: '#6d9a9f',
    500: '#297178',
    950: '#000000',
  },
}
SCSS
$custom: #297178;
$custom-light: #6d9a9f;
$custom-dark: #000000;
JSON
{
  "hex": "#297178",
  "rgb": {
    "r": 41,
    "g": 113,
    "b": 120
  },
  "hsl": {
    "h": 185.316,
    "s": 49.068,
    "l": 31.569
  },
  "oklch": {
    "l": 0.50718,
    "c": 0.07087,
    "h": 204.2
  },
  "luminance": 0.13638
}

Semantic roles & 50–950 ramp

primary
#297178
secondary
#AA5B53
accent
#5B4FD9
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#080E0E
muted
#7A7E7E

Preview Lab

Preview with #297178

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

Preview Lab → · Contrast checker → · Palette generator →

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