#1D1167#1D1167

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

Color values

HEX#1D1167
RGBrgb(29, 17, 103)
HSLhsl(248, 72%, 24%)
HSVhsv(248, 83%, 40%)
CMYKcmyk(71.8%, 83.5%, 0%, 59.6%)
CIE-LABlab(13.48, 33.62, -47.61)
CIE-LCHlch(13.48, 58.28, 305.23°)
OKLaboklab(26.91% 0.019 -0.1375)
OKLCHoklch(26.91% 0.139 277.9)
XYZxyz(3.1545, 1.6411, 12.9799)
Luminance0.0164 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1167 #5B6711
analogous
#113067 #1D1167 #481167
triadic
#1D1167 #671D11 #11671D
tetradic
#1D1167 #671130 #5B6711 #116748
square
#1D1167 #671130 #5B6711 #116748
split-complementary
#1D1167 #674811 #306711
monochromatic
#07041A #0E0832 #1D1167 #2C1A9C #3B22D0

Accessibility & contrast

On white

15.81
#1D1167 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D1167
15.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1167#FFFFFF#000000##FFFFFF
##1D11671.0015.811.3315.81
#FFFFFF15.811.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002669
Deuteranopia (green-blind)
#001F66
Tritanopia (blue-blind)
#002B3C
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #1d1167;
/* rgb */ color: rgb(29, 17, 103);
/* oklch */ color: oklch(26.9% 0.139 277.9);
Tailwind
colors: {
  custom: {
    50: '#665293',
    500: '#1d1167',
    950: '#000000',
  },
}
SCSS
$custom: #1d1167;
$custom-light: #665293;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1167",
  "rgb": {
    "r": 29,
    "g": 17,
    "b": 103
  },
  "hsl": {
    "h": 248.372,
    "s": 71.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.26905,
    "c": 0.13884,
    "h": 277.9
  },
  "luminance": 0.01641
}

Semantic roles & 50–950 ramp

primary
#1D1167
secondary
#909F35
accent
#EE39D5
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#07020D
muted
#7A787E

Preview Lab

Preview with #1D1167

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

Preview Lab → · Contrast checker → · Palette generator →

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