#1F87A0#1F87A0

#1F87A0 is a mid, moderate cyan. Relative luminance 0.202; OKLCH L 57.8% C 0.096 H 218.5°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#1F87A0
RGBrgb(31, 135, 160)
HSLhsl(192, 68%, 37%)
HSVhsv(192, 81%, 63%)
CMYKcmyk(80.6%, 15.6%, 0%, 37.3%)
CIE-LABlab(52.01, -19.57, -21.44)
CIE-LCHlch(52.01, 29.03, 227.62°)
OKLaboklab(57.84% -0.0753 -0.06)
OKLCHoklch(57.84% 0.096 218.5)
XYZxyz(15.5715, 20.1554, 36.3206)
Luminance0.2016 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F87A0 #A0381F
analogous
#1FA079 #1F87A0 #1F46A0
triadic
#1F87A0 #A01F87 #87A01F
tetradic
#1F87A0 #791FA0 #A0381F #46A01F
square
#1F87A0 #791FA0 #A0381F #46A01F
split-complementary
#1F87A0 #A01F46 #A0791F
monochromatic
#0B3039 #155C6D #1F87A0 #29B2D3 #5AC5DF

Accessibility & contrast

On white

4.17
#1F87A0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#1F87A0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F87A0
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F87A0#FFFFFF#000000##000000
##1F87A01.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7783A1
Deuteranopia (green-blind)
#6677A0
Tritanopia (blue-blind)
#008F8F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #1f87a0;
/* rgb */ color: rgb(31, 135, 160);
/* oklch */ color: oklch(57.8% 0.096 218.5);
Tailwind
colors: {
  custom: {
    50: '#72aabc',
    500: '#1f87a0',
    950: '#000000',
  },
}
SCSS
$custom: #1f87a0;
$custom-light: #72aabc;
$custom-dark: #000000;
JSON
{
  "hex": "#1f87a0",
  "rgb": {
    "r": 31,
    "g": 135,
    "b": 160
  },
  "hsl": {
    "h": 191.628,
    "s": 67.539,
    "l": 37.451
  },
  "oklch": {
    "l": 0.57841,
    "c": 0.09625,
    "h": 218.5
  },
  "luminance": 0.20157
}

Semantic roles & 50–950 ramp

primary
#1F87A0
secondary
#C36D58
accent
#5F3DEA
background
#F7FAFB
surface
#EDF4F6
border
#C8CED0
text
#091012
muted
#7B7F81

Preview Lab

Preview with #1F87A0

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

Preview Lab → · Contrast checker → · Palette generator →

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