#1F838F#1F838F

#1F838F is a mid, moderate teal. Relative luminance 0.185; OKLCH L 56.1% C 0.088 H 207.1°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#1F838F
RGBrgb(31, 131, 143)
HSLhsl(186, 64%, 34%)
HSVhsv(186, 78%, 56%)
CMYKcmyk(78.3%, 8.4%, 0%, 43.9%)
CIE-LABlab(50.10, -23.17, -14.46)
CIE-LCHlch(50.10, 27.31, 211.97°)
OKLaboklab(56.09% -0.0785 -0.0402)
OKLCHoklch(56.09% 0.088 207.1)
XYZxyz(13.6371, 18.5054, 28.8344)
Luminance0.1851 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F838F #8F2B1F
analogous
#1F8F63 #1F838F #1F4B8F
triadic
#1F838F #8F1F83 #838F1F
tetradic
#1F838F #631F8F #8F2B1F #4B8F1F
square
#1F838F #631F8F #8F2B1F #4B8F1F
split-complementary
#1F838F #8F1F4B #8F631F
monochromatic
#09272A #14555D #1F838F #2AB1C1 #4FCAD9

Accessibility & contrast

On white

4.47
#1F838F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#1F838F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F838F
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F838F#FFFFFF#000000##000000
##1F838F1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#777E90
Deuteranopia (green-blind)
#68728F
Tritanopia (blue-blind)
#008987
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #1f838f;
/* rgb */ color: rgb(31, 131, 143);
/* oklch */ color: oklch(56.1% 0.088 207.1);
Tailwind
colors: {
  custom: {
    50: '#6fa7af',
    500: '#1f838f',
    950: '#000000',
  },
}
SCSS
$custom: #1f838f;
$custom-light: #6fa7af;
$custom-dark: #000000;
JSON
{
  "hex": "#1f838f",
  "rgb": {
    "r": 31,
    "g": 131,
    "b": 143
  },
  "hsl": {
    "h": 186.429,
    "s": 64.368,
    "l": 34.118
  },
  "oklch": {
    "l": 0.56089,
    "c": 0.08819,
    "h": 207.1
  },
  "luminance": 0.18507
}

Semantic roles & 50–950 ramp

primary
#1F838F
secondary
#BC5A4E
accent
#5240E7
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#080F10
muted
#7B7F7F

Preview Lab

Preview with #1F838F

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

Preview Lab → · Contrast checker → · Palette generator →

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