#1F87AE#1F87AE

#1F87AE is a mid, moderate cyan. Relative luminance 0.207; OKLCH L 58.5% C 0.107 H 229.1°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#1F87AE
RGBrgb(31, 135, 174)
HSLhsl(196, 70%, 40%)
HSVhsv(196, 82%, 68%)
CMYKcmyk(82.2%, 22.4%, 0%, 31.8%)
CIE-LABlab(52.59, -14.68, -28.63)
CIE-LCHlch(52.59, 32.17, 242.86°)
OKLaboklab(58.5% -0.0698 -0.0806)
OKLCHoklch(58.5% 0.107 229.1)
XYZxyz(16.8659, 20.6731, 43.1376)
Luminance0.2067 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F87AE #AE461F
analogous
#1FAE8E #1F87AE #1F3FAE
triadic
#1F87AE #AE1F87 #87AE1F
tetradic
#1F87AE #8E1FAE #AE461F #3FAE1F
square
#1F87AE #8E1FAE #AE461F #3FAE1F
split-complementary
#1F87AE #AE1F3F #AE8E1F
monochromatic
#0C3646 #165F7A #1F87AE #30ACDA #64C1E3

Accessibility & contrast

On white

4.09
#1F87AE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#1F87AE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F87AE
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F87AE#FFFFFF#000000##000000
##1F87AE1.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7385B0
Deuteranopia (green-blind)
#6078AD
Tritanopia (blue-blind)
#009294
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #1f87ae;
/* rgb */ color: rgb(31, 135, 174);
/* oklch */ color: oklch(58.5% 0.107 229.1);
Tailwind
colors: {
  custom: {
    50: '#74aac6',
    500: '#1f87ae',
    950: '#000000',
  },
}
SCSS
$custom: #1f87ae;
$custom-light: #74aac6;
$custom-dark: #000000;
JSON
{
  "hex": "#1f87ae",
  "rgb": {
    "r": 31,
    "g": 135,
    "b": 174
  },
  "hsl": {
    "h": 196.364,
    "s": 69.756,
    "l": 40.196
  },
  "oklch": {
    "l": 0.58496,
    "c": 0.10663,
    "h": 229.1
  },
  "luminance": 0.20675
}

Semantic roles & 50–950 ramp

primary
#1F87AE
secondary
#C87D60
accent
#6C3BED
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #1F87AE

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

Preview Lab → · Contrast checker → · Palette generator →

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