#1D1C8E#1D1C8E

#1D1C8E is a dark, vivid blue. Relative luminance 0.030; OKLCH L 33.0% C 0.178 H 271.4°. Best body text is #FFFFFF at 13.05:1 contrast (WCAG AA passes).

Color values

HEX#1D1C8E
RGBrgb(29, 28, 142)
HSLhsl(241, 67%, 33%)
HSVhsv(241, 80%, 56%)
CMYKcmyk(79.6%, 80.3%, 0%, 44.3%)
CIE-LABlab(20.22, 40.76, -61.42)
CIE-LCHlch(20.22, 73.72, 303.57°)
OKLaboklab(32.98% 0.0044 -0.1778)
OKLCHoklch(32.98% 0.178 271.4)
XYZxyz(5.8028, 3.0441, 25.8677)
Luminance0.0305 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1C8E #8D8E1C
analogous
#1C548E #1D1C8E #561C8E
triadic
#1D1C8E #8E1D1C #1C8E1D
tetradic
#1D1C8E #8E1C54 #8D8E1C #1C8E56
square
#1D1C8E #8E1C54 #8D8E1C #1C8E56
split-complementary
#1D1C8E #8E561C #548E1C
monochromatic
#080828 #13125B #1D1C8E #2726C1 #4B49DB

Accessibility & contrast

On white

13.05
#1D1C8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#1D1C8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D1C8E
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1C8E#FFFFFF#000000##FFFFFF
##1D1C8E1.0013.051.6113.05
#FFFFFF13.051.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1d1c8e;
/* rgb */ color: rgb(29, 28, 142);
/* oklch */ color: oklch(33.0% 0.178 271.4);
Tailwind
colors: {
  custom: {
    50: '#6f5bb0',
    500: '#1d1c8e',
    950: '#000000',
  },
}
SCSS
$custom: #1d1c8e;
$custom-light: #6f5bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1c8e",
  "rgb": {
    "r": 29,
    "g": 28,
    "b": 142
  },
  "hsl": {
    "h": 240.526,
    "s": 67.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.32984,
    "c": 0.17786,
    "h": 271.4
  },
  "luminance": 0.03045
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1D1C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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