#1D5287#1D5287

#1D5287 is a dark, moderate cyan. Relative luminance 0.080; OKLCH L 43.2% C 0.104 H 251.6°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#1D5287
RGBrgb(29, 82, 135)
HSLhsl(210, 65%, 32%)
HSVhsv(210, 79%, 53%)
CMYKcmyk(78.5%, 39.3%, 0%, 47.1%)
CIE-LABlab(34.07, 2.33, -34.57)
CIE-LCHlch(34.07, 34.65, 273.85°)
OKLaboklab(43.17% -0.0328 -0.0986)
OKLCHoklch(43.17% 0.104 251.6)
XYZxyz(7.8955, 8.0441, 24.0535)
Luminance0.0804 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D5287 #87521D
analogous
#1D8787 #1D5287 #1D1D87
triadic
#1D5287 #871D52 #52871D
tetradic
#1D5287 #871D87 #87521D #1D871D
square
#1D5287 #871D87 #87521D #1D871D
split-complementary
#1D5287 #871D1D #87871D
monochromatic
#071522 #123355 #1D5287 #2871B9 #478FD7

Accessibility & contrast

On white

8.05
#1D5287 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#1D5287 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D5287
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D5287#FFFFFF#000000##FFFFFF
##1D52871.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395589
Deuteranopia (green-blind)
#294C86
Tritanopia (blue-blind)
#005F66
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #1d5287;
/* rgb */ color: rgb(29, 82, 135);
/* oklch */ color: oklch(43.2% 0.104 251.6);
Tailwind
colors: {
  custom: {
    50: '#6982aa',
    500: '#1d5287',
    950: '#000000',
  },
}
SCSS
$custom: #1d5287;
$custom-light: #6982aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1d5287",
  "rgb": {
    "r": 29,
    "g": 82,
    "b": 135
  },
  "hsl": {
    "h": 210,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.43174,
    "c": 0.1039,
    "h": 251.6
  },
  "luminance": 0.08045
}

Semantic roles & 50–950 ramp

primary
#1D5287
secondary
#B98046
accent
#9440E8
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070A10
muted
#7A7C7F

Preview Lab

Preview with #1D5287

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

Preview Lab → · Contrast checker → · Palette generator →

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