#1F7989#1F7989

#1F7989 is a mid, moderate teal. Relative luminance 0.158; OKLCH L 53.2% C 0.084 H 212.5°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#1F7989
RGBrgb(31, 121, 137)
HSLhsl(189, 63%, 33%)
HSVhsv(189, 77%, 54%)
CMYKcmyk(77.4%, 11.7%, 0%, 46.3%)
CIE-LABlab(46.67, -19.89, -16.15)
CIE-LCHlch(46.67, 25.62, 219.07°)
OKLaboklab(53.25% -0.0707 -0.045)
OKLCHoklch(53.25% 0.084 212.5)
XYZxyz(11.9159, 15.7708, 26.0781)
Luminance0.1577 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7989 #892F1F
analogous
#1F8964 #1F7989 #1F4489
triadic
#1F7989 #891F79 #79891F
tetradic
#1F7989 #641F89 #892F1F #44891F
square
#1F7989 #641F89 #892F1F #44891F
split-complementary
#1F7989 #891F44 #89641F
monochromatic
#082125 #144D57 #1F7989 #2AA5BB #4CC2D6

Accessibility & contrast

On white

5.05
#1F7989 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#1F7989 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7989
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7989#FFFFFF#000000##FFFFFF
##1F79891.005.054.155.05
#FFFFFF5.051.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D758A
Deuteranopia (green-blind)
#5E6A89
Tritanopia (blue-blind)
#007F7E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #1f7989;
/* rgb */ color: rgb(31, 121, 137);
/* oklch */ color: oklch(53.2% 0.084 212.5);
Tailwind
colors: {
  custom: {
    50: '#6da0ab',
    500: '#1f7989',
    950: '#000000',
  },
}
SCSS
$custom: #1f7989;
$custom-light: #6da0ab;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7989",
  "rgb": {
    "r": 31,
    "g": 121,
    "b": 137
  },
  "hsl": {
    "h": 189.057,
    "s": 63.095,
    "l": 32.941
  },
  "oklch": {
    "l": 0.53245,
    "c": 0.08385,
    "h": 212.5
  },
  "luminance": 0.15772
}

Semantic roles & 50–950 ramp

primary
#1F7989
secondary
#B95B4B
accent
#5A42E6
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E10
muted
#7B7E7F

Preview Lab

Preview with #1F7989

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

Preview Lab → · Contrast checker → · Palette generator →

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