#1D1B84#1D1B84

#1D1B84 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.7% C 0.166 H 272.4°. Best body text is #FFFFFF at 13.62:1 contrast (WCAG AA passes).

Color values

HEX#1D1B84
RGBrgb(29, 27, 132)
HSLhsl(241, 66%, 31%)
HSVhsv(241, 80%, 52%)
CMYKcmyk(78%, 79.5%, 0%, 48.2%)
CIE-LABlab(18.85, 37.93, -57.43)
CIE-LCHlch(18.85, 68.82, 303.44°)
OKLaboklab(31.67% 0.0069 -0.1662)
OKLCHoklch(31.67% 0.166 272.4)
XYZxyz(5.0621, 2.7105, 22.0817)
Luminance0.0271 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1B84 #82841B
analogous
#1B4D84 #1D1B84 #511B84
triadic
#1D1B84 #841D1B #1B841D
tetradic
#1D1B84 #841B4D #82841B #1B8451
square
#1D1B84 #841B4D #82841B #1B8451
split-complementary
#1D1B84 #84511B #4D841B
monochromatic
#07061E #121151 #1D1B84 #2825B7 #4441D8

Accessibility & contrast

On white

13.62
#1D1B84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#1D1B84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D1B84
13.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1B84#FFFFFF#000000##FFFFFF
##1D1B841.0013.621.5413.62
#FFFFFF13.621.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003387
Deuteranopia (green-blind)
#002982
Tritanopia (blue-blind)
#003B4F
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1d1b84;
/* rgb */ color: rgb(29, 27, 132);
/* oklch */ color: oklch(31.7% 0.166 272.4);
Tailwind
colors: {
  custom: {
    50: '#6c59a9',
    500: '#1d1b84',
    950: '#000000',
  },
}
SCSS
$custom: #1d1b84;
$custom-light: #6c59a9;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1b84",
  "rgb": {
    "r": 29,
    "g": 27,
    "b": 132
  },
  "hsl": {
    "h": 241.143,
    "s": 66.038,
    "l": 31.176
  },
  "oklch": {
    "l": 0.31674,
    "c": 0.16635,
    "h": 272.4
  },
  "luminance": 0.02711
}

Semantic roles & 50–950 ramp

primary
#1D1B84
secondary
#B5B743
accent
#E93FE6
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1D1B84

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

Preview Lab → · Contrast checker → · Palette generator →

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