#1F7B8D#1F7B8D

#1F7B8D is a mid, moderate teal. Relative luminance 0.164; OKLCH L 53.9% C 0.086 H 214.2°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#1F7B8D
RGBrgb(31, 123, 141)
HSLhsl(190, 64%, 34%)
HSVhsv(190, 78%, 55%)
CMYKcmyk(78%, 12.8%, 0%, 44.7%)
CIE-LABlab(47.47, -19.61, -17.30)
CIE-LCHlch(47.47, 26.15, 221.41°)
OKLaboklab(53.94% -0.0711 -0.0482)
OKLCHoklch(53.94% 0.086 214.2)
XYZxyz(12.4537, 16.3788, 27.6992)
Luminance0.1638 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7B8D #8D311F
analogous
#1F8D68 #1F7B8D #1F448D
triadic
#1F7B8D #8D1F7B #7B8D1F
tetradic
#1F7B8D #681F8D #8D311F #448D1F
square
#1F7B8D #681F8D #8D311F #448D1F
split-complementary
#1F7B8D #8D1F44 #8D681F
monochromatic
#092329 #144F5B #1F7B8D #2AA7BF #4EC2D8

Accessibility & contrast

On white

4.91
#1F7B8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#1F7B8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7B8D
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7B8D#FFFFFF#000000##FFFFFF
##1F7B8D1.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E778E
Deuteranopia (green-blind)
#5F6C8D
Tritanopia (blue-blind)
#008281
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #1f7b8d;
/* rgb */ color: rgb(31, 123, 141);
/* oklch */ color: oklch(53.9% 0.086 214.2);
Tailwind
colors: {
  custom: {
    50: '#6ea1ae',
    500: '#1f7b8d',
    950: '#000000',
  },
}
SCSS
$custom: #1f7b8d;
$custom-light: #6ea1ae;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7b8d",
  "rgb": {
    "r": 31,
    "g": 123,
    "b": 141
  },
  "hsl": {
    "h": 189.818,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.53937,
    "c": 0.08593,
    "h": 214.2
  },
  "luminance": 0.1638
}

Semantic roles & 50–950 ramp

primary
#1F7B8D
secondary
#BB5F4D
accent
#5C41E7
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080F10
muted
#7B7E7F

Preview Lab

Preview with #1F7B8D

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

Preview Lab → · Contrast checker → · Palette generator →

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