#1D5785#1D5785

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

Color values

HEX#1D5785
RGBrgb(29, 87, 133)
HSLhsl(207, 64%, 32%)
HSVhsv(207, 78%, 52%)
CMYKcmyk(78.2%, 34.6%, 0%, 47.8%)
CIE-LABlab(35.54, -1.69, -31.02)
CIE-LCHlch(35.54, 31.07, 266.88°)
OKLaboklab(44.29% -0.0383 -0.0881)
OKLCHoklch(44.29% 0.096 246.5)
XYZxyz(8.1469, 8.7701, 23.4492)
Luminance0.0877 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D5785 #854B1D
analogous
#1D857F #1D5785 #1D2385
triadic
#1D5785 #851D57 #57851D
tetradic
#1D5785 #7F1D85 #854B1D #23851D
square
#1D5785 #7F1D85 #854B1D #23851D
split-complementary
#1D5785 #851D23 #857F1D
monochromatic
#071521 #123653 #1D5785 #2878B7 #4697D7

Accessibility & contrast

On white

7.62
#1D5785 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#1D5785 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D5785
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D5785#FFFFFF#000000##FFFFFF
##1D57851.007.622.757.62
#FFFFFF7.621.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425987
Deuteranopia (green-blind)
#334F84
Tritanopia (blue-blind)
#006268
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #1d5785;
/* rgb */ color: rgb(29, 87, 133);
/* oklch */ color: oklch(44.3% 0.096 246.5);
Tailwind
colors: {
  custom: {
    50: '#6986a9',
    500: '#1d5785',
    950: '#000000',
  },
}
SCSS
$custom: #1d5785;
$custom-light: #6986a9;
$custom-dark: #000000;
JSON
{
  "hex": "#1d5785",
  "rgb": {
    "r": 29,
    "g": 87,
    "b": 133
  },
  "hsl": {
    "h": 206.538,
    "s": 64.198,
    "l": 31.765
  },
  "oklch": {
    "l": 0.44286,
    "c": 0.09608,
    "h": 246.5
  },
  "luminance": 0.08771
}

Semantic roles & 50–950 ramp

primary
#1D5785
secondary
#B87846
accent
#8A41E7
background
#F6F8FA
surface
#ECEFF4
border
#C7CACE
text
#070B10
muted
#7A7C7F

Preview Lab

Preview with #1D5785

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

Preview Lab → · Contrast checker → · Palette generator →

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