#1D216D#1D216D

#1D216D is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.1% C 0.129 H 273.3°. Best body text is #FFFFFF at 14.09:1 contrast (WCAG AA passes).

Color values

HEX#1D216D
RGBrgb(29, 33, 109)
HSLhsl(237, 58%, 27%)
HSVhsv(237, 73%, 43%)
CMYKcmyk(73.4%, 69.7%, 0%, 57.3%)
CIE-LABlab(17.70, 25.84, -44.58)
CIE-LCHlch(17.70, 51.53, 300.10°)
OKLaboklab(30.11% 0.0074 -0.1288)
OKLCHoklch(30.11% 0.129 273.3)
XYZxyz(3.8099, 2.4527, 14.7377)
Luminance0.0245 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D216D #6D691D
analogous
#1D496D #1D216D #411D6D
triadic
#1D216D #6D1D21 #216D1D
tetradic
#1D216D #6D1D49 #6D691D #1D6D41
square
#1D216D #6D1D49 #6D691D #1D6D41
split-complementary
#1D216D #6D411D #496D1D
monochromatic
#060718 #10123D #1D216D #2A309D #3A41CB

Accessibility & contrast

On white

14.09
#1D216D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#1D216D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D216D
14.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D216D#FFFFFF#000000##FFFFFF
##1D216D1.0014.091.4914.09
#FFFFFF14.091.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F6F
Deuteranopia (green-blind)
#00286C
Tritanopia (blue-blind)
#003544
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #1d216d;
/* rgb */ color: rgb(29, 33, 109);
/* oklch */ color: oklch(30.1% 0.129 273.3);
Tailwind
colors: {
  custom: {
    50: '#665c98',
    500: '#1d216d',
    950: '#000000',
  },
}
SCSS
$custom: #1d216d;
$custom-light: #665c98;
$custom-dark: #000000;
JSON
{
  "hex": "#1d216d",
  "rgb": {
    "r": 29,
    "g": 33,
    "b": 109
  },
  "hsl": {
    "h": 237,
    "s": 57.971,
    "l": 27.059
  },
  "oklch": {
    "l": 0.30113,
    "c": 0.129,
    "h": 273.3
  },
  "luminance": 0.02453
}

Semantic roles & 50–950 ramp

primary
#1D216D
secondary
#A29D44
accent
#D947E1
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #1D216D

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

Preview Lab → · Contrast checker → · Palette generator →

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