#1D209F#1D209F

#1D209F is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.5% C 0.195 H 269.9°. Best body text is #FFFFFF at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#1D209F
RGBrgb(29, 32, 159)
HSLhsl(239, 69%, 37%)
HSVhsv(239, 82%, 62%)
CMYKcmyk(81.8%, 79.9%, 0%, 37.6%)
CIE-LABlab(22.99, 44.28, -67.32)
CIE-LCHlch(22.99, 80.58, 303.34°)
OKLaboklab(35.51% -0.0002 -0.195)
OKLCHoklch(35.51% 0.195 269.9)
XYZxyz(7.2791, 3.7966, 33.1433)
Luminance0.0380 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D209F #9F9C1D
analogous
#1D619F #1D209F #5B1D9F
triadic
#1D209F #9F1D20 #209F1D
tetradic
#1D209F #9F1D61 #9F9C1D #1D9F5B
square
#1D209F #9F1D61 #9F9C1D #1D9F5B
split-complementary
#1D209F #9F5B1D #619F1D
monochromatic
#0A0B37 #14166B #1D209F #262AD3 #5659E0

Accessibility & contrast

On white

11.94
#1D209F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#1D209F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D209F
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D209F#FFFFFF#000000##FFFFFF
##1D209F1.0011.941.7611.94
#FFFFFF11.941.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003DA3
Deuteranopia (green-blind)
#00309D
Tritanopia (blue-blind)
#00475F
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1d209f;
/* rgb */ color: rgb(29, 32, 159);
/* oklch */ color: oklch(35.5% 0.195 269.9);
Tailwind
colors: {
  custom: {
    50: '#735ebd',
    500: '#1d209f',
    950: '#000000',
  },
}
SCSS
$custom: #1d209f;
$custom-light: #735ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#1d209f",
  "rgb": {
    "r": 29,
    "g": 32,
    "b": 159
  },
  "hsl": {
    "h": 238.615,
    "s": 69.149,
    "l": 36.863
  },
  "oklch": {
    "l": 0.35512,
    "c": 0.19496,
    "h": 269.9
  },
  "luminance": 0.03797
}

Semantic roles & 50–950 ramp

primary
#1D209F
secondary
#C4C154
accent
#E83CEC
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #1D209F

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

Preview Lab → · Contrast checker → · Palette generator →

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