#1D1D91#1D1D91

#1D1D91 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.5% C 0.181 H 271.1°. Best body text is #FFFFFF at 12.83:1 contrast (WCAG AA passes).

Color values

HEX#1D1D91
RGBrgb(29, 29, 145)
HSLhsl(240, 67%, 34%)
HSVhsv(240, 80%, 57%)
CMYKcmyk(80%, 80%, 0%, 43.1%)
CIE-LABlab(20.76, 41.23, -62.38)
CIE-LCHlch(20.76, 74.78, 303.46°)
OKLaboklab(33.47% 0.0034 -0.1806)
OKLCHoklch(33.47% 0.181 271.1)
XYZxyz(6.0552, 3.1836, 27.0779)
Luminance0.0318 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1D91 #91911D
analogous
#1D5791 #1D1D91 #571D91
triadic
#1D1D91 #911D1D #1D911D
tetradic
#1D1D91 #911D57 #91911D #1D9157
square
#1D1D91 #911D57 #91911D #1D9157
split-complementary
#1D1D91 #91571D #57911D
monochromatic
#09092B #13135E #1D1D91 #2727C4 #4D4DDB

Accessibility & contrast

On white

12.83
#1D1D91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#1D1D91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D1D91
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1D91#FFFFFF#000000##FFFFFF
##1D1D911.0012.831.6412.83
#FFFFFF12.831.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003894
Deuteranopia (green-blind)
#002C8F
Tritanopia (blue-blind)
#004157
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1d1d91;
/* rgb */ color: rgb(29, 29, 145);
/* oklch */ color: oklch(33.5% 0.181 271.1);
Tailwind
colors: {
  custom: {
    50: '#705bb3',
    500: '#1d1d91',
    950: '#000000',
  },
}
SCSS
$custom: #1d1d91;
$custom-light: #705bb3;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1d91",
  "rgb": {
    "r": 29,
    "g": 29,
    "b": 145
  },
  "hsl": {
    "h": 240,
    "s": 66.667,
    "l": 34.118
  },
  "oklch": {
    "l": 0.3347,
    "c": 0.18065,
    "h": 271.1
  },
  "luminance": 0.03184
}

Semantic roles & 50–950 ramp

primary
#1D1D91
secondary
#BEBE4C
accent
#EA3EEA
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #1D1D91

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

Preview Lab → · Contrast checker → · Palette generator →

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