#1D1C8B#1D1C8B

#1D1C8B is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.6% C 0.174 H 271.7°. Best body text is #FFFFFF at 13.20:1 contrast (WCAG AA passes).

Color values

HEX#1D1C8B
RGBrgb(29, 28, 139)
HSLhsl(241, 66%, 33%)
HSVhsv(241, 80%, 55%)
CMYKcmyk(79.1%, 79.9%, 0%, 45.5%)
CIE-LABlab(19.86, 39.75, -60.14)
CIE-LCHlch(19.86, 72.09, 303.46°)
OKLaboklab(32.63% 0.005 -0.1741)
OKLCHoklch(32.63% 0.174 271.7)
XYZxyz(5.5806, 2.9552, 24.6974)
Luminance0.0296 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1C8B #8A8B1C
analogous
#1C528B #1D1C8B #551C8B
triadic
#1D1C8B #8B1D1C #1C8B1D
tetradic
#1D1C8B #8B1C52 #8A8B1C #1C8B55
square
#1D1C8B #8B1C52 #8A8B1C #1C8B55
split-complementary
#1D1C8B #8B551C #528B1C
monochromatic
#080725 #121258 #1D1C8B #2826BE #4947DA

Accessibility & contrast

On white

13.20
#1D1C8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#1D1C8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D1C8B
13.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1C8B#FFFFFF#000000##FFFFFF
##1D1C8B1.0013.201.5913.20
#FFFFFF13.201.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00358E
Deuteranopia (green-blind)
#002A89
Tritanopia (blue-blind)
#003E53
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1d1c8b;
/* rgb */ color: rgb(29, 28, 139);
/* oklch */ color: oklch(32.6% 0.174 271.7);
Tailwind
colors: {
  custom: {
    50: '#6e5aae',
    500: '#1d1c8b',
    950: '#000000',
  },
}
SCSS
$custom: #1d1c8b;
$custom-light: #6e5aae;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1c8b",
  "rgb": {
    "r": 29,
    "g": 28,
    "b": 139
  },
  "hsl": {
    "h": 240.541,
    "s": 66.467,
    "l": 32.745
  },
  "oklch": {
    "l": 0.32631,
    "c": 0.17416,
    "h": 271.7
  },
  "luminance": 0.02956
}

Semantic roles & 50–950 ramp

primary
#1D1C8B
secondary
#BBBC47
accent
#E93EE8
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090410
muted
#7B797F

Preview Lab

Preview with #1D1C8B

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

Preview Lab → · Contrast checker → · Palette generator →

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