#1F838D#1F838D

#1F838D is a mid, moderate teal. Relative luminance 0.184; OKLCH L 56.0% C 0.088 H 205.2°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#1F838D
RGBrgb(31, 131, 141)
HSLhsl(185, 64%, 34%)
HSVhsv(185, 78%, 55%)
CMYKcmyk(78%, 7.1%, 0%, 44.7%)
CIE-LABlab(50.03, -23.83, -13.40)
CIE-LCHlch(50.03, 27.34, 209.35°)
OKLaboklab(56.01% -0.0794 -0.0373)
OKLCHoklch(56.01% 0.088 205.2)
XYZxyz(13.4870, 18.4453, 28.0436)
Luminance0.1845 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F838D #8D291F
analogous
#1F8D60 #1F838D #1F4C8D
triadic
#1F838D #8D1F83 #838D1F
tetradic
#1F838D #601F8D #8D291F #4C8D1F
square
#1F838D #601F8D #8D291F #4C8D1F
split-complementary
#1F838D #8D1F4C #8D601F
monochromatic
#092629 #14545B #1F838D #2AB2BF #4ECCD8

Accessibility & contrast

On white

4.48
#1F838D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#1F838D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F838D
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F838D#FFFFFF#000000##000000
##1F838D1.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#787D8E
Deuteranopia (green-blind)
#68728D
Tritanopia (blue-blind)
#008986
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #1f838d;
/* rgb */ color: rgb(31, 131, 141);
/* oklch */ color: oklch(56.0% 0.088 205.2);
Tailwind
colors: {
  custom: {
    50: '#6fa7ae',
    500: '#1f838d',
    950: '#000000',
  },
}
SCSS
$custom: #1f838d;
$custom-light: #6fa7ae;
$custom-dark: #000000;
JSON
{
  "hex": "#1f838d",
  "rgb": {
    "r": 31,
    "g": 131,
    "b": 141
  },
  "hsl": {
    "h": 185.455,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.56008,
    "c": 0.08767,
    "h": 205.2
  },
  "luminance": 0.18447
}

Semantic roles & 50–950 ramp

primary
#1F838D
secondary
#BB574D
accent
#5041E7
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#080F10
muted
#7B7F7F

Preview Lab

Preview with #1F838D

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

Preview Lab → · Contrast checker → · Palette generator →

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