#1F8791#1F8791

#1F8791 is a mid, moderate teal. Relative luminance 0.197; OKLCH L 57.2% C 0.090 H 204.8°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#1F8791
RGBrgb(31, 135, 145)
HSLhsl(185, 65%, 35%)
HSVhsv(185, 79%, 57%)
CMYKcmyk(78.6%, 6.9%, 0%, 43.1%)
CIE-LABlab(51.45, -24.58, -13.59)
CIE-LCHlch(51.45, 28.09, 208.93°)
OKLaboklab(57.2% -0.0817 -0.0378)
OKLCHoklch(57.2% 0.09 204.8)
XYZxyz(14.3376, 19.6618, 29.8220)
Luminance0.1966 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8791 #91291F
analogous
#1F9162 #1F8791 #1F4E91
triadic
#1F8791 #911F87 #87911F
tetradic
#1F8791 #621F91 #91291F #4E911F
square
#1F8791 #621F91 #91291F #4E911F
split-complementary
#1F8791 #911F4E #91621F
monochromatic
#09292C #14585F #1F8791 #2AB6C3 #51CEDA

Accessibility & contrast

On white

4.26
#1F8791 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#1F8791 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8791
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8791#FFFFFF#000000##000000
##1F87911.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B8192
Deuteranopia (green-blind)
#6C7691
Tritanopia (blue-blind)
#008D8A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #1f8791;
/* rgb */ color: rgb(31, 135, 145);
/* oklch */ color: oklch(57.2% 0.090 204.8);
Tailwind
colors: {
  custom: {
    50: '#70aab1',
    500: '#1f8791',
    950: '#000000',
  },
}
SCSS
$custom: #1f8791;
$custom-light: #70aab1;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8791",
  "rgb": {
    "r": 31,
    "g": 135,
    "b": 145
  },
  "hsl": {
    "h": 185.263,
    "s": 64.773,
    "l": 34.51
  },
  "oklch": {
    "l": 0.57204,
    "c": 0.08999,
    "h": 204.8
  },
  "luminance": 0.19664
}

Semantic roles & 50–950 ramp

primary
#1F8791
secondary
#BD594F
accent
#4F40E8
background
#F7FAFA
surface
#EDF4F5
border
#C8CECF
text
#091010
muted
#7B7F7F

Preview Lab

Preview with #1F8791

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

Preview Lab → · Contrast checker → · Palette generator →

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