#1D1B82#1D1B82

#1D1B82 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.4% C 0.164 H 272.6°. Best body text is #FFFFFF at 13.71:1 contrast (WCAG AA passes).

Color values

HEX#1D1B82
RGBrgb(29, 27, 130)
HSLhsl(241, 66%, 31%)
HSVhsv(241, 79%, 51%)
CMYKcmyk(77.7%, 79.2%, 0%, 49%)
CIE-LABlab(18.61, 37.24, -56.55)
CIE-LCHlch(18.61, 67.71, 303.37°)
OKLaboklab(31.44% 0.0074 -0.1637)
OKLCHoklch(31.44% 0.164 272.6)
XYZxyz(4.9265, 2.6563, 21.3678)
Luminance0.0266 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1B82 #80821B
analogous
#1B4C82 #1D1B82 #501B82
triadic
#1D1B82 #821D1B #1B821D
tetradic
#1D1B82 #821B4C #80821B #1B8250
square
#1D1B82 #821B4C #80821B #1B8250
split-complementary
#1D1B82 #82501B #4C821B
monochromatic
#06061D #12104F #1D1B82 #2826B5 #4340D7

Accessibility & contrast

On white

13.71
#1D1B82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#1D1B82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D1B82
13.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1B82#FFFFFF#000000##FFFFFF
##1D1B821.0013.711.5313.71
#FFFFFF13.711.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003285
Deuteranopia (green-blind)
#002880
Tritanopia (blue-blind)
#003A4E
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1d1b82;
/* rgb */ color: rgb(29, 27, 130);
/* oklch */ color: oklch(31.4% 0.164 272.6);
Tailwind
colors: {
  custom: {
    50: '#6c59a7',
    500: '#1d1b82',
    950: '#000000',
  },
}
SCSS
$custom: #1d1b82;
$custom-light: #6c59a7;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1b82",
  "rgb": {
    "r": 29,
    "g": 27,
    "b": 130
  },
  "hsl": {
    "h": 241.165,
    "s": 65.605,
    "l": 30.784
  },
  "oklch": {
    "l": 0.31441,
    "c": 0.16383,
    "h": 272.6
  },
  "luminance": 0.02657
}

Semantic roles & 50–950 ramp

primary
#1D1B82
secondary
#B3B643
accent
#E93FE5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1D1B82

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

Preview Lab → · Contrast checker → · Palette generator →

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