#1D1E99#1D1E99

#1D1E99 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.5% C 0.189 H 270.5°. Best body text is #FFFFFF at 12.37:1 contrast (WCAG AA passes).

Color values

HEX#1D1E99
RGBrgb(29, 30, 153)
HSLhsl(240, 68%, 36%)
HSVhsv(240, 81%, 60%)
CMYKcmyk(81%, 80.4%, 0%, 40%)
CIE-LABlab(21.90, 43.36, -65.44)
CIE-LCHlch(21.90, 78.50, 303.53°)
OKLaboklab(34.55% 0.0015 -0.1895)
OKLCHoklch(34.55% 0.189 270.5)
XYZxyz(6.7188, 3.4889, 30.4501)
Luminance0.0349 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1E99 #99981D
analogous
#1D5C99 #1D1E99 #5A1D99
triadic
#1D1E99 #991D1E #1E991D
tetradic
#1D1E99 #991D5C #99981D #1D995A
square
#1D1E99 #991D5C #99981D #1D995A
split-complementary
#1D1E99 #995A1D #5C991D
monochromatic
#090A32 #131466 #1D1E99 #2728CC #5253DE

Accessibility & contrast

On white

12.37
#1D1E99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#1D1E99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D1E99
12.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1E99#FFFFFF#000000##FFFFFF
##1D1E991.0012.371.7012.37
#FFFFFF12.371.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B9C
Deuteranopia (green-blind)
#002E97
Tritanopia (blue-blind)
#00445C
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1d1e99;
/* rgb */ color: rgb(29, 30, 153);
/* oklch */ color: oklch(34.5% 0.189 270.5);
Tailwind
colors: {
  custom: {
    50: '#725db8',
    500: '#1d1e99',
    950: '#000000',
  },
}
SCSS
$custom: #1d1e99;
$custom-light: #725db8;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1e99",
  "rgb": {
    "r": 29,
    "g": 30,
    "b": 153
  },
  "hsl": {
    "h": 239.516,
    "s": 68.132,
    "l": 35.686
  },
  "oklch": {
    "l": 0.34546,
    "c": 0.18949,
    "h": 270.5
  },
  "luminance": 0.0349
}

Semantic roles & 50–950 ramp

primary
#1D1E99
secondary
#C1C051
accent
#EA3DEB
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090412
muted
#7B7981

Preview Lab

Preview with #1D1E99

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

Preview Lab → · Contrast checker → · Palette generator →

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