#1F7D98#1F7D98

#1F7D98 is a mid, moderate cyan. Relative luminance 0.172; OKLCH L 54.9% C 0.092 H 222.1°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#1F7D98
RGBrgb(31, 125, 152)
HSLhsl(193, 66%, 36%)
HSVhsv(193, 80%, 60%)
CMYKcmyk(79.6%, 17.8%, 0%, 40.4%)
CIE-LABlab(48.54, -16.91, -22.12)
CIE-LCHlch(48.54, 27.84, 232.61°)
OKLaboklab(54.95% -0.0686 -0.062)
OKLCHoklch(54.95% 0.092 222.1)
XYZxyz(13.5638, 17.2239, 32.3093)
Luminance0.1723 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7D98 #983A1F
analogous
#1F9876 #1F7D98 #1F4198
triadic
#1F7D98 #981F7D #7D981F
tetradic
#1F7D98 #761F98 #983A1F #41981F
square
#1F7D98 #761F98 #983A1F #41981F
split-complementary
#1F7D98 #981F41 #98761F
monochromatic
#0A2932 #155365 #1F7D98 #29A7CB #55BEDC

Accessibility & contrast

On white

4.72
#1F7D98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#1F7D98 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7D98
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7D98#FFFFFF#000000##FFFFFF
##1F7D981.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D7A99
Deuteranopia (green-blind)
#5D6E98
Tritanopia (blue-blind)
#008586
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #1f7d98;
/* rgb */ color: rgb(31, 125, 152);
/* oklch */ color: oklch(54.9% 0.092 222.1);
Tailwind
colors: {
  custom: {
    50: '#6fa2b6',
    500: '#1f7d98',
    950: '#000000',
  },
}
SCSS
$custom: #1f7d98;
$custom-light: #6fa2b6;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7d98",
  "rgb": {
    "r": 31,
    "g": 125,
    "b": 152
  },
  "hsl": {
    "h": 193.388,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.54945,
    "c": 0.09242,
    "h": 222.1
  },
  "luminance": 0.17226
}

Semantic roles & 50–950 ramp

primary
#1F7D98
secondary
#C06B53
accent
#653FE9
background
#F7FAFB
surface
#EDF3F6
border
#C8CDD0
text
#090F11
muted
#7B7F80

Preview Lab

Preview with #1F7D98

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

Preview Lab → · Contrast checker → · Palette generator →

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