#1D1DB3#1D1DB3

#1D1DB3 is a dark, highly saturated blue. Relative luminance 0.044; OKLCH L 37.6% C 0.221 H 269.0°. Best body text is #FFFFFF at 11.18:1 contrast (WCAG AA passes).

Color values

HEX#1D1DB3
RGBrgb(29, 29, 179)
HSLhsl(240, 72%, 41%)
HSVhsv(240, 84%, 70%)
CMYKcmyk(83.8%, 83.8%, 0%, 29.8%)
CIE-LABlab(24.93, 52.14, -76.17)
CIE-LCHlch(24.93, 92.31, 304.39°)
OKLaboklab(37.57% -0.0037 -0.2205)
OKLCHoklch(37.57% 0.221 269)
XYZxyz(9.0800, 4.3935, 43.0086)
Luminance0.0440 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1DB3 #B3B31D
analogous
#1D68B3 #1D1DB3 #681DB3
triadic
#1D1DB3 #B31D1D #1DB31D
tetradic
#1D1DB3 #B31D68 #B3B31D #1DB368
square
#1D1DB3 #B31D68 #B3B31D #1DB368
split-complementary
#1D1DB3 #B3681D #68B31D
monochromatic
#0C0C4A #14147E #1D1DB3 #3030DD #6464E6

Accessibility & contrast

On white

11.18
#1D1DB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#1D1DB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D1DB3
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1DB3#FFFFFF#000000##FFFFFF
##1D1DB31.0011.181.8811.18
#FFFFFF11.181.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043B7
Deuteranopia (green-blind)
#0033B1
Tritanopia (blue-blind)
#004E6A
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #1d1db3;
/* rgb */ color: rgb(29, 29, 179);
/* oklch */ color: oklch(37.6% 0.221 269.0);
Tailwind
colors: {
  custom: {
    50: '#795ecb',
    500: '#1d1db3',
    950: '#000000',
  },
}
SCSS
$custom: #1d1db3;
$custom-light: #795ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1db3",
  "rgb": {
    "r": 29,
    "g": 29,
    "b": 179
  },
  "hsl": {
    "h": 240,
    "s": 72.115,
    "l": 40.784
  },
  "oklch": {
    "l": 0.37567,
    "c": 0.22055,
    "h": 269
  },
  "luminance": 0.04395
}

Semantic roles & 50–950 ramp

primary
#1D1DB3
secondary
#CBCB61
accent
#EF39EF
background
#F8F5FC
surface
#EFE9F9
border
#CAC5D2
text
#0B0514
muted
#7C7982

Preview Lab

Preview with #1D1DB3

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

Preview Lab → · Contrast checker → · Palette generator →

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