#1D1590#1D1590

#1D1590 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.4% C 0.186 H 271.8°. Best body text is #FFFFFF at 13.44:1 contrast (WCAG AA passes).

Color values

HEX#1D1590
RGBrgb(29, 21, 144)
HSLhsl(244, 75%, 32%)
HSVhsv(244, 85%, 56%)
CMYKcmyk(79.9%, 85.4%, 0%, 43.5%)
CIE-LABlab(19.27, 44.91, -64.25)
CIE-LCHlch(19.27, 78.39, 304.96°)
OKLaboklab(32.4% 0.0059 -0.1859)
OKLCHoklch(32.4% 0.186 271.8)
XYZxyz(5.8072, 2.8105, 26.6166)
Luminance0.0281 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1590 #889015
analogous
#154B90 #1D1590 #5A1590
triadic
#1D1590 #901D15 #15901D
tetradic
#1D1590 #90154B #889015 #15905A
square
#1D1590 #90154B #889015 #15905A
split-complementary
#1D1590 #905A15 #4B9015
monochromatic
#070525 #120D5B #1D1590 #281DC5 #483DE3

Accessibility & contrast

On white

13.44
#1D1590 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#1D1590 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D1590
13.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1590#FFFFFF#000000##FFFFFF
##1D15901.0013.441.5613.44
#FFFFFF13.441.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003593
Deuteranopia (green-blind)
#00298E
Tritanopia (blue-blind)
#003D55
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1d1590;
/* rgb */ color: rgb(29, 21, 144);
/* oklch */ color: oklch(32.4% 0.186 271.8);
Tailwind
colors: {
  custom: {
    50: '#7057b2',
    500: '#1d1590',
    950: '#000000',
  },
}
SCSS
$custom: #1d1590;
$custom-light: #7057b2;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1590",
  "rgb": {
    "r": 29,
    "g": 21,
    "b": 144
  },
  "hsl": {
    "h": 243.902,
    "s": 74.545,
    "l": 32.353
  },
  "oklch": {
    "l": 0.32395,
    "c": 0.18596,
    "h": 271.8
  },
  "luminance": 0.02811
}

Semantic roles & 50–950 ramp

primary
#1D1590
secondary
#BAC23E
accent
#F137E5
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880

Preview Lab

Preview with #1D1590

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

Preview Lab → · Contrast checker → · Palette generator →

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