#1D1C85#1D1C85

#1D1C85 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.9% C 0.167 H 272.2°. Best body text is #FFFFFF at 13.49:1 contrast (WCAG AA passes).

Color values

HEX#1D1C85
RGBrgb(29, 28, 133)
HSLhsl(241, 65%, 32%)
HSVhsv(241, 79%, 52%)
CMYKcmyk(78.2%, 78.9%, 0%, 47.8%)
CIE-LABlab(19.16, 37.70, -57.54)
CIE-LCHlch(19.16, 68.79, 303.24°)
OKLaboklab(31.93% 0.0063 -0.1665)
OKLCHoklch(31.93% 0.167 272.2)
XYZxyz(5.1542, 2.7846, 22.4516)
Luminance0.0278 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1C85 #84851C
analogous
#1C5085 #1D1C85 #521C85
triadic
#1D1C85 #851D1C #1C851D
tetradic
#1D1C85 #851C50 #84851C #1C8552
square
#1D1C85 #851C50 #84851C #1C8552
split-complementary
#1D1C85 #85521C #50851C
monochromatic
#070720 #121152 #1D1C85 #2827B8 #4544D8

Accessibility & contrast

On white

13.49
#1D1C85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#1D1C85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D1C85
13.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1C85#FFFFFF#000000##FFFFFF
##1D1C851.0013.491.5613.49
#FFFFFF13.491.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003488
Deuteranopia (green-blind)
#002983
Tritanopia (blue-blind)
#003C50
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1d1c85;
/* rgb */ color: rgb(29, 28, 133);
/* oklch */ color: oklch(31.9% 0.167 272.2);
Tailwind
colors: {
  custom: {
    50: '#6d5aaa',
    500: '#1d1c85',
    950: '#000000',
  },
}
SCSS
$custom: #1d1c85;
$custom-light: #6d5aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1c85",
  "rgb": {
    "r": 29,
    "g": 28,
    "b": 133
  },
  "hsl": {
    "h": 240.571,
    "s": 65.217,
    "l": 31.569
  },
  "oklch": {
    "l": 0.3193,
    "c": 0.16666,
    "h": 272.2
  },
  "luminance": 0.02785
}

Semantic roles & 50–950 ramp

primary
#1D1C85
secondary
#B7B845
accent
#E840E7
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1D1C85

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

Preview Lab → · Contrast checker → · Palette generator →

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