#12747E#12747E

#12747E is a mid, moderate teal. Relative luminance 0.141; OKLCH L 51.2% C 0.083 H 205.9°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#12747E
RGBrgb(18, 116, 126)
HSLhsl(186, 75%, 28%)
HSVhsv(186, 86%, 49%)
CMYKcmyk(85.7%, 7.9%, 0%, 50.6%)
CIE-LABlab(44.41, -22.33, -13.06)
CIE-LCHlch(44.41, 25.87, 210.33°)
OKLaboklab(51.22% -0.075 -0.0364)
OKLCHoklch(51.22% 0.083 205.9)
XYZxyz(10.2591, 14.1244, 21.9202)
Luminance0.1413 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12747E #7E1C12
analogous
#127E52 #12747E #123E7E
triadic
#12747E #7E1274 #747E12
tetradic
#12747E #52127E #7E1C12 #3E7E12
square
#12747E #52127E #7E1C12 #3E7E12
split-complementary
#12747E #7E123E #7E5212
monochromatic
#04191B #0A4348 #12747E #1AA5B4 #2AD0E1

Accessibility & contrast

On white

5.49
#12747E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#12747E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #12747E
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12747E#FFFFFF#000000##FFFFFF
##12747E1.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#696F7F
Deuteranopia (green-blind)
#5B657E
Tritanopia (blue-blind)
#007977
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #12747e;
/* rgb */ color: rgb(18, 116, 126);
/* oklch */ color: oklch(51.2% 0.083 205.9);
Tailwind
colors: {
  custom: {
    50: '#679ca3',
    500: '#12747e',
    950: '#000000',
  },
}
SCSS
$custom: #12747e;
$custom-light: #679ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#12747e",
  "rgb": {
    "r": 18,
    "g": 116,
    "b": 126
  },
  "hsl": {
    "h": 185.556,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.51217,
    "c": 0.08336,
    "h": 205.9
  },
  "luminance": 0.14126
}

Semantic roles & 50–950 ramp

primary
#12747E
secondary
#B44338
accent
#4836F2
background
#F6F9FA
surface
#ECF2F3
border
#C7CCCD
text
#070E0F
muted
#7A7E7F

Preview Lab

Preview with #12747E

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

Preview Lab → · Contrast checker → · Palette generator →

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