#1A7F8A#1A7F8A

#1A7F8A is a mid, moderate teal. Relative luminance 0.172; OKLCH L 54.7% C 0.087 H 206.3°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#1A7F8A
RGBrgb(26, 127, 138)
HSLhsl(186, 68%, 32%)
HSVhsv(186, 81%, 54%)
CMYKcmyk(81.2%, 8%, 0%, 45.9%)
CIE-LABlab(48.55, -23.29, -13.89)
CIE-LCHlch(48.55, 27.11, 210.82°)
OKLaboklab(54.75% -0.0784 -0.0387)
OKLCHoklch(54.75% 0.087 206.3)
XYZxyz(12.6008, 17.2318, 26.7018)
Luminance0.1723 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A7F8A #8A251A
analogous
#1A8A5D #1A7F8A #1A478A
triadic
#1A7F8A #8A1A7F #7F8A1A
tetradic
#1A7F8A #5D1A8A #8A251A #478A1A
square
#1A7F8A #5D1A8A #8A251A #478A1A
split-complementary
#1A7F8A #8A1A47 #8A5D1A
monochromatic
#072023 #105057 #1A7F8A #24AEBD #43CDDC

Accessibility & contrast

On white

4.72
#1A7F8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#1A7F8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A7F8A
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A7F8A#FFFFFF#000000##FFFFFF
##1A7F8A1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#737A8B
Deuteranopia (green-blind)
#646F8A
Tritanopia (blue-blind)
#008582
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #1a7f8a;
/* rgb */ color: rgb(26, 127, 138);
/* oklch */ color: oklch(54.7% 0.087 206.3);
Tailwind
colors: {
  custom: {
    50: '#6ca4ac',
    500: '#1a7f8a',
    950: '#000000',
  },
}
SCSS
$custom: #1a7f8a;
$custom-light: #6ca4ac;
$custom-dark: #000000;
JSON
{
  "hex": "#1a7f8a",
  "rgb": {
    "r": 26,
    "g": 127,
    "b": 138
  },
  "hsl": {
    "h": 185.893,
    "s": 68.293,
    "l": 32.157
  },
  "oklch": {
    "l": 0.54748,
    "c": 0.08738,
    "h": 206.3
  },
  "luminance": 0.17233
}

Semantic roles & 50–950 ramp

primary
#1A7F8A
secondary
#BD4F43
accent
#4E3DEB
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#080F10
muted
#7B7F7F

Preview Lab

Preview with #1A7F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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