#1F7C97#1F7C97

#1F7C97 is a mid, moderate cyan. Relative luminance 0.169; OKLCH L 54.6% C 0.092 H 222.3°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#1F7C97
RGBrgb(31, 124, 151)
HSLhsl(194, 66%, 36%)
HSVhsv(194, 79%, 59%)
CMYKcmyk(79.5%, 17.9%, 0%, 40.8%)
CIE-LABlab(48.18, -16.71, -22.09)
CIE-LCHlch(48.18, 27.69, 232.90°)
OKLaboklab(54.64% -0.068 -0.0619)
OKLCHoklch(54.64% 0.092 222.3)
XYZxyz(13.3563, 16.9393, 31.8378)
Luminance0.1694 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7C97 #973A1F
analogous
#1F9776 #1F7C97 #1F4097
triadic
#1F7C97 #971F7C #7C971F
tetradic
#1F7C97 #761F97 #973A1F #40971F
square
#1F7C97 #761F97 #973A1F #40971F
split-complementary
#1F7C97 #971F40 #97761F
monochromatic
#0A2931 #155264 #1F7C97 #29A6CA #54BDDC

Accessibility & contrast

On white

4.79
#1F7C97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#1F7C97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7C97
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7C97#FFFFFF#000000##FFFFFF
##1F7C971.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C7998
Deuteranopia (green-blind)
#5C6D97
Tritanopia (blue-blind)
#008485
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #1f7c97;
/* rgb */ color: rgb(31, 124, 151);
/* oklch */ color: oklch(54.6% 0.092 222.3);
Tailwind
colors: {
  custom: {
    50: '#6fa2b5',
    500: '#1f7c97',
    950: '#000000',
  },
}
SCSS
$custom: #1f7c97;
$custom-light: #6fa2b5;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7c97",
  "rgb": {
    "r": 31,
    "g": 124,
    "b": 151
  },
  "hsl": {
    "h": 193.5,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.54644,
    "c": 0.09191,
    "h": 222.3
  },
  "luminance": 0.16941
}

Semantic roles & 50–950 ramp

primary
#1F7C97
secondary
#BF6B52
accent
#653FE9
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090F11
muted
#7B7E80

Preview Lab

Preview with #1F7C97

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

Preview Lab → · Contrast checker → · Palette generator →

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