#1D1068#1D1068

#1D1068 is a dark, vivid blue. Relative luminance 0.016; OKLCH L 26.9% C 0.141 H 277.8°. Best body text is #FFFFFF at 15.83:1 contrast (WCAG AA passes).

Color values

HEX#1D1068
RGBrgb(29, 16, 104)
HSLhsl(249, 73%, 24%)
HSVhsv(249, 85%, 41%)
CMYKcmyk(72.1%, 84.6%, 0%, 59.2%)
CIE-LABlab(13.42, 34.48, -48.37)
CIE-LCHlch(13.42, 59.40, 305.49°)
OKLaboklab(26.9% 0.0192 -0.1397)
OKLCHoklch(26.9% 0.141 277.8)
XYZxyz(3.1899, 1.6310, 13.2407)
Luminance0.0163 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1068 #5B6810
analogous
#102F68 #1D1068 #491068
triadic
#1D1068 #681D10 #10681D
tetradic
#1D1068 #68102F #5B6810 #106849
square
#1D1068 #68102F #5B6810 #106849
split-complementary
#1D1068 #684910 #2F6810
monochromatic
#07041B #0E0833 #1D1068 #2C189D #3B20D2

Accessibility & contrast

On white

15.83
#1D1068 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#1D1068 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D1068
15.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1068#FFFFFF#000000##FFFFFF
##1D10681.0015.831.3315.83
#FFFFFF15.831.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00266A
Deuteranopia (green-blind)
#001F66
Tritanopia (blue-blind)
#002B3C
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #1d1068;
/* rgb */ color: rgb(29, 16, 104);
/* oklch */ color: oklch(26.9% 0.141 277.8);
Tailwind
colors: {
  custom: {
    50: '#665194',
    500: '#1d1068',
    950: '#000000',
  },
}
SCSS
$custom: #1d1068;
$custom-light: #665194;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1068",
  "rgb": {
    "r": 29,
    "g": 16,
    "b": 104
  },
  "hsl": {
    "h": 248.864,
    "s": 73.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.26898,
    "c": 0.14104,
    "h": 277.8
  },
  "luminance": 0.01631
}

Semantic roles & 50–950 ramp

primary
#1D1068
secondary
#90A034
accent
#F038D5
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07020D
muted
#7A787E

Preview Lab

Preview with #1D1068

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

Preview Lab → · Contrast checker → · Palette generator →

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