#1D1567#1D1567

#1D1567 is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.5% C 0.135 H 277.1°. Best body text is #FFFFFF at 15.49:1 contrast (WCAG AA passes).

Color values

HEX#1D1567
RGBrgb(29, 21, 103)
HSLhsl(246, 66%, 24%)
HSVhsv(246, 80%, 40%)
CMYKcmyk(71.8%, 79.6%, 0%, 59.6%)
CIE-LABlab(14.27, 31.36, -46.30)
CIE-LCHlch(14.27, 55.92, 304.11°)
OKLaboklab(27.46% 0.0167 -0.1338)
OKLCHoklch(27.46% 0.135 277.1)
XYZxyz(3.2222, 1.7765, 13.0024)
Luminance0.0178 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1567 #5F6715
analogous
#153667 #1D1567 #461567
triadic
#1D1567 #671D15 #15671D
tetradic
#1D1567 #671536 #5F6715 #156746
square
#1D1567 #671536 #5F6715 #156746
split-complementary
#1D1567 #674615 #366715
monochromatic
#070519 #0F0B34 #1D1567 #2B1F9A #3A2ACD

Accessibility & contrast

On white

15.49
#1D1567 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#1D1567 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D1567
15.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1567#FFFFFF#000000##FFFFFF
##1D15671.0015.491.3615.49
#FFFFFF15.491.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002869
Deuteranopia (green-blind)
#002166
Tritanopia (blue-blind)
#002D3D
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #1d1567;
/* rgb */ color: rgb(29, 21, 103);
/* oklch */ color: oklch(27.5% 0.135 277.1);
Tailwind
colors: {
  custom: {
    50: '#655493',
    500: '#1d1567',
    950: '#000000',
  },
}
SCSS
$custom: #1d1567;
$custom-light: #655493;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1567",
  "rgb": {
    "r": 29,
    "g": 21,
    "b": 103
  },
  "hsl": {
    "h": 245.854,
    "s": 66.129,
    "l": 24.314
  },
  "oklch": {
    "l": 0.27458,
    "c": 0.13483,
    "h": 277.1
  },
  "luminance": 0.01777
}

Semantic roles & 50–950 ramp

primary
#1D1567
secondary
#949E3A
accent
#E93FD8
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#06030D
muted
#7A787E

Preview Lab

Preview with #1D1567

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

Preview Lab → · Contrast checker → · Palette generator →

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