#1F7C98#1F7C98

#1F7C98 is a mid, moderate cyan. Relative luminance 0.170; OKLCH L 54.7% C 0.093 H 223.2°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#1F7C98
RGBrgb(31, 124, 152)
HSLhsl(194, 66%, 36%)
HSVhsv(194, 80%, 60%)
CMYKcmyk(79.6%, 18.4%, 0%, 40.4%)
CIE-LABlab(48.22, -16.35, -22.61)
CIE-LCHlch(48.22, 27.90, 234.12°)
OKLaboklab(54.69% -0.0676 -0.0634)
OKLCHoklch(54.69% 0.093 223.2)
XYZxyz(13.4379, 16.9720, 32.2674)
Luminance0.1697 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7C98 #983B1F
analogous
#1F9877 #1F7C98 #1F4098
triadic
#1F7C98 #981F7C #7C981F
tetradic
#1F7C98 #771F98 #983B1F #40981F
square
#1F7C98 #771F98 #983B1F #40981F
split-complementary
#1F7C98 #981F40 #98771F
monochromatic
#0A2932 #155365 #1F7C98 #29A5CB #55BDDC

Accessibility & contrast

On white

4.78
#1F7C98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #1F7C98
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7C98#FFFFFF#000000##FFFFFF
##1F7C981.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C7999
Deuteranopia (green-blind)
#5C6D98
Tritanopia (blue-blind)
#008585
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #1f7c98;
/* rgb */ color: rgb(31, 124, 152);
/* oklch */ color: oklch(54.7% 0.093 223.2);
Tailwind
colors: {
  custom: {
    50: '#6fa2b6',
    500: '#1f7c98',
    950: '#000000',
  },
}
SCSS
$custom: #1f7c98;
$custom-light: #6fa2b6;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7c98",
  "rgb": {
    "r": 31,
    "g": 124,
    "b": 152
  },
  "hsl": {
    "h": 193.884,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.54691,
    "c": 0.09264,
    "h": 223.2
  },
  "luminance": 0.16974
}

Semantic roles & 50–950 ramp

primary
#1F7C98
secondary
#C06C53
accent
#663FE9
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090F11
muted
#7B7E80

Preview Lab

Preview with #1F7C98

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

Preview Lab → · Contrast checker → · Palette generator →

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