#1D219A#1D219A

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

Color values

HEX#1D219A
RGBrgb(29, 33, 154)
HSLhsl(238, 68%, 36%)
HSVhsv(238, 81%, 60%)
CMYKcmyk(81.2%, 78.6%, 0%, 39.6%)
CIE-LABlab(22.59, 42.06, -64.92)
CIE-LCHlch(22.59, 77.35, 302.94°)
OKLaboklab(35.06% 0.0004 -0.188)
OKLCHoklch(35.06% 0.188 270.1)
XYZxyz(6.8813, 3.6812, 30.9135)
Luminance0.0368 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D219A #9A961D
analogous
#1D5F9A #1D219A #571D9A
triadic
#1D219A #9A1D21 #219A1D
tetradic
#1D219A #9A1D5F #9A961D #1D9A57
square
#1D219A #9A1D5F #9A961D #1D9A57
split-complementary
#1D219A #9A571D #5F9A1D
monochromatic
#0A0B33 #131666 #1D219A #272CCE #5357DF

Accessibility & contrast

On white

12.09
#1D219A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D219A
12.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D219A#FFFFFF#000000##FFFFFF
##1D219A1.0012.091.7412.09
#FFFFFF12.091.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C9D
Deuteranopia (green-blind)
#003098
Tritanopia (blue-blind)
#00465D
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1d219a;
/* rgb */ color: rgb(29, 33, 154);
/* oklch */ color: oklch(35.1% 0.188 270.1);
Tailwind
colors: {
  custom: {
    50: '#725eb9',
    500: '#1d219a',
    950: '#000000',
  },
}
SCSS
$custom: #1d219a;
$custom-light: #725eb9;
$custom-dark: #000000;
JSON
{
  "hex": "#1d219a",
  "rgb": {
    "r": 29,
    "g": 33,
    "b": 154
  },
  "hsl": {
    "h": 238.08,
    "s": 68.306,
    "l": 35.882
  },
  "oklch": {
    "l": 0.3506,
    "c": 0.18802,
    "h": 270.1
  },
  "luminance": 0.03682
}

Semantic roles & 50–950 ramp

primary
#1D219A
secondary
#C2BE51
accent
#E63DEB
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090412
muted
#7B7981

Preview Lab

Preview with #1D219A

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

Preview Lab → · Contrast checker → · Palette generator →

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