#1D1B89#1D1B89

#1D1B89 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.3% C 0.173 H 271.9°. Best body text is #FFFFFF at 13.37:1 contrast (WCAG AA passes).

Color values

HEX#1D1B89
RGBrgb(29, 27, 137)
HSLhsl(241, 67%, 32%)
HSVhsv(241, 80%, 54%)
CMYKcmyk(78.8%, 80.3%, 0%, 46.3%)
CIE-LABlab(19.44, 39.63, -59.59)
CIE-LCHlch(19.44, 71.57, 303.62°)
OKLaboklab(32.26% 0.0058 -0.1725)
OKLCHoklch(32.26% 0.173 271.9)
XYZxyz(5.4125, 2.8506, 23.9270)
Luminance0.0285 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1B89 #87891B
analogous
#1B5089 #1D1B89 #541B89
triadic
#1D1B89 #891D1B #1B891D
tetradic
#1D1B89 #891B50 #87891B #1B8954
square
#1D1B89 #891B50 #87891B #1B8954
split-complementary
#1D1B89 #89541B #50891B
monochromatic
#070723 #121156 #1D1B89 #2825BC #4744DA

Accessibility & contrast

On white

13.37
#1D1B89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#1D1B89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D1B89
13.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1B89#FFFFFF#000000##FFFFFF
##1D1B891.0013.371.5713.37
#FFFFFF13.371.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00348C
Deuteranopia (green-blind)
#002A87
Tritanopia (blue-blind)
#003D52
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1d1b89;
/* rgb */ color: rgb(29, 27, 137);
/* oklch */ color: oklch(32.3% 0.173 271.9);
Tailwind
colors: {
  custom: {
    50: '#6e5aad',
    500: '#1d1b89',
    950: '#000000',
  },
}
SCSS
$custom: #1d1b89;
$custom-light: #6e5aad;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1b89",
  "rgb": {
    "r": 29,
    "g": 27,
    "b": 137
  },
  "hsl": {
    "h": 241.091,
    "s": 67.073,
    "l": 32.157
  },
  "oklch": {
    "l": 0.32261,
    "c": 0.1726,
    "h": 271.9
  },
  "luminance": 0.02851
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1D1B89

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

Preview Lab → · Contrast checker → · Palette generator →

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