#1A7887#1A7887

#1A7887 is a mid, moderate teal. Relative luminance 0.154; OKLCH L 52.8% C 0.085 H 211.1°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#1A7887
RGBrgb(26, 120, 135)
HSLhsl(188, 68%, 32%)
HSVhsv(188, 81%, 53%)
CMYKcmyk(80.7%, 11.1%, 0%, 47.1%)
CIE-LABlab(46.18, -20.61, -15.72)
CIE-LCHlch(46.18, 25.92, 217.34°)
OKLaboklab(52.79% -0.0725 -0.0438)
OKLCHoklch(52.79% 0.085 211.1)
XYZxyz(11.5137, 15.4004, 25.2827)
Luminance0.1540 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A7887 #87291A
analogous
#1A8760 #1A7887 #1A4287
triadic
#1A7887 #871A78 #78871A
tetradic
#1A7887 #601A87 #87291A #42871A
square
#1A7887 #601A87 #87291A #42871A
split-complementary
#1A7887 #871A42 #87601A
monochromatic
#061D20 #104A54 #1A7887 #24A6BA #41C5DA

Accessibility & contrast

On white

5.15
#1A7887 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#1A7887 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A7887
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A7887#FFFFFF#000000##FFFFFF
##1A78871.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C7388
Deuteranopia (green-blind)
#5D6987
Tritanopia (blue-blind)
#007E7D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #1a7887;
/* rgb */ color: rgb(26, 120, 135);
/* oklch */ color: oklch(52.8% 0.085 211.1);
Tailwind
colors: {
  custom: {
    50: '#6b9faa',
    500: '#1a7887',
    950: '#000000',
  },
}
SCSS
$custom: #1a7887;
$custom-light: #6b9faa;
$custom-dark: #000000;
JSON
{
  "hex": "#1a7887",
  "rgb": {
    "r": 26,
    "g": 120,
    "b": 135
  },
  "hsl": {
    "h": 188.257,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.52793,
    "c": 0.08474,
    "h": 211.1
  },
  "luminance": 0.15402
}

Semantic roles & 50–950 ramp

primary
#1A7887
secondary
#BA5342
accent
#553DEB
background
#F6F9FA
surface
#ECF2F4
border
#C7CCCE
text
#080E10
muted
#7A7E7F

Preview Lab

Preview with #1A7887

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

Preview Lab → · Contrast checker → · Palette generator →

#1A7887 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva