#1D319A#1D319A

#1D319A is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.6% C 0.171 H 268.0°. Best body text is #FFFFFF at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#1D319A
RGBrgb(29, 49, 154)
HSLhsl(230, 68%, 36%)
HSVhsv(230, 81%, 60%)
CMYKcmyk(81.2%, 68.2%, 0%, 39.6%)
CIE-LABlab(26.13, 32.26, -59.08)
CIE-LCHlch(26.13, 67.31, 298.64°)
OKLaboklab(37.6% -0.0061 -0.1711)
OKLCHoklch(37.6% 0.171 268)
XYZxyz(7.4357, 4.7901, 31.0983)
Luminance0.0479 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D319A #9A861D
analogous
#1D6F9A #1D319A #471D9A
triadic
#1D319A #9A1D31 #319A1D
tetradic
#1D319A #9A1D6F #9A861D #1D9A47
square
#1D319A #9A1D6F #9A861D #1D9A47
split-complementary
#1D319A #9A471D #6F9A1D
monochromatic
#0A1033 #132166 #1D319A #2741CE #5369DF

Accessibility & contrast

On white

10.72
#1D319A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#1D319A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D319A
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D319A#FFFFFF#000000##FFFFFF
##1D319A1.0010.721.9610.72
#FFFFFF10.721.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449D
Deuteranopia (green-blind)
#003898
Tritanopia (blue-blind)
#004E61
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #1d319a;
/* rgb */ color: rgb(29, 49, 154);
/* oklch */ color: oklch(37.6% 0.171 268.0);
Tailwind
colors: {
  custom: {
    50: '#7069b9',
    500: '#1d319a',
    950: '#000000',
  },
}
SCSS
$custom: #1d319a;
$custom-light: #7069b9;
$custom-dark: #000000;
JSON
{
  "hex": "#1d319a",
  "rgb": {
    "r": 29,
    "g": 49,
    "b": 154
  },
  "hsl": {
    "h": 230.4,
    "s": 68.306,
    "l": 35.882
  },
  "oklch": {
    "l": 0.376,
    "c": 0.1712,
    "h": 268
  },
  "luminance": 0.04791
}

Semantic roles & 50–950 ramp

primary
#1D319A
secondary
#C2B051
accent
#CF3DEB
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #1D319A

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

Preview Lab → · Contrast checker → · Palette generator →

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