#157878#157878

#157878 is a mid, moderate teal. Relative luminance 0.149; OKLCH L 52.1% C 0.084 H 194.9°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#157878
RGBrgb(21, 120, 120)
HSLhsl(180, 70%, 28%)
HSVhsv(180, 83%, 47%)
CMYKcmyk(82.5%, 0%, 0%, 52.9%)
CIE-LABlab(45.56, -26.09, -7.74)
CIE-LCHlch(45.56, 27.22, 196.52°)
OKLaboklab(52.09% -0.0811 -0.0215)
OKLCHoklch(52.09% 0.084 194.9)
XYZxyz(10.4143, 14.9471, 20.1019)
Luminance0.1495 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157878 #781515
analogous
#157846 #157878 #154678
triadic
#157878 #781578 #787815
tetradic
#157878 #461578 #781515 #467815
square
#157878 #461578 #781515 #467815
split-complementary
#157878 #781546 #784615
monochromatic
#051A1A #0C4444 #157878 #1EACAC #2DDADA

Accessibility & contrast

On white

5.26
#157878 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#157878 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157878
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157878#FFFFFF#000000##FFFFFF
##1578781.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F7278
Deuteranopia (green-blind)
#626879
Tritanopia (blue-blind)
#007C78
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #157878;
/* rgb */ color: rgb(21, 120, 120);
/* oklch */ color: oklch(52.1% 0.084 194.9);
Tailwind
colors: {
  custom: {
    50: '#689f9e',
    500: '#157878',
    950: '#000000',
  },
}
SCSS
$custom: #157878;
$custom-light: #689f9e;
$custom-dark: #000000;
JSON
{
  "hex": "#157878",
  "rgb": {
    "r": 21,
    "g": 120,
    "b": 120
  },
  "hsl": {
    "h": 180,
    "s": 70.213,
    "l": 27.647
  },
  "oklch": {
    "l": 0.52093,
    "c": 0.08389,
    "h": 194.9
  },
  "luminance": 0.14948
}

Semantic roles & 50–950 ramp

primary
#157878
secondary
#AE3B3B
accent
#3B3BED
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#070E0E
muted
#7A7E7E

Preview Lab

Preview with #157878

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

Preview Lab → · Contrast checker → · Palette generator →

#157878 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva