#1D1C8F#1D1C8F

#1D1C8F is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.1% C 0.179 H 271.3°. Best body text is #FFFFFF at 13.00:1 contrast (WCAG AA passes).

Color values

HEX#1D1C8F
RGBrgb(29, 28, 143)
HSLhsl(241, 67%, 34%)
HSVhsv(241, 80%, 56%)
CMYKcmyk(79.7%, 80.4%, 0%, 43.9%)
CIE-LABlab(20.34, 41.10, -61.85)
CIE-LCHlch(20.34, 74.26, 303.60°)
OKLaboklab(33.1% 0.0042 -0.179)
OKLCHoklch(33.1% 0.179 271.3)
XYZxyz(5.8782, 3.0742, 26.2649)
Luminance0.0307 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1C8F #8E8F1C
analogous
#1C548F #1D1C8F #561C8F
triadic
#1D1C8F #8F1D1C #1C8F1D
tetradic
#1D1C8F #8F1C54 #8E8F1C #1C8F56
square
#1D1C8F #8F1C54 #8E8F1C #1C8F56
split-complementary
#1D1C8F #8F561C #548F1C
monochromatic
#080829 #13125C #1D1C8F #2726C2 #4B4ADC

Accessibility & contrast

On white

13.00
#1D1C8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#1D1C8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D1C8F
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1C8F#FFFFFF#000000##FFFFFF
##1D1C8F1.0013.001.6213.00
#FFFFFF13.001.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF13.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003792
Deuteranopia (green-blind)
#002B8D
Tritanopia (blue-blind)
#003F55
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1d1c8f;
/* rgb */ color: rgb(29, 28, 143);
/* oklch */ color: oklch(33.1% 0.179 271.3);
Tailwind
colors: {
  custom: {
    50: '#6f5bb1',
    500: '#1d1c8f',
    950: '#000000',
  },
}
SCSS
$custom: #1d1c8f;
$custom-light: #6f5bb1;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1c8f",
  "rgb": {
    "r": 29,
    "g": 28,
    "b": 143
  },
  "hsl": {
    "h": 240.522,
    "s": 67.251,
    "l": 33.529
  },
  "oklch": {
    "l": 0.33103,
    "c": 0.1791,
    "h": 271.3
  },
  "luminance": 0.03075
}

Semantic roles & 50–950 ramp

primary
#1D1C8F
secondary
#BDBE49
accent
#EA3EE9
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #1D1C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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