#1D1390#1D1390

#1D1390 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 32.2% C 0.187 H 271.9°. Best body text is #FFFFFF at 13.56:1 contrast (WCAG AA passes).

Color values

HEX#1D1390
RGBrgb(29, 19, 144)
HSLhsl(245, 77%, 32%)
HSVhsv(245, 87%, 56%)
CMYKcmyk(79.9%, 86.8%, 0%, 43.5%)
CIE-LABlab(18.97, 45.80, -64.74)
CIE-LCHlch(18.97, 79.30, 305.27°)
OKLaboklab(32.19% 0.0063 -0.1873)
OKLCHoklch(32.19% 0.187 271.9)
XYZxyz(5.7719, 2.7399, 26.6048)
Luminance0.0274 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1390 #869013
analogous
#134890 #1D1390 #5C1390
triadic
#1D1390 #901D13 #13901D
tetradic
#1D1390 #901348 #869013 #13905C
square
#1D1390 #901348 #869013 #13905C
split-complementary
#1D1390 #905C13 #489013
monochromatic
#070524 #120C5A #1D1390 #281AC6 #4639E5

Accessibility & contrast

On white

13.56
#1D1390 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#1D1390 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D1390
13.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1390#FFFFFF#000000##FFFFFF
##1D13901.0013.561.5513.56
#FFFFFF13.561.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003493
Deuteranopia (green-blind)
#00288E
Tritanopia (blue-blind)
#003D54
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1d1390;
/* rgb */ color: rgb(29, 19, 144);
/* oklch */ color: oklch(32.2% 0.187 271.9);
Tailwind
colors: {
  custom: {
    50: '#7056b2',
    500: '#1d1390',
    950: '#000000',
  },
}
SCSS
$custom: #1d1390;
$custom-light: #7056b2;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1390",
  "rgb": {
    "r": 29,
    "g": 19,
    "b": 144
  },
  "hsl": {
    "h": 244.8,
    "s": 76.687,
    "l": 31.961
  },
  "oklch": {
    "l": 0.3219,
    "c": 0.18737,
    "h": 271.9
  },
  "luminance": 0.02741
}

Semantic roles & 50–950 ramp

primary
#1D1390
secondary
#B9C43B
accent
#F335E4
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880

Preview Lab

Preview with #1D1390

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

Preview Lab → · Contrast checker → · Palette generator →

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