#1D1C8D#1D1C8D

#1D1C8D is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.9% C 0.177 H 271.5°. Best body text is #FFFFFF at 13.10:1 contrast (WCAG AA passes).

Color values

HEX#1D1C8D
RGBrgb(29, 28, 141)
HSLhsl(241, 67%, 33%)
HSVhsv(241, 80%, 55%)
CMYKcmyk(79.4%, 80.1%, 0%, 44.7%)
CIE-LABlab(20.10, 40.42, -60.99)
CIE-LCHlch(20.10, 73.17, 303.53°)
OKLaboklab(32.87% 0.0046 -0.1766)
OKLCHoklch(32.87% 0.177 271.5)
XYZxyz(5.7280, 3.0142, 25.4740)
Luminance0.0301 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1C8D #8C8D1C
analogous
#1C538D #1D1C8D #551C8D
triadic
#1D1C8D #8D1D1C #1C8D1D
tetradic
#1D1C8D #8D1C53 #8C8D1C #1C8D55
square
#1D1C8D #8D1C53 #8C8D1C #1C8D55
split-complementary
#1D1C8D #8D551C #538D1C
monochromatic
#080827 #12125A #1D1C8D #2826C0 #4A49DB

Accessibility & contrast

On white

13.10
#1D1C8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#1D1C8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D1C8D
13.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1C8D#FFFFFF#000000##FFFFFF
##1D1C8D1.0013.101.6013.10
#FFFFFF13.101.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003690
Deuteranopia (green-blind)
#002B8B
Tritanopia (blue-blind)
#003F54
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1d1c8d;
/* rgb */ color: rgb(29, 28, 141);
/* oklch */ color: oklch(32.9% 0.177 271.5);
Tailwind
colors: {
  custom: {
    50: '#6f5bb0',
    500: '#1d1c8d',
    950: '#000000',
  },
}
SCSS
$custom: #1d1c8d;
$custom-light: #6f5bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1c8d",
  "rgb": {
    "r": 29,
    "g": 28,
    "b": 141
  },
  "hsl": {
    "h": 240.531,
    "s": 66.864,
    "l": 33.137
  },
  "oklch": {
    "l": 0.32866,
    "c": 0.17664,
    "h": 271.5
  },
  "luminance": 0.03015
}

Semantic roles & 50–950 ramp

primary
#1D1C8D
secondary
#BCBD48
accent
#EA3EE8
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #1D1C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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