#1D1366#1D1366

#1D1366 is a dark, vivid blue. Relative luminance 0.017; OKLCH L 27.1% C 0.136 H 277.7°. Best body text is #FFFFFF at 15.70:1 contrast (WCAG AA passes).

Color values

HEX#1D1366
RGBrgb(29, 19, 102)
HSLhsl(247, 69%, 24%)
HSVhsv(247, 81%, 40%)
CMYKcmyk(71.6%, 81.4%, 0%, 60%)
CIE-LABlab(13.74, 32.18, -46.51)
CIE-LCHlch(13.74, 56.55, 304.68°)
OKLaboklab(27.06% 0.0181 -0.1344)
OKLCHoklch(27.06% 0.136 277.7)
XYZxyz(3.1371, 1.6860, 12.7279)
Luminance0.0169 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1366 #5C6613
analogous
#133266 #1D1366 #461366
triadic
#1D1366 #661D13 #13661D
tetradic
#1D1366 #661332 #5C6613 #136646
square
#1D1366 #661332 #5C6613 #136646
split-complementary
#1D1366 #664613 #326613
monochromatic
#07051A #0E0932 #1D1366 #2C1D9A #3A26CD

Accessibility & contrast

On white

15.70
#1D1366 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D1366
15.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1366#FFFFFF#000000##FFFFFF
##1D13661.0015.701.3415.70
#FFFFFF15.701.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1d1366;
/* rgb */ color: rgb(29, 19, 102);
/* oklch */ color: oklch(27.1% 0.136 277.7);
Tailwind
colors: {
  custom: {
    50: '#655393',
    500: '#1d1366',
    950: '#000000',
  },
}
SCSS
$custom: #1d1366;
$custom-light: #655393;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1366",
  "rgb": {
    "r": 29,
    "g": 19,
    "b": 102
  },
  "hsl": {
    "h": 247.229,
    "s": 68.595,
    "l": 23.725
  },
  "oklch": {
    "l": 0.27056,
    "c": 0.13558,
    "h": 277.7
  },
  "luminance": 0.01686
}

Semantic roles & 50–950 ramp

primary
#1D1366
secondary
#919D37
accent
#EB3CD6
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#06020D
muted
#7A787E

Preview Lab

Preview with #1D1366

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

Preview Lab → · Contrast checker → · Palette generator →

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