#1F7F98#1F7F98

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

Color values

HEX#1F7F98
RGBrgb(31, 127, 152)
HSLhsl(192, 66%, 36%)
HSVhsv(192, 80%, 60%)
CMYKcmyk(79.6%, 16.4%, 0%, 40.4%)
CIE-LABlab(49.17, -18.00, -21.15)
CIE-LCHlch(49.17, 27.77, 229.60°)
OKLaboklab(55.45% -0.0706 -0.0592)
OKLCHoklch(55.45% 0.092 220)
XYZxyz(13.8195, 17.7353, 32.3946)
Luminance0.1774 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7F98 #98381F
analogous
#1F9874 #1F7F98 #1F4298
triadic
#1F7F98 #981F7F #7F981F
tetradic
#1F7F98 #741F98 #98381F #42981F
square
#1F7F98 #741F98 #98381F #42981F
split-complementary
#1F7F98 #981F42 #98741F
monochromatic
#0A2A32 #155565 #1F7F98 #29A9CB #55C0DC

Accessibility & contrast

On white

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

On black

4.55
#1F7F98 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##1F7F98#FFFFFF#000000##FFFFFF
##1F7F981.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f7f98;
/* rgb */ color: rgb(31, 127, 152);
/* oklch */ color: oklch(55.5% 0.092 220.0);
Tailwind
colors: {
  custom: {
    50: '#70a4b6',
    500: '#1f7f98',
    950: '#000000',
  },
}
SCSS
$custom: #1f7f98;
$custom-light: #70a4b6;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7f98",
  "rgb": {
    "r": 31,
    "g": 127,
    "b": 152
  },
  "hsl": {
    "h": 192.397,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.55453,
    "c": 0.09211,
    "h": 220
  },
  "luminance": 0.17737
}

Semantic roles & 50–950 ramp

primary
#1F7F98
secondary
#C06953
accent
#623FE9
background
#F7FAFB
surface
#EDF4F6
border
#C8CED0
text
#090F11
muted
#7B7F80

Preview Lab

Preview with #1F7F98

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

Preview Lab → · Contrast checker → · Palette generator →

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