#1B7882#1B7882

#1B7882 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#1B7882
RGBrgb(27, 120, 130)
HSLhsl(186, 66%, 31%)
HSVhsv(186, 79%, 51%)
CMYKcmyk(79.2%, 7.7%, 0%, 49%)
CIE-LABlab(46.01, -22.19, -13.01)
CIE-LCHlch(46.01, 25.72, 210.38°)
OKLaboklab(52.6% -0.0744 -0.0362)
OKLCHoklch(52.6% 0.083 205.9)
XYZxyz(11.1959, 15.2763, 23.4733)
Luminance0.1528 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B7882 #82251B
analogous
#1B8258 #1B7882 #1B4482
triadic
#1B7882 #821B78 #78821B
tetradic
#1B7882 #581B82 #82251B #44821B
square
#1B7882 #581B82 #82251B #44821B
split-complementary
#1B7882 #821B44 #82581B
monochromatic
#061A1D #10494F #1B7882 #26A7B5 #40C9D7

Accessibility & contrast

On white

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

On black

4.06
#1B7882 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##1B7882#FFFFFF#000000##FFFFFF
##1B78821.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b7882;
/* rgb */ color: rgb(27, 120, 130);
/* oklch */ color: oklch(52.6% 0.083 205.9);
Tailwind
colors: {
  custom: {
    50: '#6b9fa6',
    500: '#1b7882',
    950: '#000000',
  },
}
SCSS
$custom: #1b7882;
$custom-light: #6b9fa6;
$custom-dark: #000000;
JSON
{
  "hex": "#1b7882",
  "rgb": {
    "r": 27,
    "g": 120,
    "b": 130
  },
  "hsl": {
    "h": 185.825,
    "s": 65.605,
    "l": 30.784
  },
  "oklch": {
    "l": 0.52602,
    "c": 0.08271,
    "h": 205.9
  },
  "luminance": 0.15278
}

Semantic roles & 50–950 ramp

primary
#1B7882
secondary
#B64E43
accent
#503FE9
background
#F6F9FA
surface
#ECF2F4
border
#C7CCCE
text
#080E0F
muted
#7A7E7F

Preview Lab

Preview with #1B7882

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

Preview Lab → · Contrast checker → · Palette generator →

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