#1D1364#1D1364

#1D1364 is a dark, vivid blue. Relative luminance 0.016; OKLCH L 26.8% C 0.133 H 278.1°. Best body text is #FFFFFF at 15.80:1 contrast (WCAG AA passes).

Color values

HEX#1D1364
RGBrgb(29, 19, 100)
HSLhsl(247, 68%, 23%)
HSVhsv(247, 81%, 39%)
CMYKcmyk(71%, 81%, 0%, 60.8%)
CIE-LABlab(13.51, 31.49, -45.57)
CIE-LCHlch(13.51, 55.39, 304.65°)
OKLaboklab(26.82% 0.0187 -0.1316)
OKLCHoklch(26.82% 0.133 278.1)
XYZxyz(3.0391, 1.6468, 12.2118)
Luminance0.0165 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1364 #5A6413
analogous
#133164 #1D1364 #451364
triadic
#1D1364 #641D13 #13641D
tetradic
#1D1364 #641331 #5A6413 #136445
square
#1D1364 #641331 #5A6413 #136445
split-complementary
#1D1364 #644513 #316413
monochromatic
#07051A #0E0931 #1D1364 #2C1D97 #3B27CB

Accessibility & contrast

On white

15.80
#1D1364 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D1364
15.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1364#FFFFFF#000000##FFFFFF
##1D13641.0015.801.3315.80
#FFFFFF15.801.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002666
Deuteranopia (green-blind)
#001F63
Tritanopia (blue-blind)
#002B3B
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #1d1364;
/* rgb */ color: rgb(29, 19, 100);
/* oklch */ color: oklch(26.8% 0.133 278.1);
Tailwind
colors: {
  custom: {
    50: '#655391',
    500: '#1d1364',
    950: '#000000',
  },
}
SCSS
$custom: #1d1364;
$custom-light: #655391;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1364",
  "rgb": {
    "r": 29,
    "g": 19,
    "b": 100
  },
  "hsl": {
    "h": 247.407,
    "s": 68.067,
    "l": 23.333
  },
  "oklch": {
    "l": 0.26824,
    "c": 0.13295,
    "h": 278.1
  },
  "luminance": 0.01647
}

Semantic roles & 50–950 ramp

primary
#1D1364
secondary
#8F9C37
accent
#EB3DD5
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#06020D
muted
#7A787E

Preview Lab

Preview with #1D1364

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

Preview Lab → · Contrast checker → · Palette generator →

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