#1F7A97#1F7A97

#1F7A97 is a mid, moderate cyan. Relative luminance 0.164; OKLCH L 54.1% C 0.092 H 224.4°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#1F7A97
RGBrgb(31, 122, 151)
HSLhsl(195, 66%, 36%)
HSVhsv(195, 79%, 59%)
CMYKcmyk(79.5%, 19.2%, 0%, 40.8%)
CIE-LABlab(47.55, -15.60, -23.06)
CIE-LCHlch(47.55, 27.84, 235.93°)
OKLaboklab(54.14% -0.066 -0.0647)
OKLCHoklch(54.14% 0.092 224.4)
XYZxyz(13.1082, 16.4431, 31.7551)
Luminance0.1645 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7A97 #973C1F
analogous
#1F9778 #1F7A97 #1F3E97
triadic
#1F7A97 #971F7A #7A971F
tetradic
#1F7A97 #781F97 #973C1F #3E971F
square
#1F7A97 #781F97 #973C1F #3E971F
split-complementary
#1F7A97 #971F3E #97781F
monochromatic
#0A2831 #155164 #1F7A97 #29A3CA #54BBDC

Accessibility & contrast

On white

4.90
#1F7A97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#1F7A97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7A97
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7A97#FFFFFF#000000##FFFFFF
##1F7A971.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A7798
Deuteranopia (green-blind)
#5A6C97
Tritanopia (blue-blind)
#008383
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #1f7a97;
/* rgb */ color: rgb(31, 122, 151);
/* oklch */ color: oklch(54.1% 0.092 224.4);
Tailwind
colors: {
  custom: {
    50: '#6fa0b5',
    500: '#1f7a97',
    950: '#000000',
  },
}
SCSS
$custom: #1f7a97;
$custom-light: #6fa0b5;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7a97",
  "rgb": {
    "r": 31,
    "g": 122,
    "b": 151
  },
  "hsl": {
    "h": 194.5,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.54136,
    "c": 0.09239,
    "h": 224.4
  },
  "luminance": 0.16445
}

Semantic roles & 50–950 ramp

primary
#1F7A97
secondary
#BF6D52
accent
#683FE9
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #1F7A97

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

Preview Lab → · Contrast checker → · Palette generator →

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