#1A7882#1A7882

#1A7882 is a mid, moderate teal. Relative luminance 0.153; OKLCH L 52.6% C 0.083 H 205.9°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#1A7882
RGBrgb(26, 120, 130)
HSLhsl(186, 67%, 31%)
HSVhsv(186, 80%, 51%)
CMYKcmyk(80%, 7.7%, 0%, 49%)
CIE-LABlab(45.99, -22.30, -13.04)
CIE-LCHlch(45.99, 25.83, 210.32°)
OKLaboklab(52.58% -0.0747 -0.0363)
OKLCHoklch(52.58% 0.083 205.9)
XYZxyz(11.1700, 15.2629, 23.4721)
Luminance0.1526 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A7882 #82241A
analogous
#1A8258 #1A7882 #1A4482
triadic
#1A7882 #821A78 #78821A
tetradic
#1A7882 #581A82 #82241A #44821A
square
#1A7882 #581A82 #82241A #44821A
split-complementary
#1A7882 #821A44 #82581A
monochromatic
#061A1C #10494F #1A7882 #24A7B5 #3ECAD8

Accessibility & contrast

On white

5.18
#1A7882 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#1A7882 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A7882
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A7882#FFFFFF#000000##FFFFFF
##1A78821.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D7383
Deuteranopia (green-blind)
#5F6882
Tritanopia (blue-blind)
#007E7B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #1a7882;
/* rgb */ color: rgb(26, 120, 130);
/* oklch */ color: oklch(52.6% 0.083 205.9);
Tailwind
colors: {
  custom: {
    50: '#6a9fa6',
    500: '#1a7882',
    950: '#000000',
  },
}
SCSS
$custom: #1a7882;
$custom-light: #6a9fa6;
$custom-dark: #000000;
JSON
{
  "hex": "#1a7882",
  "rgb": {
    "r": 26,
    "g": 120,
    "b": 130
  },
  "hsl": {
    "h": 185.769,
    "s": 66.667,
    "l": 30.588
  },
  "oklch": {
    "l": 0.52582,
    "c": 0.08308,
    "h": 205.9
  },
  "luminance": 0.15264
}

Semantic roles & 50–950 ramp

primary
#1A7882
secondary
#B64D42
accent
#4F3EEA
background
#F6F9FA
surface
#ECF2F4
border
#C7CCCE
text
#080E0F
muted
#7A7E7F

Preview Lab

Preview with #1A7882

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

Preview Lab → · Contrast checker → · Palette generator →

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