#1D5887#1D5887

#1D5887 is a dark, moderate cyan. Relative luminance 0.090; OKLCH L 44.7% C 0.098 H 246.7°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#1D5887
RGBrgb(29, 88, 135)
HSLhsl(207, 65%, 32%)
HSVhsv(207, 79%, 53%)
CMYKcmyk(78.5%, 34.8%, 0%, 47.1%)
CIE-LABlab(35.96, -1.55, -31.57)
CIE-LCHlch(35.96, 31.61, 267.20°)
OKLaboklab(44.66% -0.0387 -0.0897)
OKLCHoklch(44.66% 0.098 246.7)
XYZxyz(8.3679, 8.9889, 24.2110)
Luminance0.0899 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D5887 #874C1D
analogous
#1D8781 #1D5887 #1D2387
triadic
#1D5887 #871D58 #58871D
tetradic
#1D5887 #811D87 #874C1D #23871D
square
#1D5887 #811D87 #874C1D #23871D
split-complementary
#1D5887 #871D23 #87811D
monochromatic
#071622 #123755 #1D5887 #2879B9 #4797D7

Accessibility & contrast

On white

7.51
#1D5887 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#1D5887 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D5887
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D5887#FFFFFF#000000##FFFFFF
##1D58871.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425A89
Deuteranopia (green-blind)
#335086
Tritanopia (blue-blind)
#006369
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #1d5887;
/* rgb */ color: rgb(29, 88, 135);
/* oklch */ color: oklch(44.7% 0.098 246.7);
Tailwind
colors: {
  custom: {
    50: '#6a86aa',
    500: '#1d5887',
    950: '#000000',
  },
}
SCSS
$custom: #1d5887;
$custom-light: #6a86aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1d5887",
  "rgb": {
    "r": 29,
    "g": 88,
    "b": 135
  },
  "hsl": {
    "h": 206.604,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.44656,
    "c": 0.09769,
    "h": 246.7
  },
  "luminance": 0.0899
}

Semantic roles & 50–950 ramp

primary
#1D5887
secondary
#B97946
accent
#8A40E8
background
#F6F8FA
surface
#ECEFF4
border
#C7CACE
text
#070B10
muted
#7A7C7F

Preview Lab

Preview with #1D5887

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

Preview Lab → · Contrast checker → · Palette generator →

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