#1F7C96#1F7C96

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

Color values

HEX#1F7C96
RGBrgb(31, 124, 150)
HSLhsl(193, 66%, 35%)
HSVhsv(193, 79%, 59%)
CMYKcmyk(79.3%, 17.3%, 0%, 41.2%)
CIE-LABlab(48.14, -17.06, -21.56)
CIE-LCHlch(48.14, 27.49, 231.66°)
OKLaboklab(54.6% -0.0684 -0.0604)
OKLCHoklch(54.6% 0.091 221.4)
XYZxyz(13.2754, 16.9070, 31.4120)
Luminance0.1691 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7C96 #96391F
analogous
#1F9674 #1F7C96 #1F4196
triadic
#1F7C96 #961F7C #7C961F
tetradic
#1F7C96 #741F96 #96391F #41961F
square
#1F7C96 #741F96 #96391F #41961F
split-complementary
#1F7C96 #961F41 #96741F
monochromatic
#0A2831 #155263 #1F7C96 #29A6C9 #54BEDC

Accessibility & contrast

On white

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

On black

4.38
#1F7C96 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##1F7C96#FFFFFF#000000##FFFFFF
##1F7C961.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D7997
Deuteranopia (green-blind)
#5D6D96
Tritanopia (blue-blind)
#008484
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #1f7c96;
/* rgb */ color: rgb(31, 124, 150);
/* oklch */ color: oklch(54.6% 0.091 221.4);
Tailwind
colors: {
  custom: {
    50: '#6fa2b5',
    500: '#1f7c96',
    950: '#000000',
  },
}
SCSS
$custom: #1f7c96;
$custom-light: #6fa2b5;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7c96",
  "rgb": {
    "r": 31,
    "g": 124,
    "b": 150
  },
  "hsl": {
    "h": 193.109,
    "s": 65.746,
    "l": 35.49
  },
  "oklch": {
    "l": 0.54598,
    "c": 0.09122,
    "h": 221.4
  },
  "luminance": 0.16909
}

Semantic roles & 50–950 ramp

primary
#1F7C96
secondary
#BF6A52
accent
#643FE9
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090F11
muted
#7B7E80

Preview Lab

Preview with #1F7C96

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

Preview Lab → · Contrast checker → · Palette generator →

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