#1D1063#1D1063

#1D1063 is a dark, vivid blue. Relative luminance 0.015; OKLCH L 26.3% C 0.135 H 278.9°. Best body text is #FFFFFF at 16.07:1 contrast (WCAG AA passes).

Color values

HEX#1D1063
RGBrgb(29, 16, 99)
HSLhsl(249, 72%, 23%)
HSVhsv(249, 84%, 39%)
CMYKcmyk(70.7%, 83.8%, 0%, 61.2%)
CIE-LABlab(12.81, 32.82, -46.06)
CIE-LCHlch(12.81, 56.56, 305.47°)
OKLaboklab(26.3% 0.0207 -0.133)
OKLCHoklch(26.3% 0.135 278.9)
XYZxyz(2.9434, 1.5324, 11.9426)
Luminance0.0153 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1063 #566310
analogous
#102C63 #1D1063 #471063
triadic
#1D1063 #631D10 #10631D
tetradic
#1D1063 #63102C #566310 #106347
square
#1D1063 #63102C #566310 #106347
split-complementary
#1D1063 #634710 #2C6310
monochromatic
#08041A #0E072E #1D1063 #2C1998 #3C21CC

Accessibility & contrast

On white

16.07
#1D1063 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#1D1063 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D1063
16.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1063#FFFFFF#000000##FFFFFF
##1D10631.0016.071.3116.07
#FFFFFF16.071.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002465
Deuteranopia (green-blind)
#001E62
Tritanopia (blue-blind)
#002939
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #1d1063;
/* rgb */ color: rgb(29, 16, 99);
/* oklch */ color: oklch(26.3% 0.135 278.9);
Tailwind
colors: {
  custom: {
    50: '#655190',
    500: '#1d1063',
    950: '#000000',
  },
}
SCSS
$custom: #1d1063;
$custom-light: #655190;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1063",
  "rgb": {
    "r": 29,
    "g": 16,
    "b": 99
  },
  "hsl": {
    "h": 249.398,
    "s": 72.174,
    "l": 22.549
  },
  "oklch": {
    "l": 0.263,
    "c": 0.13463,
    "h": 278.9
  },
  "luminance": 0.01533
}

Semantic roles & 50–950 ramp

primary
#1D1063
secondary
#8B9C33
accent
#EF39D2
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#06020D
muted
#7A787E

Preview Lab

Preview with #1D1063

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

Preview Lab → · Contrast checker → · Palette generator →

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