#12878E#12878E

#12878E is a mid, moderate teal. Relative luminance 0.194; OKLCH L 56.9% C 0.093 H 201.5°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#12878E
RGBrgb(18, 135, 142)
HSLhsl(183, 78%, 31%)
HSVhsv(183, 87%, 56%)
CMYKcmyk(87.3%, 4.9%, 0%, 44.3%)
CIE-LABlab(51.16, -26.73, -12.30)
CIE-LCHlch(51.16, 29.42, 204.71°)
OKLaboklab(56.88% -0.0868 -0.0342)
OKLCHoklch(56.88% 0.093 201.5)
XYZxyz(13.7937, 19.4077, 28.6050)
Luminance0.1941 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12878E #8E1912
analogous
#128E57 #12878E #12498E
triadic
#12878E #8E1287 #878E12
tetradic
#12878E #57128E #8E1912 #498E12
square
#12878E #57128E #8E1912 #498E12
split-complementary
#12878E #8E1249 #8E5712
monochromatic
#042021 #0B5358 #12878E #19BBC4 #35DBE5

Accessibility & contrast

On white

4.30
#12878E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#12878E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #12878E
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12878E#FFFFFF#000000##000000
##12878E1.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C818F
Deuteranopia (green-blind)
#6C758E
Tritanopia (blue-blind)
#008D89
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #12878e;
/* rgb */ color: rgb(18, 135, 142);
/* oklch */ color: oklch(56.9% 0.093 201.5);
Tailwind
colors: {
  custom: {
    50: '#6caaaf',
    500: '#12878e',
    950: '#000000',
  },
}
SCSS
$custom: #12878e;
$custom-light: #6caaaf;
$custom-dark: #000000;
JSON
{
  "hex": "#12878e",
  "rgb": {
    "r": 18,
    "g": 135,
    "b": 142
  },
  "hsl": {
    "h": 183.387,
    "s": 77.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.56879,
    "c": 0.09334,
    "h": 201.5
  },
  "luminance": 0.1941
}

Semantic roles & 50–950 ramp

primary
#12878E
secondary
#C2413A
accent
#3F34F4
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#081010
muted
#7B7F7F

Preview Lab

Preview with #12878E

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

Preview Lab → · Contrast checker → · Palette generator →

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