#1F6D7C#1F6D7C

#1F6D7C is a mid, moderate teal. Relative luminance 0.127; OKLCH L 49.5% C 0.076 H 213.4°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#1F6D7C
RGBrgb(31, 109, 124)
HSLhsl(190, 60%, 30%)
HSVhsv(190, 75%, 49%)
CMYKcmyk(75%, 12.1%, 0%, 51.4%)
CIE-LABlab(42.28, -17.79, -15.07)
CIE-LCHlch(42.28, 23.32, 220.27°)
OKLaboklab(49.54% -0.0637 -0.042)
OKLCHoklch(49.54% 0.076 213.4)
XYZxyz(9.6703, 12.6827, 21.0032)
Luminance0.1268 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F6D7C #7C2E1F
analogous
#1F7C5C #1F6D7C #1F3F7C
triadic
#1F6D7C #7C1F6D #6D7C1F
tetradic
#1F6D7C #5C1F7C #7C2E1F #3F7C1F
square
#1F6D7C #5C1F7C #7C2E1F #3F7C1F
split-complementary
#1F6D7C #7C1F3F #7C5C1F
monochromatic
#07171A #13424B #1F6D7C #2B98AD #45BAD0

Accessibility & contrast

On white

5.94
#1F6D7C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#1F6D7C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F6D7C
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F6D7C#FFFFFF#000000##FFFFFF
##1F6D7C1.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#62697D
Deuteranopia (green-blind)
#55607C
Tritanopia (blue-blind)
#007372
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #1f6d7c;
/* rgb */ color: rgb(31, 109, 124);
/* oklch */ color: oklch(49.5% 0.076 213.4);
Tailwind
colors: {
  custom: {
    50: '#6a97a2',
    500: '#1f6d7c',
    950: '#000000',
  },
}
SCSS
$custom: #1f6d7c;
$custom-light: #6a97a2;
$custom-dark: #000000;
JSON
{
  "hex": "#1f6d7c",
  "rgb": {
    "r": 31,
    "g": 109,
    "b": 124
  },
  "hsl": {
    "h": 189.677,
    "s": 60,
    "l": 30.392
  },
  "oklch": {
    "l": 0.49541,
    "c": 0.07629,
    "h": 213.4
  },
  "luminance": 0.12684
}

Semantic roles & 50–950 ramp

primary
#1F6D7C
secondary
#AF5848
accent
#5E45E3
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#070D0F
muted
#7A7E7E

Preview Lab

Preview with #1F6D7C

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

Preview Lab → · Contrast checker → · Palette generator →

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