#1F6872#1F6872

#1F6872 is a mid, moderate teal. Relative luminance 0.114; OKLCH L 47.8% C 0.071 H 208.2°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#1F6872
RGBrgb(31, 104, 114)
HSLhsl(187, 57%, 28%)
HSVhsv(187, 73%, 45%)
CMYKcmyk(72.8%, 8.8%, 0%, 55.3%)
CIE-LABlab(40.26, -18.44, -12.09)
CIE-LCHlch(40.26, 22.05, 213.26°)
OKLaboklab(47.78% -0.0627 -0.0336)
OKLCHoklch(47.78% 0.071 208.2)
XYZxyz(8.5513, 11.4059, 17.6672)
Luminance0.1141 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F6872 #72291F
analogous
#1F7252 #1F6872 #1F3E72
triadic
#1F6872 #721F68 #68721F
tetradic
#1F6872 #521F72 #72291F #3E721F
square
#1F6872 #521F72 #72291F #3E721F
split-complementary
#1F6872 #721F3E #72521F
monochromatic
#071618 #123C42 #1F6872 #2C94A2 #40BACB

Accessibility & contrast

On white

6.40
#1F6872 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#1F6872 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F6872
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F6872#FFFFFF#000000##FFFFFF
##1F68721.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F6473
Deuteranopia (green-blind)
#535B72
Tritanopia (blue-blind)
#006D6B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #1f6872;
/* rgb */ color: rgb(31, 104, 114);
/* oklch */ color: oklch(47.8% 0.071 208.2);
Tailwind
colors: {
  custom: {
    50: '#68939a',
    500: '#1f6872',
    950: '#000000',
  },
}
SCSS
$custom: #1f6872;
$custom-light: #68939a;
$custom-dark: #000000;
JSON
{
  "hex": "#1f6872",
  "rgb": {
    "r": 31,
    "g": 104,
    "b": 114
  },
  "hsl": {
    "h": 187.229,
    "s": 57.241,
    "l": 28.431
  },
  "oklch": {
    "l": 0.47782,
    "c": 0.07113,
    "h": 208.2
  },
  "luminance": 0.11407
}

Semantic roles & 50–950 ramp

primary
#1F6872
secondary
#A65247
accent
#5A47E0
background
#F6F9F9
surface
#EBF1F2
border
#C6CBCC
text
#070D0E
muted
#7A7E7E

Preview Lab

Preview with #1F6872

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

Preview Lab → · Contrast checker → · Palette generator →

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