#1D1C99#1D1C99

#1D1C99 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.3% C 0.191 H 270.6°. Best body text is #FFFFFF at 12.51:1 contrast (WCAG AA passes).

Color values

HEX#1D1C99
RGBrgb(29, 28, 153)
HSLhsl(240, 69%, 35%)
HSVhsv(240, 82%, 60%)
CMYKcmyk(81%, 81.7%, 0%, 40%)
CIE-LABlab(21.55, 44.40, -66.03)
CIE-LCHlch(21.55, 79.57, 303.92°)
OKLaboklab(34.29% 0.002 -0.1912)
OKLCHoklch(34.29% 0.191 270.6)
XYZxyz(6.6698, 3.3909, 30.4338)
Luminance0.0339 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1C99 #98991C
analogous
#1C5999 #1D1C99 #5B1C99
triadic
#1D1C99 #991D1C #1C991D
tetradic
#1D1C99 #991C59 #98991C #1C995B
square
#1D1C99 #991C59 #98991C #1C995B
split-complementary
#1D1C99 #995B1C #59991C
monochromatic
#090932 #131365 #1D1C99 #2725CD #5250DF

Accessibility & contrast

On white

12.51
#1D1C99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#1D1C99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D1C99
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1C99#FFFFFF#000000##FFFFFF
##1D1C991.0012.511.6812.51
#FFFFFF12.511.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A9C
Deuteranopia (green-blind)
#002D97
Tritanopia (blue-blind)
#00435B
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1d1c99;
/* rgb */ color: rgb(29, 28, 153);
/* oklch */ color: oklch(34.3% 0.191 270.6);
Tailwind
colors: {
  custom: {
    50: '#725bb8',
    500: '#1d1c99',
    950: '#000000',
  },
}
SCSS
$custom: #1d1c99;
$custom-light: #725bb8;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1c99",
  "rgb": {
    "r": 29,
    "g": 28,
    "b": 153
  },
  "hsl": {
    "h": 240.48,
    "s": 69.061,
    "l": 35.49
  },
  "oklch": {
    "l": 0.34295,
    "c": 0.19118,
    "h": 270.6
  },
  "luminance": 0.03392
}

Semantic roles & 50–950 ramp

primary
#1D1C99
secondary
#C1C24F
accent
#EC3CEA
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090412
muted
#7B7981

Preview Lab

Preview with #1D1C99

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

Preview Lab → · Contrast checker → · Palette generator →

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