#1D1783#1D1783

#1D1783 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 31.0% C 0.169 H 272.9°. Best body text is #FFFFFF at 13.98:1 contrast (WCAG AA passes).

Color values

HEX#1D1783
RGBrgb(29, 23, 131)
HSLhsl(243, 70%, 30%)
HSVhsv(243, 82%, 51%)
CMYKcmyk(77.9%, 82.4%, 0%, 48.6%)
CIE-LABlab(17.97, 39.76, -58.24)
CIE-LCHlch(17.97, 70.52, 304.32°)
OKLaboklab(31.03% 0.0087 -0.1685)
OKLCHoklch(31.03% 0.169 272.9)
XYZxyz(4.9085, 2.5122, 21.6945)
Luminance0.0251 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1783 #7D8317
analogous
#174783 #1D1783 #531783
triadic
#1D1783 #831D17 #17831D
tetradic
#1D1783 #831747 #7D8317 #178353
square
#1D1783 #831747 #7D8317 #178353
split-complementary
#1D1783 #835317 #478317
monochromatic
#06051B #110E4F #1D1783 #2920B7 #4138DC

Accessibility & contrast

On white

13.98
#1D1783 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#1D1783 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D1783
13.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1783#FFFFFF#000000##FFFFFF
##1D17831.0013.981.5013.98
#FFFFFF13.981.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003186
Deuteranopia (green-blind)
#002781
Tritanopia (blue-blind)
#00394D
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #1d1783;
/* rgb */ color: rgb(29, 23, 131);
/* oklch */ color: oklch(31.0% 0.169 272.9);
Tailwind
colors: {
  custom: {
    50: '#6d57a8',
    500: '#1d1783',
    950: '#000000',
  },
}
SCSS
$custom: #1d1783;
$custom-light: #6d57a8;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1783",
  "rgb": {
    "r": 29,
    "g": 23,
    "b": 131
  },
  "hsl": {
    "h": 243.333,
    "s": 70.13,
    "l": 30.196
  },
  "oklch": {
    "l": 0.31029,
    "c": 0.16873,
    "h": 272.9
  },
  "luminance": 0.02513
}

Semantic roles & 50–950 ramp

primary
#1D1783
secondary
#B1B73F
accent
#ED3BE3
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #1D1783

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

Preview Lab → · Contrast checker → · Palette generator →

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