#1D209D#1D209D

#1D209D is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.3% C 0.193 H 270.0°. Best body text is #FFFFFF at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#1D209D
RGBrgb(29, 32, 157)
HSLhsl(239, 69%, 36%)
HSVhsv(239, 82%, 62%)
CMYKcmyk(81.5%, 79.6%, 0%, 38.4%)
CIE-LABlab(22.75, 43.62, -66.49)
CIE-LCHlch(22.75, 79.52, 303.27°)
OKLaboklab(35.28% 0.0001 -0.1926)
OKLCHoklch(35.28% 0.193 270)
XYZxyz(7.1069, 3.7277, 32.2367)
Luminance0.0373 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D209D #9D9A1D
analogous
#1D609D #1D209D #5A1D9D
triadic
#1D209D #9D1D20 #209D1D
tetradic
#1D209D #9D1D60 #9D9A1D #1D9D5A
square
#1D209D #9D1D60 #9D9A1D #1D9D5A
split-complementary
#1D209D #9D5A1D #609D1D
monochromatic
#0A0B36 #131569 #1D209D #272BD1 #5558E0

Accessibility & contrast

On white

12.03
#1D209D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#1D209D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D209D
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D209D#FFFFFF#000000##FFFFFF
##1D209D1.0012.031.7512.03
#FFFFFF12.031.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003DA0
Deuteranopia (green-blind)
#00309B
Tritanopia (blue-blind)
#00475E
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1d209d;
/* rgb */ color: rgb(29, 32, 157);
/* oklch */ color: oklch(35.3% 0.193 270.0);
Tailwind
colors: {
  custom: {
    50: '#735ebb',
    500: '#1d209d',
    950: '#000000',
  },
}
SCSS
$custom: #1d209d;
$custom-light: #735ebb;
$custom-dark: #000000;
JSON
{
  "hex": "#1d209d",
  "rgb": {
    "r": 29,
    "g": 32,
    "b": 157
  },
  "hsl": {
    "h": 238.594,
    "s": 68.817,
    "l": 36.471
  },
  "oklch": {
    "l": 0.35277,
    "c": 0.19256,
    "h": 270
  },
  "luminance": 0.03729
}

Semantic roles & 50–950 ramp

primary
#1D209D
secondary
#C3C053
accent
#E83CEC
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #1D209D

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

Preview Lab → · Contrast checker → · Palette generator →

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