#1D1C83#1D1C83

#1D1C83 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.7% C 0.164 H 272.4°. Best body text is #FFFFFF at 13.58:1 contrast (WCAG AA passes).

Color values

HEX#1D1C83
RGBrgb(29, 28, 131)
HSLhsl(241, 65%, 31%)
HSVhsv(241, 79%, 51%)
CMYKcmyk(77.9%, 78.6%, 0%, 48.6%)
CIE-LABlab(18.93, 37.01, -56.66)
CIE-LCHlch(18.93, 67.68, 303.15°)
OKLaboklab(31.7% 0.0067 -0.164)
OKLCHoklch(31.7% 0.164 272.4)
XYZxyz(5.0173, 2.7299, 21.7308)
Luminance0.0273 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1C83 #82831C
analogous
#1C4E83 #1D1C83 #501C83
triadic
#1D1C83 #831D1C #1C831D
tetradic
#1D1C83 #831C4E #82831C #1C8350
square
#1D1C83 #831C4E #82831C #1C8350
split-complementary
#1D1C83 #83501C #4E831C
monochromatic
#07061E #121151 #1D1C83 #2827B5 #4443D7

Accessibility & contrast

On white

13.58
#1D1C83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D1C83
13.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1C83#FFFFFF#000000##FFFFFF
##1D1C831.0013.581.5513.58
#FFFFFF13.581.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003386
Deuteranopia (green-blind)
#002981
Tritanopia (blue-blind)
#003B4E
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1d1c83;
/* rgb */ color: rgb(29, 28, 131);
/* oklch */ color: oklch(31.7% 0.164 272.4);
Tailwind
colors: {
  custom: {
    50: '#6c5aa8',
    500: '#1d1c83',
    950: '#000000',
  },
}
SCSS
$custom: #1d1c83;
$custom-light: #6c5aa8;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1c83",
  "rgb": {
    "r": 29,
    "g": 28,
    "b": 131
  },
  "hsl": {
    "h": 240.583,
    "s": 64.78,
    "l": 31.176
  },
  "oklch": {
    "l": 0.31698,
    "c": 0.16413,
    "h": 272.4
  },
  "luminance": 0.0273
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1D1C83

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

Preview Lab → · Contrast checker → · Palette generator →

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