#12717E#12717E

#12717E is a mid, moderate teal. Relative luminance 0.134; OKLCH L 50.4% C 0.083 H 209.4°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#12717E
RGBrgb(18, 113, 126)
HSLhsl(187, 75%, 28%)
HSVhsv(187, 86%, 49%)
CMYKcmyk(85.7%, 10.3%, 0%, 50.6%)
CIE-LABlab(43.42, -20.74, -14.56)
CIE-LCHlch(43.42, 25.34, 215.07°)
OKLaboklab(50.42% -0.0719 -0.0406)
OKLCHoklch(50.42% 0.083 209.4)
XYZxyz(9.9188, 13.4439, 21.8068)
Luminance0.1344 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12717E #7E1F12
analogous
#127E55 #12717E #123B7E
triadic
#12717E #7E1271 #717E12
tetradic
#12717E #55127E #7E1F12 #3B7E12
square
#12717E #55127E #7E1F12 #3B7E12
split-complementary
#12717E #7E123B #7E5512
monochromatic
#04181B #0A4148 #12717E #1AA1B4 #2ACBE1

Accessibility & contrast

On white

5.69
#12717E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#12717E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #12717E
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12717E#FFFFFF#000000##FFFFFF
##12717E1.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#666C7F
Deuteranopia (green-blind)
#58627E
Tritanopia (blue-blind)
#007775
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #12717e;
/* rgb */ color: rgb(18, 113, 126);
/* oklch */ color: oklch(50.4% 0.083 209.4);
Tailwind
colors: {
  custom: {
    50: '#679aa3',
    500: '#12717e',
    950: '#000000',
  },
}
SCSS
$custom: #12717e;
$custom-light: #679aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#12717e",
  "rgb": {
    "r": 18,
    "g": 113,
    "b": 126
  },
  "hsl": {
    "h": 187.222,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.50419,
    "c": 0.0826,
    "h": 209.4
  },
  "luminance": 0.13445
}

Semantic roles & 50–950 ramp

primary
#12717E
secondary
#B44738
accent
#4D36F2
background
#F6F9FA
surface
#EBF2F3
border
#C6CCCD
text
#070E0F
muted
#7A7E7F

Preview Lab

Preview with #12717E

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

Preview Lab → · Contrast checker → · Palette generator →

#12717E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva