#1D1C84#1D1C84

#1D1C84 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.8% C 0.165 H 272.3°. Best body text is #FFFFFF at 13.53:1 contrast (WCAG AA passes).

Color values

HEX#1D1C84
RGBrgb(29, 28, 132)
HSLhsl(241, 65%, 31%)
HSVhsv(241, 79%, 52%)
CMYKcmyk(78%, 78.8%, 0%, 48.2%)
CIE-LABlab(19.04, 37.36, -57.10)
CIE-LCHlch(19.04, 68.23, 303.20°)
OKLaboklab(31.81% 0.0065 -0.1653)
OKLCHoklch(31.81% 0.165 272.3)
XYZxyz(5.0854, 2.7571, 22.0895)
Luminance0.0276 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1C84 #83841C
analogous
#1C4F84 #1D1C84 #511C84
triadic
#1D1C84 #841D1C #1C841D
tetradic
#1D1C84 #841C4F #83841C #1C8451
square
#1D1C84 #841C4F #83841C #1C8451
split-complementary
#1D1C84 #84511C #4F841C
monochromatic
#07071F #121152 #1D1C84 #2827B6 #4543D7

Accessibility & contrast

On white

13.53
#1D1C84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#1D1C84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D1C84
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1C84#FFFFFF#000000##FFFFFF
##1D1C841.0013.531.5513.53
#FFFFFF13.531.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003387
Deuteranopia (green-blind)
#002982
Tritanopia (blue-blind)
#003B4F
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1d1c84;
/* rgb */ color: rgb(29, 28, 132);
/* oklch */ color: oklch(31.8% 0.165 272.3);
Tailwind
colors: {
  custom: {
    50: '#6c5aa9',
    500: '#1d1c84',
    950: '#000000',
  },
}
SCSS
$custom: #1d1c84;
$custom-light: #6c5aa9;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1c84",
  "rgb": {
    "r": 29,
    "g": 28,
    "b": 132
  },
  "hsl": {
    "h": 240.577,
    "s": 65,
    "l": 31.373
  },
  "oklch": {
    "l": 0.31814,
    "c": 0.1654,
    "h": 272.3
  },
  "luminance": 0.02758
}

Semantic roles & 50–950 ramp

primary
#1D1C84
secondary
#B6B745
accent
#E840E6
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1D1C84

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

Preview Lab → · Contrast checker → · Palette generator →

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