#1D216A#1D216A

#1D216A is a dark, vivid blue. Relative luminance 0.024; OKLCH L 29.8% C 0.125 H 273.5°. Best body text is #FFFFFF at 14.21:1 contrast (WCAG AA passes).

Color values

HEX#1D216A
RGBrgb(29, 33, 106)
HSLhsl(237, 57%, 26%)
HSVhsv(237, 73%, 42%)
CMYKcmyk(72.6%, 68.9%, 0%, 58.4%)
CIE-LABlab(17.41, 24.70, -43.10)
CIE-LCHlch(17.41, 49.68, 299.81°)
OKLaboklab(29.81% 0.0077 -0.1245)
OKLCHoklch(29.81% 0.125 273.5)
XYZxyz(3.6512, 2.3892, 13.9016)
Luminance0.0239 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D216A #6A661D
analogous
#1D486A #1D216A #401D6A
triadic
#1D216A #6A1D21 #216A1D
tetradic
#1D216A #6A1D48 #6A661D #1D6A40
square
#1D216A #6A1D48 #6A661D #1D6A40
split-complementary
#1D216A #6A401D #486A1D
monochromatic
#070718 #10123A #1D216A #2A309A #3940C9

Accessibility & contrast

On white

14.21
#1D216A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#1D216A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D216A
14.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D216A#FFFFFF#000000##FFFFFF
##1D216A1.0014.211.4814.21
#FFFFFF14.211.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E6C
Deuteranopia (green-blind)
#002769
Tritanopia (blue-blind)
#003442
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #1d216a;
/* rgb */ color: rgb(29, 33, 106);
/* oklch */ color: oklch(29.8% 0.125 273.5);
Tailwind
colors: {
  custom: {
    50: '#655c95',
    500: '#1d216a',
    950: '#000000',
  },
}
SCSS
$custom: #1d216a;
$custom-light: #655c95;
$custom-dark: #000000;
JSON
{
  "hex": "#1d216a",
  "rgb": {
    "r": 29,
    "g": 33,
    "b": 106
  },
  "hsl": {
    "h": 236.883,
    "s": 57.037,
    "l": 26.471
  },
  "oklch": {
    "l": 0.29809,
    "c": 0.12471,
    "h": 273.5
  },
  "luminance": 0.0239
}

Semantic roles & 50–950 ramp

primary
#1D216A
secondary
#9F9A44
accent
#D848E0
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040D
muted
#7A797E

Preview Lab

Preview with #1D216A

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

Preview Lab → · Contrast checker → · Palette generator →

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