#1D1CB1#1D1CB1

#1D1CB1 is a dark, highly saturated blue. Relative luminance 0.043; OKLCH L 37.2% C 0.219 H 269.2°. Best body text is #FFFFFF at 11.33:1 contrast (WCAG AA passes).

Color values

HEX#1D1CB1
RGBrgb(29, 28, 177)
HSLhsl(240, 73%, 40%)
HSVhsv(240, 84%, 69%)
CMYKcmyk(83.6%, 84.2%, 0%, 30.6%)
CIE-LABlab(24.53, 51.97, -75.64)
CIE-LCHlch(24.53, 91.78, 304.49°)
OKLaboklab(37.22% -0.0031 -0.219)
OKLCHoklch(37.22% 0.219 269.2)
XYZxyz(8.8551, 4.2650, 41.9430)
Luminance0.0427 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1CB1 #B0B11C
analogous
#1C65B1 #1D1CB1 #681CB1
triadic
#1D1CB1 #B11D1C #1CB11D
tetradic
#1D1CB1 #B11C65 #B0B11C #1CB168
square
#1D1CB1 #B11C65 #B0B11C #1CB168
split-complementary
#1D1CB1 #B1681C #65B11C
monochromatic
#0C0B47 #14147C #1D1CB1 #2E2CDE #6261E6

Accessibility & contrast

On white

11.33
#1D1CB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#1D1CB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D1CB1
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1CB1#FFFFFF#000000##FFFFFF
##1D1CB11.0011.331.8511.33
#FFFFFF11.331.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042B5
Deuteranopia (green-blind)
#0032AF
Tritanopia (blue-blind)
#004D69
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #1d1cb1;
/* rgb */ color: rgb(29, 28, 177);
/* oklch */ color: oklch(37.2% 0.219 269.2);
Tailwind
colors: {
  custom: {
    50: '#785dca',
    500: '#1d1cb1',
    950: '#000000',
  },
}
SCSS
$custom: #1d1cb1;
$custom-light: #785dca;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1cb1",
  "rgb": {
    "r": 29,
    "g": 28,
    "b": 177
  },
  "hsl": {
    "h": 240.403,
    "s": 72.683,
    "l": 40.196
  },
  "oklch": {
    "l": 0.37217,
    "c": 0.219,
    "h": 269.2
  },
  "luminance": 0.04266
}

Semantic roles & 50–950 ramp

primary
#1D1CB1
secondary
#CACB5E
accent
#EF38EE
background
#F8F5FC
surface
#EFE9F9
border
#CAC5D2
text
#0B0413
muted
#7C7982

Preview Lab

Preview with #1D1CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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