#197787#197787

#197787 is a mid, moderate teal. Relative luminance 0.151; OKLCH L 52.5% C 0.085 H 212.2°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#197787
RGBrgb(25, 119, 135)
HSLhsl(189, 69%, 31%)
HSVhsv(189, 81%, 53%)
CMYKcmyk(81.5%, 11.9%, 0%, 47.1%)
CIE-LABlab(45.84, -20.18, -16.25)
CIE-LCHlch(45.84, 25.91, 218.84°)
OKLaboklab(52.51% -0.0718 -0.0453)
OKLCHoklch(52.51% 0.085 212.2)
XYZxyz(11.3690, 15.1482, 25.2417)
Luminance0.1515 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#197787 #872919
analogous
#198760 #197787 #194087
triadic
#197787 #871977 #778719
tetradic
#197787 #601987 #872919 #408719
square
#197787 #601987 #872919 #408719
split-complementary
#197787 #871940 #876019
monochromatic
#061C20 #0F4953 #197787 #23A5BB #3FC5DB

Accessibility & contrast

On white

5.21
#197787 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#197787 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #197787
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##197787#FFFFFF#000000##FFFFFF
##1977871.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B7388
Deuteranopia (green-blind)
#5C6887
Tritanopia (blue-blind)
#007D7C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #197787;
/* rgb */ color: rgb(25, 119, 135);
/* oklch */ color: oklch(52.5% 0.085 212.2);
Tailwind
colors: {
  custom: {
    50: '#6b9eaa',
    500: '#197787',
    950: '#000000',
  },
}
SCSS
$custom: #197787;
$custom-light: #6b9eaa;
$custom-dark: #000000;
JSON
{
  "hex": "#197787",
  "rgb": {
    "r": 25,
    "g": 119,
    "b": 135
  },
  "hsl": {
    "h": 188.727,
    "s": 68.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.52513,
    "c": 0.08494,
    "h": 212.2
  },
  "luminance": 0.1515
}

Semantic roles & 50–950 ramp

primary
#197787
secondary
#BA5341
accent
#563CEC
background
#F6F9FA
surface
#ECF2F4
border
#C7CCCE
text
#080E10
muted
#7A7E7F

Preview Lab

Preview with #197787

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

Preview Lab → · Contrast checker → · Palette generator →

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