#1D2687#1D2687

#1D2687 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.7% C 0.159 H 270.5°. Best body text is #FFFFFF at 12.50:1 contrast (WCAG AA passes).

Color values

HEX#1D2687
RGBrgb(29, 38, 135)
HSLhsl(235, 65%, 32%)
HSVhsv(235, 79%, 53%)
CMYKcmyk(78.5%, 71.9%, 0%, 47.1%)
CIE-LABlab(21.57, 32.31, -54.82)
CIE-LCHlch(21.57, 63.64, 300.51°)
OKLaboklab(33.71% 0.0013 -0.1587)
OKLCHoklch(33.71% 0.159 270.5)
XYZxyz(5.5715, 3.3961, 23.2789)
Luminance0.0340 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2687 #877E1D
analogous
#1D5B87 #1D2687 #491D87
triadic
#1D2687 #871D26 #26871D
tetradic
#1D2687 #871D5B #877E1D #1D8749
square
#1D2687 #871D5B #877E1D #1D8749
split-complementary
#1D2687 #87491D #5B871D
monochromatic
#070A22 #121855 #1D2687 #2834B9 #4753D7

Accessibility & contrast

On white

12.50
#1D2687 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#1D2687 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2687
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2687#FFFFFF#000000##FFFFFF
##1D26871.0012.501.6812.50
#FFFFFF12.501.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00398A
Deuteranopia (green-blind)
#002F85
Tritanopia (blue-blind)
#004153
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1d2687;
/* rgb */ color: rgb(29, 38, 135);
/* oklch */ color: oklch(33.7% 0.159 270.5);
Tailwind
colors: {
  custom: {
    50: '#6c61ab',
    500: '#1d2687',
    950: '#000000',
  },
}
SCSS
$custom: #1d2687;
$custom-light: #6c61ab;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2687",
  "rgb": {
    "r": 29,
    "g": 38,
    "b": 135
  },
  "hsl": {
    "h": 234.906,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.33711,
    "c": 0.15872,
    "h": 270.5
  },
  "luminance": 0.03397
}

Semantic roles & 50–950 ramp

primary
#1D2687
secondary
#B9B046
accent
#D940E8
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #1D2687

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

Preview Lab → · Contrast checker → · Palette generator →

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