#12727E#12727E

#12727E is a mid, moderate teal. Relative luminance 0.137; OKLCH L 50.7% C 0.083 H 208.2°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#12727E
RGBrgb(18, 114, 126)
HSLhsl(187, 75%, 28%)
HSVhsv(187, 86%, 49%)
CMYKcmyk(85.7%, 9.5%, 0%, 50.6%)
CIE-LABlab(43.75, -21.27, -14.06)
CIE-LCHlch(43.75, 25.50, 213.46°)
OKLaboklab(50.69% -0.073 -0.0392)
OKLCHoklch(50.69% 0.083 208.2)
XYZxyz(10.0310, 13.6683, 21.8442)
Luminance0.1367 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12727E #7E1E12
analogous
#127E54 #12727E #123C7E
triadic
#12727E #7E1272 #727E12
tetradic
#12727E #54127E #7E1E12 #3C7E12
square
#12727E #54127E #7E1E12 #3C7E12
split-complementary
#12727E #7E123C #7E5412
monochromatic
#04181B #0A4248 #12727E #1AA2B4 #2ACCE1

Accessibility & contrast

On white

5.62
#12727E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#12727E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #12727E
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12727E#FFFFFF#000000##FFFFFF
##12727E1.005.623.735.62
#FFFFFF5.621.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#676D7F
Deuteranopia (green-blind)
#59637E
Tritanopia (blue-blind)
#007876
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #12727e;
/* rgb */ color: rgb(18, 114, 126);
/* oklch */ color: oklch(50.7% 0.083 208.2);
Tailwind
colors: {
  custom: {
    50: '#679ba3',
    500: '#12727e',
    950: '#000000',
  },
}
SCSS
$custom: #12727e;
$custom-light: #679ba3;
$custom-dark: #000000;
JSON
{
  "hex": "#12727e",
  "rgb": {
    "r": 18,
    "g": 114,
    "b": 126
  },
  "hsl": {
    "h": 186.667,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.50685,
    "c": 0.08282,
    "h": 208.2
  },
  "luminance": 0.1367
}

Semantic roles & 50–950 ramp

primary
#12727E
secondary
#B44638
accent
#4B36F2
background
#F6F9FA
surface
#ECF2F3
border
#C7CCCD
text
#070E0F
muted
#7A7E7F

Preview Lab

Preview with #12727E

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

Preview Lab → · Contrast checker → · Palette generator →

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