#1F958B#1F958B

#1F958B is a mid, moderate teal. Relative luminance 0.236; OKLCH L 60.6% C 0.099 H 186.1°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#1F958B
RGBrgb(31, 149, 139)
HSLhsl(175, 66%, 35%)
HSVhsv(175, 79%, 58%)
CMYKcmyk(79.2%, 0%, 6.7%, 41.6%)
CIE-LABlab(55.73, -33.29, -3.72)
CIE-LCHlch(55.73, 33.50, 186.38°)
OKLaboklab(60.62% -0.0988 -0.0106)
OKLCHoklch(60.62% 0.099 186.1)
XYZxyz(15.9705, 23.6483, 28.1440)
Luminance0.2365 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F958B #951F29
analogous
#1F9550 #1F958B #1F6495
triadic
#1F958B #8B1F95 #958B1F
tetradic
#1F958B #501F95 #951F29 #64951F
square
#1F958B #501F95 #951F29 #64951F
split-complementary
#1F958B #951F64 #95501F
monochromatic
#0A302C #14625C #1F958B #2AC8BA #53DBD0

Accessibility & contrast

On white

3.66
#1F958B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#1F958B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F958B
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F958B#FFFFFF#000000##000000
##1F958B1.003.665.735.73
#FFFFFF3.661.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D8C8B
Deuteranopia (green-blind)
#7D818C
Tritanopia (blue-blind)
#009992
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #1f958b;
/* rgb */ color: rgb(31, 149, 139);
/* oklch */ color: oklch(60.6% 0.099 186.1);
Tailwind
colors: {
  custom: {
    50: '#71b5ac',
    500: '#1f958b',
    950: '#000000',
  },
}
SCSS
$custom: #1f958b;
$custom-light: #71b5ac;
$custom-dark: #000000;
JSON
{
  "hex": "#1f958b",
  "rgb": {
    "r": 31,
    "g": 149,
    "b": 139
  },
  "hsl": {
    "h": 174.915,
    "s": 65.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.60618,
    "c": 0.09933,
    "h": 186.1
  },
  "luminance": 0.2365
}

Semantic roles & 50–950 ramp

primary
#1F958B
secondary
#BF515B
accent
#3F4EE9
background
#F7FBFA
surface
#EDF6F4
border
#C8D0CE
text
#091110
muted
#7B807F

Preview Lab

Preview with #1F958B

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

Preview Lab → · Contrast checker → · Palette generator →

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