#1F7988#1F7988

#1F7988 is a mid, moderate teal. Relative luminance 0.157; OKLCH L 53.2% C 0.083 H 211.4°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#1F7988
RGBrgb(31, 121, 136)
HSLhsl(189, 63%, 33%)
HSVhsv(189, 77%, 53%)
CMYKcmyk(77.2%, 11%, 0%, 46.7%)
CIE-LABlab(46.63, -20.23, -15.61)
CIE-LCHlch(46.63, 25.56, 217.66°)
OKLaboklab(53.2% -0.0712 -0.0435)
OKLCHoklch(53.2% 0.083 211.4)
XYZxyz(11.8445, 15.7422, 25.7021)
Luminance0.1574 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7988 #882E1F
analogous
#1F8862 #1F7988 #1F4588
triadic
#1F7988 #881F79 #79881F
tetradic
#1F7988 #621F88 #882E1F #45881F
square
#1F7988 #621F88 #882E1F #45881F
split-complementary
#1F7988 #881F45 #88621F
monochromatic
#082024 #144D56 #1F7988 #2AA5BA #4BC2D6

Accessibility & contrast

On white

5.06
#1F7988 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #1F7988
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7988#FFFFFF#000000##FFFFFF
##1F79881.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D7589
Deuteranopia (green-blind)
#5F6A88
Tritanopia (blue-blind)
#007F7E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #1f7988;
/* rgb */ color: rgb(31, 121, 136);
/* oklch */ color: oklch(53.2% 0.083 211.4);
Tailwind
colors: {
  custom: {
    50: '#6da0aa',
    500: '#1f7988',
    950: '#000000',
  },
}
SCSS
$custom: #1f7988;
$custom-light: #6da0aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7988",
  "rgb": {
    "r": 31,
    "g": 121,
    "b": 136
  },
  "hsl": {
    "h": 188.571,
    "s": 62.874,
    "l": 32.745
  },
  "oklch": {
    "l": 0.53202,
    "c": 0.08342,
    "h": 211.4
  },
  "luminance": 0.15744
}

Semantic roles & 50–950 ramp

primary
#1F7988
secondary
#B95A4A
accent
#5942E6
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E10
muted
#7B7E7F

Preview Lab

Preview with #1F7988

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

Preview Lab → · Contrast checker → · Palette generator →

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