#1D208A#1D208A

#1D208A is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.1% C 0.169 H 271.3°. Best body text is #FFFFFF at 12.92:1 contrast (WCAG AA passes).

Color values

HEX#1D208A
RGBrgb(29, 32, 138)
HSLhsl(238, 65%, 33%)
HSVhsv(238, 79%, 54%)
CMYKcmyk(79%, 76.8%, 0%, 45.9%)
CIE-LABlab(20.55, 37.11, -58.37)
CIE-LCHlch(20.55, 69.17, 302.45°)
OKLaboklab(33.08% 0.0037 -0.169)
OKLCHoklch(33.08% 0.169 271.3)
XYZxyz(5.6091, 3.1286, 24.3481)
Luminance0.0313 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D208A #8A871D
analogous
#1D568A #1D208A #511D8A
triadic
#1D208A #8A1D20 #208A1D
tetradic
#1D208A #8A1D56 #8A871D #1D8A51
square
#1D208A #8A1D56 #8A871D #1D8A51
split-complementary
#1D208A #8A511D #568A1D
monochromatic
#080925 #121457 #1D208A #282CBD #494DD9

Accessibility & contrast

On white

12.92
#1D208A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#1D208A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D208A
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D208A#FFFFFF#000000##FFFFFF
##1D208A1.0012.921.6312.92
#FFFFFF12.921.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00378D
Deuteranopia (green-blind)
#002C88
Tritanopia (blue-blind)
#003F53
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1d208a;
/* rgb */ color: rgb(29, 32, 138);
/* oklch */ color: oklch(33.1% 0.169 271.3);
Tailwind
colors: {
  custom: {
    50: '#6d5dad',
    500: '#1d208a',
    950: '#000000',
  },
}
SCSS
$custom: #1d208a;
$custom-light: #6d5dad;
$custom-dark: #000000;
JSON
{
  "hex": "#1d208a",
  "rgb": {
    "r": 29,
    "g": 32,
    "b": 138
  },
  "hsl": {
    "h": 238.349,
    "s": 65.269,
    "l": 32.745
  },
  "oklch": {
    "l": 0.33082,
    "c": 0.16906,
    "h": 271.3
  },
  "luminance": 0.03129
}

Semantic roles & 50–950 ramp

primary
#1D208A
secondary
#BBB848
accent
#E440E8
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1D208A

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

Preview Lab → · Contrast checker → · Palette generator →

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