#1F8FA6#1F8FA6

#1F8FA6 is a mid, moderate cyan. Relative luminance 0.227; OKLCH L 60.1% C 0.099 H 215.6°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#1F8FA6
RGBrgb(31, 143, 166)
HSLhsl(190, 69%, 39%)
HSVhsv(190, 81%, 65%)
CMYKcmyk(81.3%, 13.9%, 0%, 34.9%)
CIE-LABlab(54.75, -21.77, -20.71)
CIE-LCHlch(54.75, 30.04, 223.57°)
OKLaboklab(60.12% -0.0807 -0.0578)
OKLCHoklch(60.12% 0.099 215.6)
XYZxyz(17.2675, 22.6872, 39.5380)
Luminance0.2269 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8FA6 #A6361F
analogous
#1FA679 #1F8FA6 #1F4BA6
triadic
#1F8FA6 #A61F8F #8FA61F
tetradic
#1F8FA6 #791FA6 #A6361F #4BA61F
square
#1F8FA6 #791FA6 #A6361F #4BA61F
split-complementary
#1F8FA6 #A61F4B #A6791F
monochromatic
#0C363F #156372 #1F8FA6 #2BBAD7 #5ECBE1

Accessibility & contrast

On white

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

On black

5.54
#1F8FA6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8FA6
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8FA6#FFFFFF#000000##000000
##1F8FA61.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F8AA7
Deuteranopia (green-blind)
#6E7DA6
Tritanopia (blue-blind)
#009796
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #1f8fa6;
/* rgb */ color: rgb(31, 143, 166);
/* oklch */ color: oklch(60.1% 0.099 215.6);
Tailwind
colors: {
  custom: {
    50: '#73b0c0',
    500: '#1f8fa6',
    950: '#000000',
  },
}
SCSS
$custom: #1f8fa6;
$custom-light: #73b0c0;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8fa6",
  "rgb": {
    "r": 31,
    "g": 143,
    "b": 166
  },
  "hsl": {
    "h": 190.222,
    "s": 68.528,
    "l": 38.627
  },
  "oklch": {
    "l": 0.60122,
    "c": 0.09928,
    "h": 215.6
  },
  "luminance": 0.22689
}

Semantic roles & 50–950 ramp

primary
#1F8FA6
secondary
#C56D5B
accent
#5A3CEB
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #1F8FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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