#1D1464#1D1464

#1D1464 is a dark, vivid blue. Relative luminance 0.017; OKLCH L 27.0% C 0.132 H 277.9°. Best body text is #FFFFFF at 15.71:1 contrast (WCAG AA passes).

Color values

HEX#1D1464
RGBrgb(29, 20, 100)
HSLhsl(247, 67%, 24%)
HSVhsv(247, 80%, 39%)
CMYKcmyk(71%, 80%, 0%, 60.8%)
CIE-LABlab(13.72, 30.91, -45.23)
CIE-LCHlch(13.72, 54.78, 304.35°)
OKLaboklab(26.97% 0.0181 -0.1306)
OKLCHoklch(26.97% 0.132 277.9)
XYZxyz(3.0564, 1.6814, 12.2176)
Luminance0.0168 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1464 #5B6414
analogous
#143364 #1D1464 #451464
triadic
#1D1464 #641D14 #14641D
tetradic
#1D1464 #641433 #5B6414 #146445
square
#1D1464 #641433 #5B6414 #146445
split-complementary
#1D1464 #644514 #336414
monochromatic
#07051A #0E0A31 #1D1464 #2C1E97 #3B28CA

Accessibility & contrast

On white

15.71
#1D1464 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#1D1464 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D1464
15.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1464#FFFFFF#000000##FFFFFF
##1D14641.0015.711.3415.71
#FFFFFF15.711.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002666
Deuteranopia (green-blind)
#002063
Tritanopia (blue-blind)
#002B3B
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #1d1464;
/* rgb */ color: rgb(29, 20, 100);
/* oklch */ color: oklch(27.0% 0.132 277.9);
Tailwind
colors: {
  custom: {
    50: '#655391',
    500: '#1d1464',
    950: '#000000',
  },
}
SCSS
$custom: #1d1464;
$custom-light: #655391;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1464",
  "rgb": {
    "r": 29,
    "g": 20,
    "b": 100
  },
  "hsl": {
    "h": 246.75,
    "s": 66.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.26968,
    "c": 0.13189,
    "h": 277.9
  },
  "luminance": 0.01682
}

Semantic roles & 50–950 ramp

primary
#1D1464
secondary
#909B38
accent
#EA3ED6
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#06020D
muted
#7A787E

Preview Lab

Preview with #1D1464

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

Preview Lab → · Contrast checker → · Palette generator →

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