#1F7B8A#1F7B8A

#1F7B8A is a mid, moderate teal. Relative luminance 0.163; OKLCH L 53.8% C 0.085 H 211.1°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#1F7B8A
RGBrgb(31, 123, 138)
HSLhsl(188, 63%, 33%)
HSVhsv(188, 78%, 54%)
CMYKcmyk(77.5%, 10.9%, 0%, 45.9%)
CIE-LABlab(47.35, -20.63, -15.70)
CIE-LCHlch(47.35, 25.92, 217.28°)
OKLaboklab(53.81% -0.0724 -0.0437)
OKLCHoklch(53.81% 0.085 211.1)
XYZxyz(12.2335, 16.2907, 26.5395)
Luminance0.1629 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7B8A #8A2E1F
analogous
#1F8A63 #1F7B8A #1F458A
triadic
#1F7B8A #8A1F7B #7B8A1F
tetradic
#1F7B8A #631F8A #8A2E1F #458A1F
square
#1F7B8A #631F8A #8A2E1F #458A1F
split-complementary
#1F7B8A #8A1F45 #8A631F
monochromatic
#092226 #144E58 #1F7B8A #2AA8BC #4CC3D7

Accessibility & contrast

On white

4.93
#1F7B8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#1F7B8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7B8A
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7B8A#FFFFFF#000000##FFFFFF
##1F7B8A1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F768B
Deuteranopia (green-blind)
#606C8A
Tritanopia (blue-blind)
#008180
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #1f7b8a;
/* rgb */ color: rgb(31, 123, 138);
/* oklch */ color: oklch(53.8% 0.085 211.1);
Tailwind
colors: {
  custom: {
    50: '#6da1ac',
    500: '#1f7b8a',
    950: '#000000',
  },
}
SCSS
$custom: #1f7b8a;
$custom-light: #6da1ac;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7b8a",
  "rgb": {
    "r": 31,
    "g": 123,
    "b": 138
  },
  "hsl": {
    "h": 188.411,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.53807,
    "c": 0.08459,
    "h": 211.1
  },
  "luminance": 0.16292
}

Semantic roles & 50–950 ramp

primary
#1F7B8A
secondary
#BA5B4B
accent
#5941E6
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080F10
muted
#7B7E7F

Preview Lab

Preview with #1F7B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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