#1F7B97#1F7B97

#1F7B97 is a mid, moderate cyan. Relative luminance 0.167; OKLCH L 54.4% C 0.092 H 223.4°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#1F7B97
RGBrgb(31, 123, 151)
HSLhsl(194, 66%, 36%)
HSVhsv(194, 79%, 59%)
CMYKcmyk(79.5%, 18.5%, 0%, 40.8%)
CIE-LABlab(47.87, -16.15, -22.57)
CIE-LCHlch(47.87, 27.76, 234.41°)
OKLaboklab(54.39% -0.067 -0.0633)
OKLCHoklch(54.39% 0.092 223.4)
XYZxyz(13.2316, 16.6900, 31.7963)
Luminance0.1669 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7B97 #973B1F
analogous
#1F9777 #1F7B97 #1F3F97
triadic
#1F7B97 #971F7B #7B971F
tetradic
#1F7B97 #771F97 #973B1F #3F971F
square
#1F7B97 #771F97 #973B1F #3F971F
split-complementary
#1F7B97 #971F3F #97771F
monochromatic
#0A2831 #155264 #1F7B97 #29A4CA #54BCDC

Accessibility & contrast

On white

4.84
#1F7B97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#1F7B97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7B97
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7B97#FFFFFF#000000##FFFFFF
##1F7B971.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B7898
Deuteranopia (green-blind)
#5B6D97
Tritanopia (blue-blind)
#008484
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #1f7b97;
/* rgb */ color: rgb(31, 123, 151);
/* oklch */ color: oklch(54.4% 0.092 223.4);
Tailwind
colors: {
  custom: {
    50: '#6fa1b5',
    500: '#1f7b97',
    950: '#000000',
  },
}
SCSS
$custom: #1f7b97;
$custom-light: #6fa1b5;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7b97",
  "rgb": {
    "r": 31,
    "g": 123,
    "b": 151
  },
  "hsl": {
    "h": 194,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.5439,
    "c": 0.09213,
    "h": 223.4
  },
  "luminance": 0.16692
}

Semantic roles & 50–950 ramp

primary
#1F7B97
secondary
#BF6C52
accent
#673FE9
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090F11
muted
#7B7E80

Preview Lab

Preview with #1F7B97

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

Preview Lab → · Contrast checker → · Palette generator →

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