#1D5786#1D5786

#1D5786 is a dark, moderate cyan. Relative luminance 0.088; OKLCH L 44.3% C 0.097 H 247.0°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#1D5786
RGBrgb(29, 87, 134)
HSLhsl(207, 64%, 32%)
HSVhsv(207, 78%, 53%)
CMYKcmyk(78.4%, 35.1%, 0%, 47.5%)
CIE-LABlab(35.59, -1.30, -31.55)
CIE-LCHlch(35.59, 31.58, 267.64°)
OKLaboklab(44.35% -0.038 -0.0896)
OKLCHoklch(44.35% 0.097 247)
XYZxyz(8.2163, 8.7979, 23.8148)
Luminance0.0880 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D5786 #864C1D
analogous
#1D8681 #1D5786 #1D2386
triadic
#1D5786 #861D57 #57861D
tetradic
#1D5786 #811D86 #864C1D #23861D
square
#1D5786 #811D86 #864C1D #23861D
split-complementary
#1D5786 #861D23 #86811D
monochromatic
#071621 #123654 #1D5786 #2878B8 #4696D7

Accessibility & contrast

On white

7.61
#1D5786 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#1D5786 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D5786
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D5786#FFFFFF#000000##FFFFFF
##1D57861.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415988
Deuteranopia (green-blind)
#324F85
Tritanopia (blue-blind)
#006268
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #1d5786;
/* rgb */ color: rgb(29, 87, 134);
/* oklch */ color: oklch(44.3% 0.097 247.0);
Tailwind
colors: {
  custom: {
    50: '#6986a9',
    500: '#1d5786',
    950: '#000000',
  },
}
SCSS
$custom: #1d5786;
$custom-light: #6986a9;
$custom-dark: #000000;
JSON
{
  "hex": "#1d5786",
  "rgb": {
    "r": 29,
    "g": 87,
    "b": 134
  },
  "hsl": {
    "h": 206.857,
    "s": 64.417,
    "l": 31.961
  },
  "oklch": {
    "l": 0.44346,
    "c": 0.09737,
    "h": 247
  },
  "luminance": 0.08799
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1D5786

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

Preview Lab → · Contrast checker → · Palette generator →

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