#1F5587#1F5587

#1F5587 is a dark, moderate cyan. Relative luminance 0.085; OKLCH L 44.0% C 0.100 H 249.8°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#1F5587
RGBrgb(31, 85, 135)
HSLhsl(209, 63%, 33%)
HSVhsv(209, 77%, 53%)
CMYKcmyk(77%, 37%, 0%, 47.1%)
CIE-LABlab(35.08, 0.64, -32.97)
CIE-LCHlch(35.08, 32.98, 271.12°)
OKLaboklab(43.98% -0.0345 -0.0938)
OKLCHoklch(43.98% 0.1 249.8)
XYZxyz(8.1851, 8.5366, 24.1333)
Luminance0.0854 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5587 #87511F
analogous
#1F8785 #1F5587 #1F2187
triadic
#1F5587 #871F55 #55871F
tetradic
#1F5587 #851F87 #87511F #21871F
square
#1F5587 #851F87 #87511F #21871F
split-complementary
#1F5587 #871F21 #87851F
monochromatic
#081623 #143655 #1F5587 #2A74B9 #4B93D6

Accessibility & contrast

On white

7.76
#1F5587 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#1F5587 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5587
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5587#FFFFFF#000000##FFFFFF
##1F55871.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5889
Deuteranopia (green-blind)
#2F4E86
Tritanopia (blue-blind)
#006167
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #1f5587;
/* rgb */ color: rgb(31, 85, 135);
/* oklch */ color: oklch(44.0% 0.100 249.8);
Tailwind
colors: {
  custom: {
    50: '#6a84aa',
    500: '#1f5587',
    950: '#000000',
  },
}
SCSS
$custom: #1f5587;
$custom-light: #6a84aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5587",
  "rgb": {
    "r": 31,
    "g": 85,
    "b": 135
  },
  "hsl": {
    "h": 208.846,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.43976,
    "c": 0.09999,
    "h": 249.8
  },
  "luminance": 0.08538
}

Semantic roles & 50–950 ramp

primary
#1F5587
secondary
#B87F4A
accent
#9142E6
background
#F6F8FA
surface
#ECEFF4
border
#C7CACE
text
#070A10
muted
#7A7C7F

Preview Lab

Preview with #1F5587

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

Preview Lab → · Contrast checker → · Palette generator →

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