#1F7B8F#1F7B8F

#1F7B8F is a mid, moderate cyan. Relative luminance 0.164; OKLCH L 54.0% C 0.087 H 216.1°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#1F7B8F
RGBrgb(31, 123, 143)
HSLhsl(191, 64%, 34%)
HSVhsv(191, 78%, 56%)
CMYKcmyk(78.3%, 14%, 0%, 43.9%)
CIE-LABlab(47.55, -18.93, -18.36)
CIE-LCHlch(47.55, 26.37, 224.12°)
OKLaboklab(54.03% -0.0703 -0.0513)
OKLCHoklch(54.03% 0.087 216.1)
XYZxyz(12.6038, 16.4389, 28.4900)
Luminance0.1644 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7B8F #8F331F
analogous
#1F8F6B #1F7B8F #1F438F
triadic
#1F7B8F #8F1F7B #7B8F1F
tetradic
#1F7B8F #6B1F8F #8F331F #438F1F
square
#1F7B8F #6B1F8F #8F331F #438F1F
split-complementary
#1F7B8F #8F1F43 #8F6B1F
monochromatic
#09242A #14505D #1F7B8F #2AA6C1 #4FC0D9

Accessibility & contrast

On white

4.90
#1F7B8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#1F7B8F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7B8F
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7B8F#FFFFFF#000000##FFFFFF
##1F7B8F1.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D7790
Deuteranopia (green-blind)
#5E6C8F
Tritanopia (blue-blind)
#008281
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #1f7b8f;
/* rgb */ color: rgb(31, 123, 143);
/* oklch */ color: oklch(54.0% 0.087 216.1);
Tailwind
colors: {
  custom: {
    50: '#6ea1af',
    500: '#1f7b8f',
    950: '#000000',
  },
}
SCSS
$custom: #1f7b8f;
$custom-light: #6ea1af;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7b8f",
  "rgb": {
    "r": 31,
    "g": 123,
    "b": 143
  },
  "hsl": {
    "h": 190.714,
    "s": 64.368,
    "l": 34.118
  },
  "oklch": {
    "l": 0.54025,
    "c": 0.08696,
    "h": 216.1
  },
  "luminance": 0.1644
}

Semantic roles & 50–950 ramp

primary
#1F7B8F
secondary
#BC624E
accent
#5E40E7
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080F10
muted
#7B7E7F

Preview Lab

Preview with #1F7B8F

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

Preview Lab → · Contrast checker → · Palette generator →

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