#1D219C#1D219C

#1D219C is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.3% C 0.190 H 270.0°. Best body text is #FFFFFF at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#1D219C
RGBrgb(29, 33, 156)
HSLhsl(238, 69%, 36%)
HSVhsv(238, 81%, 61%)
CMYKcmyk(81.4%, 78.8%, 0%, 38.8%)
CIE-LABlab(22.82, 42.74, -65.76)
CIE-LCHlch(22.82, 78.43, 303.02°)
OKLaboklab(35.29% 0 -0.1905)
OKLCHoklch(35.29% 0.19 270)
XYZxyz(7.0493, 3.7484, 31.7980)
Luminance0.0375 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D219C #9C981D
analogous
#1D619C #1D219C #591D9C
triadic
#1D219C #9C1D21 #219C1D
tetradic
#1D219C #9C1D61 #9C981D #1D9C59
square
#1D219C #9C1D61 #9C981D #1D9C59
split-complementary
#1D219C #9C591D #619C1D
monochromatic
#0A0B35 #131668 #1D219C #272CD0 #5459DF

Accessibility & contrast

On white

12.00
#1D219C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#1D219C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D219C
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D219C#FFFFFF#000000##FFFFFF
##1D219C1.0012.001.7512.00
#FFFFFF12.001.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D9F
Deuteranopia (green-blind)
#00309A
Tritanopia (blue-blind)
#00475E
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1d219c;
/* rgb */ color: rgb(29, 33, 156);
/* oklch */ color: oklch(35.3% 0.190 270.0);
Tailwind
colors: {
  custom: {
    50: '#725ebb',
    500: '#1d219c',
    950: '#000000',
  },
}
SCSS
$custom: #1d219c;
$custom-light: #725ebb;
$custom-dark: #000000;
JSON
{
  "hex": "#1d219c",
  "rgb": {
    "r": 29,
    "g": 33,
    "b": 156
  },
  "hsl": {
    "h": 238.11,
    "s": 68.649,
    "l": 36.275
  },
  "oklch": {
    "l": 0.35293,
    "c": 0.19046,
    "h": 270
  },
  "luminance": 0.03749
}

Semantic roles & 50–950 ramp

primary
#1D219C
secondary
#C2BF52
accent
#E63CEB
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #1D219C

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

Preview Lab → · Contrast checker → · Palette generator →

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