#1D1563#1D1563

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

Color values

HEX#1D1563
RGBrgb(29, 21, 99)
HSLhsl(246, 65%, 24%)
HSVhsv(246, 79%, 39%)
CMYKcmyk(70.7%, 78.8%, 0%, 61.2%)
CIE-LABlab(13.82, 29.96, -44.40)
CIE-LCHlch(13.82, 53.57, 304.01°)
OKLaboklab(27% 0.0177 -0.1282)
OKLCHoklch(27% 0.129 277.8)
XYZxyz(3.0263, 1.6981, 11.9703)
Luminance0.0170 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1563 #5B6315
analogous
#153463 #1D1563 #441563
triadic
#1D1563 #631D15 #15631D
tetradic
#1D1563 #631534 #5B6315 #156344
square
#1D1563 #631534 #5B6315 #156344
split-complementary
#1D1563 #634415 #346315
monochromatic
#070519 #0E0A31 #1D1563 #2C2095 #3B2AC8

Accessibility & contrast

On white

15.68
#1D1563 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D1563
15.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1563#FFFFFF#000000##FFFFFF
##1D15631.0015.681.3415.68
#FFFFFF15.681.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1d1563;
/* rgb */ color: rgb(29, 21, 99);
/* oklch */ color: oklch(27.0% 0.129 277.8);
Tailwind
colors: {
  custom: {
    50: '#645490',
    500: '#1d1563',
    950: '#000000',
  },
}
SCSS
$custom: #1d1563;
$custom-light: #645490;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1563",
  "rgb": {
    "r": 29,
    "g": 21,
    "b": 99
  },
  "hsl": {
    "h": 246.154,
    "s": 65,
    "l": 23.529
  },
  "oklch": {
    "l": 0.27004,
    "c": 0.12946,
    "h": 277.8
  },
  "luminance": 0.01698
}

Semantic roles & 50–950 ramp

primary
#1D1563
secondary
#909A3A
accent
#E840D7
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06030D
muted
#7A787D

Preview Lab

Preview with #1D1563

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

Preview Lab → · Contrast checker → · Palette generator →

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