#1D1589#1D1589

#1D1589 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.5% C 0.178 H 272.5°. Best body text is #FFFFFF at 13.81:1 contrast (WCAG AA passes).

Color values

HEX#1D1589
RGBrgb(29, 21, 137)
HSLhsl(244, 73%, 31%)
HSVhsv(244, 85%, 54%)
CMYKcmyk(78.8%, 84.7%, 0%, 46.3%)
CIE-LABlab(18.38, 42.70, -61.35)
CIE-LCHlch(18.38, 74.75, 304.84°)
OKLaboklab(31.53% 0.0077 -0.1775)
OKLCHoklch(31.53% 0.178 272.5)
XYZxyz(5.2887, 2.6031, 23.8858)
Luminance0.0260 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1589 #818915
analogous
#154789 #1D1589 #571589
triadic
#1D1589 #891D15 #15891D
tetradic
#1D1589 #891547 #818915 #158957
square
#1D1589 #891547 #818915 #158957
split-complementary
#1D1589 #895715 #478915
monochromatic
#07051F #120D54 #1D1589 #281DBE #4438E0

Accessibility & contrast

On white

13.81
#1D1589 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#1D1589 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D1589
13.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1589#FFFFFF#000000##FFFFFF
##1D15891.0013.811.5213.81
#FFFFFF13.811.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00328C
Deuteranopia (green-blind)
#002787
Tritanopia (blue-blind)
#003A51
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1d1589;
/* rgb */ color: rgb(29, 21, 137);
/* oklch */ color: oklch(31.5% 0.178 272.5);
Tailwind
colors: {
  custom: {
    50: '#6e56ad',
    500: '#1d1589',
    950: '#000000',
  },
}
SCSS
$custom: #1d1589;
$custom-light: #6e56ad;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1589",
  "rgb": {
    "r": 29,
    "g": 21,
    "b": 137
  },
  "hsl": {
    "h": 244.138,
    "s": 73.418,
    "l": 30.98
  },
  "oklch": {
    "l": 0.31526,
    "c": 0.17765,
    "h": 272.5
  },
  "luminance": 0.02604
}

Semantic roles & 50–950 ramp

primary
#1D1589
secondary
#B4BD3D
accent
#F038E3
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F

Preview Lab

Preview with #1D1589

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

Preview Lab → · Contrast checker → · Palette generator →

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