#1D5186#1D5186

#1D5186 is a dark, moderate cyan. Relative luminance 0.079; OKLCH L 42.9% C 0.104 H 251.9°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#1D5186
RGBrgb(29, 81, 134)
HSLhsl(210, 64%, 32%)
HSVhsv(210, 78%, 53%)
CMYKcmyk(78.4%, 39.6%, 0%, 47.5%)
CIE-LABlab(33.70, 2.58, -34.54)
CIE-LCHlch(33.70, 34.64, 274.28°)
OKLaboklab(42.86% -0.0321 -0.0985)
OKLCHoklch(42.86% 0.104 251.9)
XYZxyz(7.7506, 7.8664, 23.6595)
Luminance0.0787 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D5186 #86521D
analogous
#1D8686 #1D5186 #1E1D86
triadic
#1D5186 #861D51 #51861D
tetradic
#1D5186 #861D86 #86521D #1D861E
square
#1D5186 #861D86 #86521D #1D861E
split-complementary
#1D5186 #861E1D #86861D
monochromatic
#071421 #123354 #1D5186 #286FB8 #468ED7

Accessibility & contrast

On white

8.16
#1D5186 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#1D5186 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D5186
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D5186#FFFFFF#000000##FFFFFF
##1D51861.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385588
Deuteranopia (green-blind)
#284B85
Tritanopia (blue-blind)
#005E65
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #1d5186;
/* rgb */ color: rgb(29, 81, 134);
/* oklch */ color: oklch(42.9% 0.104 251.9);
Tailwind
colors: {
  custom: {
    50: '#6981a9',
    500: '#1d5186',
    950: '#000000',
  },
}
SCSS
$custom: #1d5186;
$custom-light: #6981a9;
$custom-dark: #000000;
JSON
{
  "hex": "#1d5186",
  "rgb": {
    "r": 29,
    "g": 81,
    "b": 134
  },
  "hsl": {
    "h": 210.286,
    "s": 64.417,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42864,
    "c": 0.10363,
    "h": 251.9
  },
  "luminance": 0.07867
}

Semantic roles & 50–950 ramp

primary
#1D5186
secondary
#B98046
accent
#9540E7
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070A10
muted
#7A7C7F

Preview Lab

Preview with #1D5186

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

Preview Lab → · Contrast checker → · Palette generator →

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