#1D1C9D#1D1C9D

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

Color values

HEX#1D1C9D
RGBrgb(29, 28, 157)
HSLhsl(240, 70%, 36%)
HSVhsv(240, 82%, 62%)
CMYKcmyk(81.5%, 82.2%, 0%, 38.4%)
CIE-LABlab(22.04, 45.70, -67.67)
CIE-LCHlch(22.04, 81.66, 304.03°)
OKLaboklab(34.78% 0.0012 -0.1959)
OKLCHoklch(34.78% 0.196 270.3)
XYZxyz(7.0057, 3.5252, 32.2030)
Luminance0.0353 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1C9D #9C9D1C
analogous
#1C5C9D #1D1C9D #5E1C9D
triadic
#1D1C9D #9D1D1C #1C9D1D
tetradic
#1D1C9D #9D1C5C #9C9D1C #1C9D5E
square
#1D1C9D #9D1C5C #9C9D1C #1C9D5E
split-complementary
#1D1C9D #9D5E1C #5C9D1C
monochromatic
#0A0935 #131369 #1D1C9D #2725D1 #5453E0

Accessibility & contrast

On white

12.32
#1D1C9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#1D1C9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D1C9D
12.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1C9D#FFFFFF#000000##FFFFFF
##1D1C9D1.0012.321.7112.32
#FFFFFF12.321.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003BA1
Deuteranopia (green-blind)
#002E9B
Tritanopia (blue-blind)
#00455D
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1d1c9d;
/* rgb */ color: rgb(29, 28, 157);
/* oklch */ color: oklch(34.8% 0.196 270.3);
Tailwind
colors: {
  custom: {
    50: '#735cbb',
    500: '#1d1c9d',
    950: '#000000',
  },
}
SCSS
$custom: #1d1c9d;
$custom-light: #735cbb;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1c9d",
  "rgb": {
    "r": 29,
    "g": 28,
    "b": 157
  },
  "hsl": {
    "h": 240.465,
    "s": 69.73,
    "l": 36.275
  },
  "oklch": {
    "l": 0.34777,
    "c": 0.19593,
    "h": 270.3
  },
  "luminance": 0.03526
}

Semantic roles & 50–950 ramp

primary
#1D1C9D
secondary
#C2C351
accent
#ED3BEB
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #1D1C9D

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

Preview Lab → · Contrast checker → · Palette generator →

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