#1D219F#1D219F

#1D219F is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.6% C 0.194 H 269.8°. Best body text is #FFFFFF at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#1D219F
RGBrgb(29, 33, 159)
HSLhsl(238, 69%, 37%)
HSVhsv(238, 82%, 62%)
CMYKcmyk(81.8%, 79.2%, 0%, 37.6%)
CIE-LABlab(23.17, 43.75, -67.01)
CIE-LCHlch(23.17, 80.02, 303.14°)
OKLaboklab(35.64% -0.0005 -0.1941)
OKLCHoklch(35.64% 0.194 269.8)
XYZxyz(7.3064, 3.8513, 33.1525)
Luminance0.0385 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D219F #9F9B1D
analogous
#1D629F #1D219F #5A1D9F
triadic
#1D219F #9F1D21 #219F1D
tetradic
#1D219F #9F1D62 #9F9B1D #1D9F5A
square
#1D219F #9F1D62 #9F9B1D #1D9F5A
split-complementary
#1D219F #9F5A1D #629F1D
monochromatic
#0A0C37 #14166B #1D219F #262CD3 #565AE0

Accessibility & contrast

On white

11.86
#1D219F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#1D219F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D219F
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D219F#FFFFFF#000000##FFFFFF
##1D219F1.0011.861.7711.86
#FFFFFF11.861.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003EA3
Deuteranopia (green-blind)
#00309D
Tritanopia (blue-blind)
#004860
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1d219f;
/* rgb */ color: rgb(29, 33, 159);
/* oklch */ color: oklch(35.6% 0.194 269.8);
Tailwind
colors: {
  custom: {
    50: '#735fbd',
    500: '#1d219f',
    950: '#000000',
  },
}
SCSS
$custom: #1d219f;
$custom-light: #735fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#1d219f",
  "rgb": {
    "r": 29,
    "g": 33,
    "b": 159
  },
  "hsl": {
    "h": 238.154,
    "s": 69.149,
    "l": 36.863
  },
  "oklch": {
    "l": 0.35642,
    "c": 0.19408,
    "h": 269.8
  },
  "luminance": 0.03852
}

Semantic roles & 50–950 ramp

primary
#1D219F
secondary
#C4C054
accent
#E73CEC
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #1D219F

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

Preview Lab → · Contrast checker → · Palette generator →

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