#1F666F#1F666F

#1F666F is a mid, moderate teal. Relative luminance 0.109; OKLCH L 47.1% C 0.070 H 207.2°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#1F666F
RGBrgb(31, 102, 111)
HSLhsl(187, 56%, 28%)
HSVhsv(187, 72%, 44%)
CMYKcmyk(72.1%, 8.1%, 0%, 56.5%)
CIE-LABlab(39.48, -18.35, -11.44)
CIE-LCHlch(39.48, 21.62, 211.94°)
OKLaboklab(47.12% -0.0618 -0.0318)
OKLCHoklch(47.12% 0.07 207.2)
XYZxyz(8.1845, 10.9408, 16.7163)
Luminance0.1094 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F666F #6F281F
analogous
#1F6F50 #1F666F #1F3E6F
triadic
#1F666F #6F1F66 #666F1F
tetradic
#1F666F #501F6F #6F281F #3E6F1F
square
#1F666F #501F6F #6F281F #3E6F1F
split-complementary
#1F666F #6F1F3E #6F501F
monochromatic
#071618 #123A3F #1F666F #2C929F #3FBAC9

Accessibility & contrast

On white

6.59
#1F666F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#1F666F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F666F
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F666F#FFFFFF#000000##FFFFFF
##1F666F1.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D6270
Deuteranopia (green-blind)
#51596F
Tritanopia (blue-blind)
#006B69
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #1f666f;
/* rgb */ color: rgb(31, 102, 111);
/* oklch */ color: oklch(47.1% 0.070 207.2);
Tailwind
colors: {
  custom: {
    50: '#679298',
    500: '#1f666f',
    950: '#000000',
  },
}
SCSS
$custom: #1f666f;
$custom-light: #679298;
$custom-dark: #000000;
JSON
{
  "hex": "#1f666f",
  "rgb": {
    "r": 31,
    "g": 102,
    "b": 111
  },
  "hsl": {
    "h": 186.75,
    "s": 56.338,
    "l": 27.843
  },
  "oklch": {
    "l": 0.47119,
    "c": 0.06951,
    "h": 207.2
  },
  "luminance": 0.10942
}

Semantic roles & 50–950 ramp

primary
#1F666F
secondary
#A35147
accent
#5948E0
background
#F6F8F9
surface
#EBF0F2
border
#C6CBCC
text
#070D0D
muted
#7A7D7E

Preview Lab

Preview with #1F666F

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

Preview Lab → · Contrast checker → · Palette generator →

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