#1D1A9F#1D1A9F

#1D1A9F is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.8% C 0.200 H 270.3°. Best body text is #FFFFFF at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#1D1A9F
RGBrgb(29, 26, 159)
HSLhsl(241, 72%, 36%)
HSVhsv(241, 84%, 62%)
CMYKcmyk(81.8%, 83.6%, 0%, 37.6%)
CIE-LABlab(21.95, 47.30, -69.03)
CIE-LCHlch(21.95, 83.69, 304.42°)
OKLaboklab(34.79% 0.0012 -0.1998)
OKLCHoklch(34.79% 0.2 270.3)
XYZxyz(7.1320, 3.5024, 33.0943)
Luminance0.0350 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1A9F #9C9F1A
analogous
#1A5A9F #1D1A9F #601A9F
triadic
#1D1A9F #9F1D1A #1A9F1D
tetradic
#1D1A9F #9F1A5A #9C9F1A #1A9F60
square
#1D1A9F #9F1A5A #9C9F1A #1A9F60
split-complementary
#1D1A9F #9F601A #5A9F1A
monochromatic
#0A0936 #13116A #1D1A9F #2723D4 #5451E3

Accessibility & contrast

On white

12.35
#1D1A9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#1D1A9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D1A9F
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1A9F#FFFFFF#000000##FFFFFF
##1D1A9F1.0012.351.7012.35
#FFFFFF12.351.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003BA3
Deuteranopia (green-blind)
#002E9D
Tritanopia (blue-blind)
#00455E
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1d1a9f;
/* rgb */ color: rgb(29, 26, 159);
/* oklch */ color: oklch(34.8% 0.200 270.3);
Tailwind
colors: {
  custom: {
    50: '#745bbd',
    500: '#1d1a9f',
    950: '#000000',
  },
}
SCSS
$custom: #1d1a9f;
$custom-light: #745bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1a9f",
  "rgb": {
    "r": 29,
    "g": 26,
    "b": 159
  },
  "hsl": {
    "h": 241.353,
    "s": 71.892,
    "l": 36.275
  },
  "oklch": {
    "l": 0.34791,
    "c": 0.19982,
    "h": 270.3
  },
  "luminance": 0.03503
}

Semantic roles & 50–950 ramp

primary
#1D1A9F
secondary
#C2C550
accent
#EF39EB
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #1D1A9F

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

Preview Lab → · Contrast checker → · Palette generator →

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