#1F7F97#1F7F97

#1F7F97 is a mid, moderate cyan. Relative luminance 0.177; OKLCH L 55.4% C 0.091 H 219.1°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#1F7F97
RGBrgb(31, 127, 151)
HSLhsl(192, 66%, 36%)
HSVhsv(192, 79%, 59%)
CMYKcmyk(79.5%, 15.9%, 0%, 40.8%)
CIE-LABlab(49.13, -18.35, -20.62)
CIE-LCHlch(49.13, 27.60, 228.34°)
OKLaboklab(55.41% -0.071 -0.0577)
OKLCHoklch(55.41% 0.091 219.1)
XYZxyz(13.7380, 17.7027, 31.9651)
Luminance0.1770 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7F97 #97371F
analogous
#1F9773 #1F7F97 #1F4397
triadic
#1F7F97 #971F7F #7F971F
tetradic
#1F7F97 #731F97 #97371F #43971F
square
#1F7F97 #731F97 #97371F #43971F
split-complementary
#1F7F97 #971F43 #97731F
monochromatic
#0A2A31 #155464 #1F7F97 #29AACA #54C1DC

Accessibility & contrast

On white

4.62
#1F7F97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#1F7F97 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7F97
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7F97#FFFFFF#000000##FFFFFF
##1F7F971.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#707B98
Deuteranopia (green-blind)
#607097
Tritanopia (blue-blind)
#008787
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #1f7f97;
/* rgb */ color: rgb(31, 127, 151);
/* oklch */ color: oklch(55.4% 0.091 219.1);
Tailwind
colors: {
  custom: {
    50: '#70a4b5',
    500: '#1f7f97',
    950: '#000000',
  },
}
SCSS
$custom: #1f7f97;
$custom-light: #70a4b5;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7f97",
  "rgb": {
    "r": 31,
    "g": 127,
    "b": 151
  },
  "hsl": {
    "h": 192,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.55408,
    "c": 0.09147,
    "h": 219.1
  },
  "luminance": 0.17704
}

Semantic roles & 50–950 ramp

primary
#1F7F97
secondary
#BF6852
accent
#613FE9
background
#F7FAFB
surface
#EDF4F6
border
#C8CED0
text
#090F11
muted
#7B7F80

Preview Lab

Preview with #1F7F97

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

Preview Lab → · Contrast checker → · Palette generator →

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