#1D1B88#1D1B88

#1D1B88 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.1% C 0.171 H 272.0°. Best body text is #FFFFFF at 13.42:1 contrast (WCAG AA passes).

Color values

HEX#1D1B88
RGBrgb(29, 27, 136)
HSLhsl(241, 67%, 32%)
HSVhsv(241, 80%, 53%)
CMYKcmyk(78.7%, 80.1%, 0%, 46.7%)
CIE-LABlab(19.32, 39.29, -59.16)
CIE-LCHlch(19.32, 71.02, 303.59°)
OKLaboklab(32.14% 0.0061 -0.1713)
OKLCHoklch(32.14% 0.171 272)
XYZxyz(5.3411, 2.8221, 23.5510)
Luminance0.0282 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1B88 #86881B
analogous
#1B5088 #1D1B88 #541B88
triadic
#1D1B88 #881D1B #1B881D
tetradic
#1D1B88 #881B50 #86881B #1B8854
square
#1D1B88 #881B50 #86881B #1B8854
split-complementary
#1D1B88 #88541B #50881B
monochromatic
#070722 #121155 #1D1B88 #2825BB #4644DA

Accessibility & contrast

On white

13.42
#1D1B88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#1D1B88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D1B88
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1B88#FFFFFF#000000##FFFFFF
##1D1B881.0013.421.5613.42
#FFFFFF13.421.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00348B
Deuteranopia (green-blind)
#002986
Tritanopia (blue-blind)
#003C51
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1d1b88;
/* rgb */ color: rgb(29, 27, 136);
/* oklch */ color: oklch(32.1% 0.171 272.0);
Tailwind
colors: {
  custom: {
    50: '#6d5aac',
    500: '#1d1b88',
    950: '#000000',
  },
}
SCSS
$custom: #1d1b88;
$custom-light: #6d5aac;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1b88",
  "rgb": {
    "r": 29,
    "g": 27,
    "b": 136
  },
  "hsl": {
    "h": 241.101,
    "s": 66.871,
    "l": 31.961
  },
  "oklch": {
    "l": 0.32143,
    "c": 0.17136,
    "h": 272
  },
  "luminance": 0.02823
}

Semantic roles & 50–950 ramp

primary
#1D1B88
secondary
#B9BB44
accent
#EA3EE7
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1D1B88

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

Preview Lab → · Contrast checker → · Palette generator →

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