#1F666B#1F666B

#1F666B is a mid, moderate teal. Relative luminance 0.109; OKLCH L 47.0% C 0.069 H 201.8°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#1F666B
RGBrgb(31, 102, 107)
HSLhsl(184, 55%, 27%)
HSVhsv(184, 71%, 42%)
CMYKcmyk(71%, 4.7%, 0%, 58%)
CIE-LABlab(39.33, -19.67, -9.21)
CIE-LCHlch(39.33, 21.72, 205.09°)
OKLaboklab(46.95% -0.0637 -0.0255)
OKLCHoklch(46.95% 0.069 201.8)
XYZxyz(7.9691, 10.8547, 15.5822)
Luminance0.1086 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F666B #6B241F
analogous
#1F6B4A #1F666B #1F406B
triadic
#1F666B #6B1F66 #666B1F
tetradic
#1F666B #4A1F6B #6B241F #406B1F
square
#1F666B #4A1F6B #6B241F #406B1F
split-complementary
#1F666B #6B1F40 #6B4A1F
monochromatic
#071718 #11393C #1F666B #2D939A #3DBEC7

Accessibility & contrast

On white

6.62
#1F666B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#1F666B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F666B
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F666B#FFFFFF#000000##FFFFFF
##1F666B1.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E616B
Deuteranopia (green-blind)
#53596B
Tritanopia (blue-blind)
#006A67
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #1f666b;
/* rgb */ color: rgb(31, 102, 107);
/* oklch */ color: oklch(47.0% 0.069 201.8);
Tailwind
colors: {
  custom: {
    50: '#679295',
    500: '#1f666b',
    950: '#000000',
  },
}
SCSS
$custom: #1f666b;
$custom-light: #679295;
$custom-dark: #000000;
JSON
{
  "hex": "#1f666b",
  "rgb": {
    "r": 31,
    "g": 102,
    "b": 107
  },
  "hsl": {
    "h": 183.947,
    "s": 55.072,
    "l": 27.059
  },
  "oklch": {
    "l": 0.46953,
    "c": 0.06863,
    "h": 201.8
  },
  "luminance": 0.10856
}

Semantic roles & 50–950 ramp

primary
#1F666B
secondary
#9F4C47
accent
#5349DE
background
#F6F8F9
surface
#EBF0F1
border
#C6CBCB
text
#070D0D
muted
#7A7D7E

Preview Lab

Preview with #1F666B

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

Preview Lab → · Contrast checker → · Palette generator →

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