#1F7487#1F7487

#1F7487 is a mid, moderate cyan. Relative luminance 0.145; OKLCH L 51.9% C 0.082 H 216.4°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#1F7487
RGBrgb(31, 116, 135)
HSLhsl(191, 63%, 33%)
HSVhsv(191, 77%, 53%)
CMYKcmyk(77%, 14.1%, 0%, 47.1%)
CIE-LABlab(44.98, -17.86, -17.54)
CIE-LCHlch(44.98, 25.03, 224.48°)
OKLaboklab(51.86% -0.0664 -0.0489)
OKLCHoklch(51.86% 0.082 216.4)
XYZxyz(11.1818, 14.5300, 25.1322)
Luminance0.1453 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7487 #87321F
analogous
#1F8766 #1F7487 #1F4087
triadic
#1F7487 #871F74 #74871F
tetradic
#1F7487 #661F87 #87321F #40871F
square
#1F7487 #661F87 #87321F #40871F
split-complementary
#1F7487 #871F40 #87661F
monochromatic
#081E23 #144955 #1F7487 #2A9FB9 #4BBCD6

Accessibility & contrast

On white

5.38
#1F7487 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#1F7487 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7487
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7487#FFFFFF#000000##FFFFFF
##1F74871.005.383.915.38
#FFFFFF5.381.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#677088
Deuteranopia (green-blind)
#596687
Tritanopia (blue-blind)
#007B7A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #1f7487;
/* rgb */ color: rgb(31, 116, 135);
/* oklch */ color: oklch(51.9% 0.082 216.4);
Tailwind
colors: {
  custom: {
    50: '#6c9caa',
    500: '#1f7487',
    950: '#000000',
  },
}
SCSS
$custom: #1f7487;
$custom-light: #6c9caa;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7487",
  "rgb": {
    "r": 31,
    "g": 116,
    "b": 135
  },
  "hsl": {
    "h": 190.962,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.51859,
    "c": 0.08248,
    "h": 216.4
  },
  "luminance": 0.14531
}

Semantic roles & 50–950 ramp

primary
#1F7487
secondary
#B85E4A
accent
#6042E6
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E10
muted
#7B7E7F

Preview Lab

Preview with #1F7487

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

Preview Lab → · Contrast checker → · Palette generator →

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