#1F7E97#1F7E97

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

Color values

HEX#1F7E97
RGBrgb(31, 126, 151)
HSLhsl(193, 66%, 36%)
HSVhsv(193, 79%, 59%)
CMYKcmyk(79.5%, 16.6%, 0%, 40.8%)
CIE-LABlab(48.82, -17.80, -21.11)
CIE-LCHlch(48.82, 27.62, 229.86°)
OKLaboklab(55.15% -0.07 -0.0591)
OKLCHoklch(55.15% 0.092 220.2)
XYZxyz(13.6095, 17.4457, 31.9222)
Luminance0.1745 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7E97 #97381F
analogous
#1F9774 #1F7E97 #1F4297
triadic
#1F7E97 #971F7E #7E971F
tetradic
#1F7E97 #741F97 #97381F #42971F
square
#1F7E97 #741F97 #97381F #42971F
split-complementary
#1F7E97 #971F42 #97741F
monochromatic
#0A2931 #155464 #1F7E97 #29A8CA #54C0DC

Accessibility & contrast

On white

4.68
#1F7E97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#1F7E97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7E97
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7E97#FFFFFF#000000##FFFFFF
##1F7E971.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f7e97;
/* rgb */ color: rgb(31, 126, 151);
/* oklch */ color: oklch(55.2% 0.092 220.2);
Tailwind
colors: {
  custom: {
    50: '#6fa3b5',
    500: '#1f7e97',
    950: '#000000',
  },
}
SCSS
$custom: #1f7e97;
$custom-light: #6fa3b5;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7e97",
  "rgb": {
    "r": 31,
    "g": 126,
    "b": 151
  },
  "hsl": {
    "h": 192.5,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.55153,
    "c": 0.09158,
    "h": 220.2
  },
  "luminance": 0.17447
}

Semantic roles & 50–950 ramp

primary
#1F7E97
secondary
#BF6952
accent
#623FE9
background
#F7FAFB
surface
#EDF3F6
border
#C8CDD0
text
#090F11
muted
#7B7F80

Preview Lab

Preview with #1F7E97

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

Preview Lab → · Contrast checker → · Palette generator →

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