#1D5987#1D5987

#1D5987 is a dark, moderate cyan. Relative luminance 0.092; OKLCH L 44.9% C 0.097 H 245.8°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#1D5987
RGBrgb(29, 89, 135)
HSLhsl(206, 65%, 32%)
HSVhsv(206, 79%, 53%)
CMYKcmyk(78.5%, 34.1%, 0%, 47.1%)
CIE-LABlab(36.28, -2.18, -31.07)
CIE-LCHlch(36.28, 31.15, 265.99°)
OKLaboklab(44.91% -0.0397 -0.0882)
OKLCHoklch(44.91% 0.097 245.8)
XYZxyz(8.4506, 9.1542, 24.2385)
Luminance0.0916 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D5987 #874B1D
analogous
#1D8780 #1D5987 #1D2487
triadic
#1D5987 #871D59 #59871D
tetradic
#1D5987 #801D87 #874B1D #24871D
square
#1D5987 #801D87 #874B1D #24871D
split-complementary
#1D5987 #871D24 #87801D
monochromatic
#071722 #123855 #1D5987 #287AB9 #4799D7

Accessibility & contrast

On white

7.42
#1D5987 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#1D5987 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D5987
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D5987#FFFFFF#000000##FFFFFF
##1D59871.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445B89
Deuteranopia (green-blind)
#355186
Tritanopia (blue-blind)
#00646A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #1d5987;
/* rgb */ color: rgb(29, 89, 135);
/* oklch */ color: oklch(44.9% 0.097 245.8);
Tailwind
colors: {
  custom: {
    50: '#6a87aa',
    500: '#1d5987',
    950: '#000000',
  },
}
SCSS
$custom: #1d5987;
$custom-light: #6a87aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1d5987",
  "rgb": {
    "r": 29,
    "g": 89,
    "b": 135
  },
  "hsl": {
    "h": 206.038,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.44906,
    "c": 0.09675,
    "h": 245.8
  },
  "luminance": 0.09155
}

Semantic roles & 50–950 ramp

primary
#1D5987
secondary
#B97846
accent
#8940E8
background
#F6F8FA
surface
#ECEFF4
border
#C7CACE
text
#070B10
muted
#7A7C7F

Preview Lab

Preview with #1D5987

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

Preview Lab → · Contrast checker → · Palette generator →

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