#17798B#17798B

#17798B is a mid, moderate teal. Relative luminance 0.157; OKLCH L 53.2% C 0.088 H 213.8°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#17798B
RGBrgb(23, 121, 139)
HSLhsl(189, 72%, 32%)
HSVhsv(189, 83%, 55%)
CMYKcmyk(83.5%, 12.9%, 0%, 45.5%)
CIE-LABlab(46.60, -20.07, -17.45)
CIE-LCHlch(46.60, 26.60, 221.00°)
OKLaboklab(53.17% -0.0728 -0.0487)
OKLCHoklch(53.17% 0.088 213.8)
XYZxyz(11.8489, 15.7195, 26.8308)
Luminance0.1572 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17798B #8B2917
analogous
#178B63 #17798B #173F8B
triadic
#17798B #8B1779 #798B17
tetradic
#17798B #63178B #8B2917 #3F8B17
square
#17798B #63178B #8B2917 #3F8B17
split-complementary
#17798B #8B173F #8B6317
monochromatic
#061E22 #0E4B56 #17798B #20A7C0 #3DC6DF

Accessibility & contrast

On white

5.07
#17798B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#17798B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #17798B
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17798B#FFFFFF#000000##FFFFFF
##17798B1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C758C
Deuteranopia (green-blind)
#5D6A8B
Tritanopia (blue-blind)
#00807F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #17798b;
/* rgb */ color: rgb(23, 121, 139);
/* oklch */ color: oklch(53.2% 0.088 213.8);
Tailwind
colors: {
  custom: {
    50: '#6ba0ad',
    500: '#17798b',
    950: '#000000',
  },
}
SCSS
$custom: #17798b;
$custom-light: #6ba0ad;
$custom-dark: #000000;
JSON
{
  "hex": "#17798b",
  "rgb": {
    "r": 23,
    "g": 121,
    "b": 139
  },
  "hsl": {
    "h": 189.31,
    "s": 71.605,
    "l": 31.765
  },
  "oklch": {
    "l": 0.53174,
    "c": 0.08762,
    "h": 213.8
  },
  "luminance": 0.15721
}

Semantic roles & 50–950 ramp

primary
#17798B
secondary
#BF533F
accent
#5639EE
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E10
muted
#7B7E7F

Preview Lab

Preview with #17798B

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

Preview Lab → · Contrast checker → · Palette generator →

#17798B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva