#1D1583#1D1583

#1D1583 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.8% C 0.170 H 273.1°. Best body text is #FFFFFF at 14.12:1 contrast (WCAG AA passes).

Color values

HEX#1D1583
RGBrgb(29, 21, 131)
HSLhsl(244, 72%, 30%)
HSVhsv(244, 84%, 51%)
CMYKcmyk(77.9%, 84%, 0%, 48.6%)
CIE-LABlab(17.63, 40.78, -58.82)
CIE-LCHlch(17.63, 71.57, 304.73°)
OKLaboklab(30.79% 0.0093 -0.1701)
OKLCHoklch(30.79% 0.17 273.1)
XYZxyz(4.8702, 2.4357, 21.6818)
Luminance0.0244 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1583 #7B8315
analogous
#154483 #1D1583 #541583
triadic
#1D1583 #831D15 #15831D
tetradic
#1D1583 #831544 #7B8315 #158354
square
#1D1583 #831544 #7B8315 #158354
split-complementary
#1D1583 #835415 #448315
monochromatic
#06041A #110D4E #1D1583 #291DB8 #4034DE

Accessibility & contrast

On white

14.12
#1D1583 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#1D1583 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D1583
14.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1583#FFFFFF#000000##FFFFFF
##1D15831.0014.121.4914.12
#FFFFFF14.121.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003086
Deuteranopia (green-blind)
#002681
Tritanopia (blue-blind)
#00384D
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #1d1583;
/* rgb */ color: rgb(29, 21, 131);
/* oklch */ color: oklch(30.8% 0.170 273.1);
Tailwind
colors: {
  custom: {
    50: '#6d56a8',
    500: '#1d1583',
    950: '#000000',
  },
}
SCSS
$custom: #1d1583;
$custom-light: #6d56a8;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1583",
  "rgb": {
    "r": 29,
    "g": 21,
    "b": 131
  },
  "hsl": {
    "h": 244.364,
    "s": 72.368,
    "l": 29.804
  },
  "oklch": {
    "l": 0.30788,
    "c": 0.1704,
    "h": 273.1
  },
  "luminance": 0.02436
}

Semantic roles & 50–950 ramp

primary
#1D1583
secondary
#AFB83C
accent
#EF39E2
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #1D1583

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

Preview Lab → · Contrast checker → · Palette generator →

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