#1D219D#1D219D

#1D219D is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.4% C 0.192 H 270.0°. Best body text is #FFFFFF at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#1D219D
RGBrgb(29, 33, 157)
HSLhsl(238, 69%, 36%)
HSVhsv(238, 82%, 62%)
CMYKcmyk(81.5%, 79%, 0%, 38.4%)
CIE-LABlab(22.94, 43.08, -66.18)
CIE-LCHlch(22.94, 78.96, 303.06°)
OKLaboklab(35.41% -0.0001 -0.1917)
OKLCHoklch(35.41% 0.192 270)
XYZxyz(7.1343, 3.7824, 32.2458)
Luminance0.0378 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D219D #9D991D
analogous
#1D619D #1D219D #591D9D
triadic
#1D219D #9D1D21 #219D1D
tetradic
#1D219D #9D1D61 #9D991D #1D9D59
square
#1D219D #9D1D61 #9D991D #1D9D59
split-complementary
#1D219D #9D591D #619D1D
monochromatic
#0A0B36 #131669 #1D219D #272CD1 #5559E0

Accessibility & contrast

On white

11.95
#1D219D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D219D
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D219D#FFFFFF#000000##FFFFFF
##1D219D1.0011.951.7611.95
#FFFFFF11.951.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003DA0
Deuteranopia (green-blind)
#00309B
Tritanopia (blue-blind)
#00475E
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1d219d;
/* rgb */ color: rgb(29, 33, 157);
/* oklch */ color: oklch(35.4% 0.192 270.0);
Tailwind
colors: {
  custom: {
    50: '#725fbb',
    500: '#1d219d',
    950: '#000000',
  },
}
SCSS
$custom: #1d219d;
$custom-light: #725fbb;
$custom-dark: #000000;
JSON
{
  "hex": "#1d219d",
  "rgb": {
    "r": 29,
    "g": 33,
    "b": 157
  },
  "hsl": {
    "h": 238.125,
    "s": 68.817,
    "l": 36.471
  },
  "oklch": {
    "l": 0.35409,
    "c": 0.19167,
    "h": 270
  },
  "luminance": 0.03783
}

Semantic roles & 50–950 ramp

primary
#1D219D
secondary
#C3BF53
accent
#E63CEC
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #1D219D

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

Preview Lab → · Contrast checker → · Palette generator →

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