#1F8FA7#1F8FA7

#1F8FA7 is a mid, moderate cyan. Relative luminance 0.227; OKLCH L 60.2% C 0.100 H 216.5°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#1F8FA7
RGBrgb(31, 143, 167)
HSLhsl(191, 69%, 39%)
HSVhsv(191, 81%, 65%)
CMYKcmyk(81.4%, 14.4%, 0%, 34.5%)
CIE-LABlab(54.79, -21.43, -21.22)
CIE-LCHlch(54.79, 30.16, 224.72°)
OKLaboklab(60.17% -0.0803 -0.0593)
OKLCHoklch(60.17% 0.1 216.5)
XYZxyz(17.3596, 22.7241, 40.0230)
Luminance0.2273 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8FA7 #A7371F
analogous
#1FA77B #1F8FA7 #1F4BA7
triadic
#1F8FA7 #A71F8F #8FA71F
tetradic
#1F8FA7 #7B1FA7 #A7371F #4BA71F
square
#1F8FA7 #7B1FA7 #A7371F #4BA71F
split-complementary
#1F8FA7 #A71F4B #A77B1F
monochromatic
#0C3740 #156373 #1F8FA7 #2BB9D8 #5FCAE1

Accessibility & contrast

On white

3.79
#1F8FA7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#1F8FA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8FA7
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8FA7#FFFFFF#000000##000000
##1F8FA71.003.795.555.55
#FFFFFF3.791.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F8AA8
Deuteranopia (green-blind)
#6D7EA7
Tritanopia (blue-blind)
#009797
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #1f8fa7;
/* rgb */ color: rgb(31, 143, 167);
/* oklch */ color: oklch(60.2% 0.100 216.5);
Tailwind
colors: {
  custom: {
    50: '#74b0c1',
    500: '#1f8fa7',
    950: '#000000',
  },
}
SCSS
$custom: #1f8fa7;
$custom-light: #74b0c1;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8fa7",
  "rgb": {
    "r": 31,
    "g": 143,
    "b": 167
  },
  "hsl": {
    "h": 190.588,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.60165,
    "c": 0.0998,
    "h": 216.5
  },
  "luminance": 0.22726
}

Semantic roles & 50–950 ramp

primary
#1F8FA7
secondary
#C66F5C
accent
#5B3CEC
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #1F8FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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