#1D1885#1D1885

#1D1885 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.4% C 0.170 H 272.6°. Best body text is #FFFFFF at 13.80:1 contrast (WCAG AA passes).

Color values

HEX#1D1885
RGBrgb(29, 24, 133)
HSLhsl(243, 69%, 31%)
HSVhsv(243, 82%, 52%)
CMYKcmyk(78.2%, 82%, 0%, 47.8%)
CIE-LABlab(18.40, 39.90, -58.80)
CIE-LCHlch(18.40, 71.06, 304.16°)
OKLaboklab(31.4% 0.0078 -0.1701)
OKLCHoklch(31.4% 0.17 272.6)
XYZxyz(5.0655, 2.6074, 22.4221)
Luminance0.0261 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1885 #808518
analogous
#184985 #1D1885 #531885
triadic
#1D1885 #851D18 #18851D
tetradic
#1D1885 #851849 #808518 #188553
square
#1D1885 #851849 #808518 #188553
split-complementary
#1D1885 #855318 #498518
monochromatic
#06051D #120F51 #1D1885 #2821B9 #433CDC

Accessibility & contrast

On white

13.80
#1D1885 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#1D1885 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D1885
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1885#FFFFFF#000000##FFFFFF
##1D18851.0013.801.5213.80
#FFFFFF13.801.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003288
Deuteranopia (green-blind)
#002783
Tritanopia (blue-blind)
#003A4F
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1d1885;
/* rgb */ color: rgb(29, 24, 133);
/* oklch */ color: oklch(31.4% 0.170 272.6);
Tailwind
colors: {
  custom: {
    50: '#6d58aa',
    500: '#1d1885',
    950: '#000000',
  },
}
SCSS
$custom: #1d1885;
$custom-light: #6d58aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1885",
  "rgb": {
    "r": 29,
    "g": 24,
    "b": 133
  },
  "hsl": {
    "h": 242.752,
    "s": 69.427,
    "l": 30.784
  },
  "oklch": {
    "l": 0.31396,
    "c": 0.17033,
    "h": 272.6
  },
  "luminance": 0.02608
}

Semantic roles & 50–950 ramp

primary
#1D1885
secondary
#B3B940
accent
#EC3CE4
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #1D1885

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

Preview Lab → · Contrast checker → · Palette generator →

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