#1D209C#1D209C

#1D209C is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.2% C 0.191 H 270.1°. Best body text is #FFFFFF at 12.08:1 contrast (WCAG AA passes).

Color values

HEX#1D209C
RGBrgb(29, 32, 156)
HSLhsl(239, 69%, 36%)
HSVhsv(239, 81%, 61%)
CMYKcmyk(81.4%, 79.5%, 0%, 38.8%)
CIE-LABlab(22.63, 43.29, -66.07)
CIE-LCHlch(22.63, 78.99, 303.23°)
OKLaboklab(35.16% 0.0003 -0.1913)
OKLCHoklch(35.16% 0.191 270.1)
XYZxyz(7.0219, 3.6937, 31.7889)
Luminance0.0369 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D209C #9C991D
analogous
#1D609C #1D209C #5A1D9C
triadic
#1D209C #9C1D20 #209C1D
tetradic
#1D209C #9C1D60 #9C991D #1D9C5A
square
#1D209C #9C1D60 #9C991D #1D9C5A
split-complementary
#1D209C #9C5A1D #609C1D
monochromatic
#0A0B35 #131568 #1D209C #272BD0 #5457DF

Accessibility & contrast

On white

12.08
#1D209C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#1D209C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D209C
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D209C#FFFFFF#000000##FFFFFF
##1D209C1.0012.081.7412.08
#FFFFFF12.081.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C9F
Deuteranopia (green-blind)
#002F9A
Tritanopia (blue-blind)
#00465E
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1d209c;
/* rgb */ color: rgb(29, 32, 156);
/* oklch */ color: oklch(35.2% 0.191 270.1);
Tailwind
colors: {
  custom: {
    50: '#725ebb',
    500: '#1d209c',
    950: '#000000',
  },
}
SCSS
$custom: #1d209c;
$custom-light: #725ebb;
$custom-dark: #000000;
JSON
{
  "hex": "#1d209c",
  "rgb": {
    "r": 29,
    "g": 32,
    "b": 156
  },
  "hsl": {
    "h": 238.583,
    "s": 68.649,
    "l": 36.275
  },
  "oklch": {
    "l": 0.35159,
    "c": 0.19135,
    "h": 270.1
  },
  "luminance": 0.03695
}

Semantic roles & 50–950 ramp

primary
#1D209C
secondary
#C2C052
accent
#E73CEB
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #1D209C

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

Preview Lab → · Contrast checker → · Palette generator →

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