#1F7587#1F7587

#1F7587 is a mid, moderate cyan. Relative luminance 0.148; OKLCH L 52.1% C 0.083 H 215.2°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#1F7587
RGBrgb(31, 117, 135)
HSLhsl(190, 63%, 33%)
HSVhsv(190, 77%, 53%)
CMYKcmyk(77%, 13.3%, 0%, 47.1%)
CIE-LABlab(45.31, -18.41, -17.05)
CIE-LCHlch(45.31, 25.09, 222.80°)
OKLaboklab(52.12% -0.0674 -0.0475)
OKLCHoklch(52.12% 0.083 215.2)
XYZxyz(11.2977, 14.7618, 25.1709)
Luminance0.1476 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7587 #87311F
analogous
#1F8765 #1F7587 #1F4187
triadic
#1F7587 #871F75 #75871F
tetradic
#1F7587 #651F87 #87311F #41871F
square
#1F7587 #651F87 #87311F #41871F
split-complementary
#1F7587 #871F41 #87651F
monochromatic
#081F23 #144A55 #1F7587 #2AA0B9 #4BBED6

Accessibility & contrast

On white

5.31
#1F7587 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#1F7587 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7587
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7587#FFFFFF#000000##FFFFFF
##1F75871.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#687188
Deuteranopia (green-blind)
#5A6787
Tritanopia (blue-blind)
#007C7B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #1f7587;
/* rgb */ color: rgb(31, 117, 135);
/* oklch */ color: oklch(52.1% 0.083 215.2);
Tailwind
colors: {
  custom: {
    50: '#6c9daa',
    500: '#1f7587',
    950: '#000000',
  },
}
SCSS
$custom: #1f7587;
$custom-light: #6c9daa;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7587",
  "rgb": {
    "r": 31,
    "g": 117,
    "b": 135
  },
  "hsl": {
    "h": 190.385,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.52119,
    "c": 0.08252,
    "h": 215.2
  },
  "luminance": 0.14763
}

Semantic roles & 50–950 ramp

primary
#1F7587
secondary
#B85D4A
accent
#5E42E6
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E10
muted
#7B7E7F

Preview Lab

Preview with #1F7587

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

Preview Lab → · Contrast checker → · Palette generator →

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