#1F7E98#1F7E98

#1F7E98 is a mid, moderate cyan. Relative luminance 0.175; OKLCH L 55.2% C 0.092 H 221.0°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#1F7E98
RGBrgb(31, 126, 152)
HSLhsl(193, 66%, 36%)
HSVhsv(193, 80%, 60%)
CMYKcmyk(79.6%, 17.1%, 0%, 40.4%)
CIE-LABlab(48.86, -17.46, -21.63)
CIE-LCHlch(48.86, 27.80, 231.10°)
OKLaboklab(55.2% -0.0696 -0.0606)
OKLCHoklch(55.2% 0.092 221)
XYZxyz(13.6910, 17.4783, 32.3518)
Luminance0.1748 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7E98 #98391F
analogous
#1F9875 #1F7E98 #1F4198
triadic
#1F7E98 #981F7E #7E981F
tetradic
#1F7E98 #751F98 #98391F #41981F
square
#1F7E98 #751F98 #98391F #41981F
split-complementary
#1F7E98 #981F41 #98751F
monochromatic
#0A2A32 #155465 #1F7E98 #29A8CB #55BFDC

Accessibility & contrast

On white

4.67
#1F7E98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#1F7E98 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7E98
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7E98#FFFFFF#000000##FFFFFF
##1F7E981.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E7B99
Deuteranopia (green-blind)
#5E6F98
Tritanopia (blue-blind)
#008686
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #1f7e98;
/* rgb */ color: rgb(31, 126, 152);
/* oklch */ color: oklch(55.2% 0.092 221.0);
Tailwind
colors: {
  custom: {
    50: '#70a3b6',
    500: '#1f7e98',
    950: '#000000',
  },
}
SCSS
$custom: #1f7e98;
$custom-light: #70a3b6;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7e98",
  "rgb": {
    "r": 31,
    "g": 126,
    "b": 152
  },
  "hsl": {
    "h": 192.893,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.55199,
    "c": 0.09225,
    "h": 221
  },
  "luminance": 0.1748
}

Semantic roles & 50–950 ramp

primary
#1F7E98
secondary
#C06A53
accent
#633FE9
background
#F7FAFB
surface
#EDF3F6
border
#C8CDD0
text
#090F11
muted
#7B7F80

Preview Lab

Preview with #1F7E98

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

Preview Lab → · Contrast checker → · Palette generator →

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