#1D209A#1D209A

#1D209A is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.9% C 0.189 H 270.2°. Best body text is #FFFFFF at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#1D209A
RGBrgb(29, 32, 154)
HSLhsl(239, 68%, 36%)
HSVhsv(239, 81%, 60%)
CMYKcmyk(81.2%, 79.2%, 0%, 39.6%)
CIE-LABlab(22.40, 42.62, -65.24)
CIE-LCHlch(22.40, 77.92, 303.15°)
OKLaboklab(34.92% 0.0007 -0.1889)
OKLCHoklch(34.92% 0.189 270.2)
XYZxyz(6.8540, 3.6265, 30.9043)
Luminance0.0363 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D209A #9A971D
analogous
#1D5E9A #1D209A #581D9A
triadic
#1D209A #9A1D20 #209A1D
tetradic
#1D209A #9A1D5E #9A971D #1D9A58
square
#1D209A #9A1D5E #9A971D #1D9A58
split-complementary
#1D209A #9A581D #5E9A1D
monochromatic
#0A0B33 #131566 #1D209A #272BCE #5356DF

Accessibility & contrast

On white

12.17
#1D209A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#1D209A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D209A
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D209A#FFFFFF#000000##FFFFFF
##1D209A1.0012.171.7312.17
#FFFFFF12.171.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C9D
Deuteranopia (green-blind)
#002F98
Tritanopia (blue-blind)
#00455D
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1d209a;
/* rgb */ color: rgb(29, 32, 154);
/* oklch */ color: oklch(34.9% 0.189 270.2);
Tailwind
colors: {
  custom: {
    50: '#725eb9',
    500: '#1d209a',
    950: '#000000',
  },
}
SCSS
$custom: #1d209a;
$custom-light: #725eb9;
$custom-dark: #000000;
JSON
{
  "hex": "#1d209a",
  "rgb": {
    "r": 29,
    "g": 32,
    "b": 154
  },
  "hsl": {
    "h": 238.56,
    "s": 68.306,
    "l": 35.882
  },
  "oklch": {
    "l": 0.34925,
    "c": 0.18893,
    "h": 270.2
  },
  "luminance": 0.03627
}

Semantic roles & 50–950 ramp

primary
#1D209A
secondary
#C2BF51
accent
#E73DEB
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090412
muted
#7B7981

Preview Lab

Preview with #1D209A

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

Preview Lab → · Contrast checker → · Palette generator →

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