#1D1483#1D1483

#1D1483 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.7% C 0.171 H 273.2°. Best body text is #FFFFFF at 14.19:1 contrast (WCAG AA passes).

Color values

HEX#1D1483
RGBrgb(29, 20, 131)
HSLhsl(245, 74%, 30%)
HSVhsv(245, 85%, 51%)
CMYKcmyk(77.9%, 84.7%, 0%, 48.6%)
CIE-LABlab(17.46, 41.26, -59.09)
CIE-LCHlch(17.46, 72.07, 304.93°)
OKLaboklab(30.67% 0.0096 -0.1709)
OKLCHoklch(30.67% 0.171 273.2)
XYZxyz(4.8522, 2.3997, 21.6758)
Luminance0.0240 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1483 #7A8314
analogous
#144383 #1D1483 #551483
triadic
#1D1483 #831D14 #14831D
tetradic
#1D1483 #831443 #7A8314 #148355
square
#1D1483 #831443 #7A8314 #148355
split-complementary
#1D1483 #835514 #438314
monochromatic
#06041B #110C4E #1D1483 #291CB8 #4032E0

Accessibility & contrast

On white

14.19
#1D1483 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#1D1483 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D1483
14.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1483#FFFFFF#000000##FFFFFF
##1D14831.0014.191.4814.19
#FFFFFF14.191.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1d1483;
/* rgb */ color: rgb(29, 20, 131);
/* oklch */ color: oklch(30.7% 0.171 273.2);
Tailwind
colors: {
  custom: {
    50: '#6d55a8',
    500: '#1d1483',
    950: '#000000',
  },
}
SCSS
$custom: #1d1483;
$custom-light: #6d55a8;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1483",
  "rgb": {
    "r": 29,
    "g": 20,
    "b": 131
  },
  "hsl": {
    "h": 244.865,
    "s": 73.51,
    "l": 29.608
  },
  "oklch": {
    "l": 0.30672,
    "c": 0.1712,
    "h": 273.2
  },
  "luminance": 0.024
}

Semantic roles & 50–950 ramp

primary
#1D1483
secondary
#AEB83B
accent
#F038E1
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #1D1483

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

Preview Lab → · Contrast checker → · Palette generator →

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