#1B7874#1B7874

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

Color values

HEX#1B7874
RGBrgb(27, 120, 116)
HSLhsl(177, 63%, 29%)
HSVhsv(177, 78%, 47%)
CMYKcmyk(77.5%, 0%, 3.3%, 52.9%)
CIE-LABlab(45.53, -26.70, -5.39)
CIE-LCHlch(45.53, 27.23, 191.42°)
OKLaboklab(52.05% -0.0809 -0.0151)
OKLCHoklch(52.05% 0.082 190.5)
XYZxyz(10.3194, 14.9257, 18.8567)
Luminance0.1493 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B7874 #781B1F
analogous
#1B7846 #1B7874 #1B4E78
triadic
#1B7874 #741B78 #78741B
tetradic
#1B7874 #461B78 #781B1F #4E781B
square
#1B7874 #461B78 #781B1F #4E781B
split-complementary
#1B7874 #781B4E #78461B
monochromatic
#061918 #104644 #1B7874 #26AAA4 #3BD3CC

Accessibility & contrast

On white

5.27
#1B7874 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#1B7874 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B7874
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B7874#FFFFFF#000000##FFFFFF
##1B78741.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#717174
Deuteranopia (green-blind)
#636875
Tritanopia (blue-blind)
#007B77
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #1b7874;
/* rgb */ color: rgb(27, 120, 116);
/* oklch */ color: oklch(52.1% 0.082 190.5);
Tailwind
colors: {
  custom: {
    50: '#699f9c',
    500: '#1b7874',
    950: '#000000',
  },
}
SCSS
$custom: #1b7874;
$custom-light: #699f9c;
$custom-dark: #000000;
JSON
{
  "hex": "#1b7874",
  "rgb": {
    "r": 27,
    "g": 120,
    "b": 116
  },
  "hsl": {
    "h": 177.419,
    "s": 63.265,
    "l": 28.824
  },
  "oklch": {
    "l": 0.52055,
    "c": 0.08234,
    "h": 190.5
  },
  "luminance": 0.14927
}

Semantic roles & 50–950 ramp

primary
#1B7874
secondary
#AC4347
accent
#4149E6
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#070E0E
muted
#7A7E7E

Preview Lab

Preview with #1B7874

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

Preview Lab → · Contrast checker → · Palette generator →

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