#1D1367#1D1367

#1D1367 is a dark, vivid blue. Relative luminance 0.017; OKLCH L 27.2% C 0.137 H 277.5°. Best body text is #FFFFFF at 15.66:1 contrast (WCAG AA passes).

Color values

HEX#1D1367
RGBrgb(29, 19, 103)
HSLhsl(247, 69%, 24%)
HSVhsv(247, 82%, 40%)
CMYKcmyk(71.8%, 81.6%, 0%, 59.6%)
CIE-LABlab(13.86, 32.52, -46.97)
CIE-LCHlch(13.86, 57.13, 304.69°)
OKLaboklab(27.17% 0.0179 -0.1357)
OKLCHoklch(27.17% 0.137 277.5)
XYZxyz(3.1870, 1.7059, 12.9907)
Luminance0.0171 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1367 #5D6713
analogous
#133367 #1D1367 #471367
triadic
#1D1367 #671D13 #13671D
tetradic
#1D1367 #671333 #5D6713 #136747
square
#1D1367 #671333 #5D6713 #136747
split-complementary
#1D1367 #674713 #336713
monochromatic
#07051A #0E0933 #1D1367 #2C1D9B #3A26CE

Accessibility & contrast

On white

15.66
#1D1367 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D1367
15.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1367#FFFFFF#000000##FFFFFF
##1D13671.0015.661.3415.66
#FFFFFF15.661.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002769
Deuteranopia (green-blind)
#002066
Tritanopia (blue-blind)
#002C3C
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #1d1367;
/* rgb */ color: rgb(29, 19, 103);
/* oklch */ color: oklch(27.2% 0.137 277.5);
Tailwind
colors: {
  custom: {
    50: '#665393',
    500: '#1d1367',
    950: '#000000',
  },
}
SCSS
$custom: #1d1367;
$custom-light: #665393;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1367",
  "rgb": {
    "r": 29,
    "g": 19,
    "b": 103
  },
  "hsl": {
    "h": 247.143,
    "s": 68.852,
    "l": 23.922
  },
  "oklch": {
    "l": 0.27173,
    "c": 0.13689,
    "h": 277.5
  },
  "luminance": 0.01706
}

Semantic roles & 50–950 ramp

primary
#1D1367
secondary
#929E37
accent
#EC3CD7
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#07020D
muted
#7A787E

Preview Lab

Preview with #1D1367

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

Preview Lab → · Contrast checker → · Palette generator →

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