#1D1D89#1D1D89

#1D1D89 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.5% C 0.171 H 271.7°. Best body text is #FFFFFF at 13.21:1 contrast (WCAG AA passes).

Color values

HEX#1D1D89
RGBrgb(29, 29, 137)
HSLhsl(240, 65%, 33%)
HSVhsv(240, 79%, 54%)
CMYKcmyk(78.8%, 78.8%, 0%, 46.3%)
CIE-LABlab(19.82, 38.51, -58.95)
CIE-LCHlch(19.82, 70.41, 303.15°)
OKLaboklab(32.53% 0.0051 -0.1707)
OKLCHoklch(32.53% 0.171 271.7)
XYZxyz(5.4599, 2.9455, 23.9428)
Luminance0.0295 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1D89 #89891D
analogous
#1D5389 #1D1D89 #531D89
triadic
#1D1D89 #891D1D #1D891D
tetradic
#1D1D89 #891D53 #89891D #1D8953
square
#1D1D89 #891D53 #89891D #1D8953
split-complementary
#1D1D89 #89531D #53891D
monochromatic
#080824 #121256 #1D1D89 #2828BC #4848D8

Accessibility & contrast

On white

13.21
#1D1D89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#1D1D89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D1D89
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1D89#FFFFFF#000000##FFFFFF
##1D1D891.0013.211.5913.21
#FFFFFF13.211.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00358C
Deuteranopia (green-blind)
#002A87
Tritanopia (blue-blind)
#003D52
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1d1d89;
/* rgb */ color: rgb(29, 29, 137);
/* oklch */ color: oklch(32.5% 0.171 271.7);
Tailwind
colors: {
  custom: {
    50: '#6e5bad',
    500: '#1d1d89',
    950: '#000000',
  },
}
SCSS
$custom: #1d1d89;
$custom-light: #6e5bad;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1d89",
  "rgb": {
    "r": 29,
    "g": 29,
    "b": 137
  },
  "hsl": {
    "h": 240,
    "s": 65.06,
    "l": 32.549
  },
  "oklch": {
    "l": 0.32535,
    "c": 0.17074,
    "h": 271.7
  },
  "luminance": 0.02946
}

Semantic roles & 50–950 ramp

primary
#1D1D89
secondary
#BABA47
accent
#E840E8
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1D1D89

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

Preview Lab → · Contrast checker → · Palette generator →

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