#1D1D88#1D1D88

#1D1D88 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.4% C 0.169 H 271.8°. Best body text is #FFFFFF at 13.26:1 contrast (WCAG AA passes).

Color values

HEX#1D1D88
RGBrgb(29, 29, 136)
HSLhsl(240, 65%, 32%)
HSVhsv(240, 79%, 53%)
CMYKcmyk(78.7%, 78.7%, 0%, 46.7%)
CIE-LABlab(19.71, 38.17, -58.52)
CIE-LCHlch(19.71, 69.86, 303.11°)
OKLaboklab(32.42% 0.0053 -0.1694)
OKLCHoklch(32.42% 0.169 271.8)
XYZxyz(5.3885, 2.9169, 23.5668)
Luminance0.0292 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1D88 #88881D
analogous
#1D5388 #1D1D88 #531D88
triadic
#1D1D88 #881D1D #1D881D
tetradic
#1D1D88 #881D53 #88881D #1D8853
square
#1D1D88 #881D53 #88881D #1D8853
split-complementary
#1D1D88 #88531D #53881D
monochromatic
#070723 #121256 #1D1D88 #2828BA #4848D8

Accessibility & contrast

On white

13.26
#1D1D88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#1D1D88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D1D88
13.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1D88#FFFFFF#000000##FFFFFF
##1D1D881.0013.261.5813.26
#FFFFFF13.261.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00358B
Deuteranopia (green-blind)
#002A86
Tritanopia (blue-blind)
#003D52
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1d1d88;
/* rgb */ color: rgb(29, 29, 136);
/* oklch */ color: oklch(32.4% 0.169 271.8);
Tailwind
colors: {
  custom: {
    50: '#6d5bac',
    500: '#1d1d88',
    950: '#000000',
  },
}
SCSS
$custom: #1d1d88;
$custom-light: #6d5bac;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1d88",
  "rgb": {
    "r": 29,
    "g": 29,
    "b": 136
  },
  "hsl": {
    "h": 240,
    "s": 64.848,
    "l": 32.353
  },
  "oklch": {
    "l": 0.32419,
    "c": 0.16948,
    "h": 271.8
  },
  "luminance": 0.02918
}

Semantic roles & 50–950 ramp

primary
#1D1D88
secondary
#BABA47
accent
#E840E8
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1D1D88

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

Preview Lab → · Contrast checker → · Palette generator →

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