#1D1D9E#1D1D9E

#1D1D9E is a dark, vivid blue. Relative luminance 0.036; OKLCH L 35.0% C 0.196 H 270.2°. Best body text is #FFFFFF at 12.20:1 contrast (WCAG AA passes).

Color values

HEX#1D1D9E
RGBrgb(29, 29, 158)
HSLhsl(240, 69%, 37%)
HSVhsv(240, 82%, 62%)
CMYKcmyk(81.6%, 81.6%, 0%, 38%)
CIE-LABlab(22.33, 45.52, -67.80)
CIE-LCHlch(22.33, 81.66, 303.88°)
OKLaboklab(35.02% 0.0007 -0.1963)
OKLCHoklch(35.02% 0.196 270.2)
XYZxyz(7.1155, 3.6077, 32.6625)
Luminance0.0361 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1D9E #9E9E1D
analogous
#1D5E9E #1D1D9E #5E1D9E
triadic
#1D1D9E #9E1D1D #1D9E1D
tetradic
#1D1D9E #9E1D5E #9E9E1D #1D9E5E
square
#1D1D9E #9E1D5E #9E9E1D #1D9E5E
split-complementary
#1D1D9E #9E5E1D #5E9E1D
monochromatic
#0A0A37 #14146A #1D1D9E #2626D2 #5656E0

Accessibility & contrast

On white

12.20
#1D1D9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#1D1D9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D1D9E
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1D9E#FFFFFF#000000##FFFFFF
##1D1D9E1.0012.201.7212.20
#FFFFFF12.201.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003CA2
Deuteranopia (green-blind)
#002F9C
Tritanopia (blue-blind)
#00465E
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1d1d9e;
/* rgb */ color: rgb(29, 29, 158);
/* oklch */ color: oklch(35.0% 0.196 270.2);
Tailwind
colors: {
  custom: {
    50: '#735cbc',
    500: '#1d1d9e',
    950: '#000000',
  },
}
SCSS
$custom: #1d1d9e;
$custom-light: #735cbc;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1d9e",
  "rgb": {
    "r": 29,
    "g": 29,
    "b": 158
  },
  "hsl": {
    "h": 240,
    "s": 68.984,
    "l": 36.667
  },
  "oklch": {
    "l": 0.35017,
    "c": 0.1963,
    "h": 270.2
  },
  "luminance": 0.03609
}

Semantic roles & 50–950 ramp

primary
#1D1D9E
secondary
#C3C354
accent
#EC3CEC
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #1D1D9E

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

Preview Lab → · Contrast checker → · Palette generator →

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