#1D1667#1D1667

#1D1667 is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.6% C 0.134 H 276.9°. Best body text is #FFFFFF at 15.41:1 contrast (WCAG AA passes).

Color values

HEX#1D1667
RGBrgb(29, 22, 103)
HSLhsl(245, 65%, 25%)
HSVhsv(245, 79%, 40%)
CMYKcmyk(71.8%, 78.6%, 0%, 59.6%)
CIE-LABlab(14.48, 30.76, -45.95)
CIE-LCHlch(14.48, 55.30, 303.80°)
OKLaboklab(27.61% 0.0161 -0.1328)
OKLCHoklch(27.61% 0.134 276.9)
XYZxyz(3.2410, 1.8140, 13.0087)
Luminance0.0181 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1667 #606716
analogous
#163867 #1D1667 #461667
triadic
#1D1667 #671D16 #16671D
tetradic
#1D1667 #671638 #606716 #166746
square
#1D1667 #671638 #606716 #166746
split-complementary
#1D1667 #674616 #386716
monochromatic
#070519 #0F0B35 #1D1667 #2B2199 #392CCC

Accessibility & contrast

On white

15.41
#1D1667 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#1D1667 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D1667
15.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1667#FFFFFF#000000##FFFFFF
##1D16671.0015.411.3615.41
#FFFFFF15.411.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002869
Deuteranopia (green-blind)
#002166
Tritanopia (blue-blind)
#002D3D
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #1d1667;
/* rgb */ color: rgb(29, 22, 103);
/* oklch */ color: oklch(27.6% 0.134 276.9);
Tailwind
colors: {
  custom: {
    50: '#655593',
    500: '#1d1667',
    950: '#000000',
  },
}
SCSS
$custom: #1d1667;
$custom-light: #655593;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1667",
  "rgb": {
    "r": 29,
    "g": 22,
    "b": 103
  },
  "hsl": {
    "h": 245.185,
    "s": 64.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.27608,
    "c": 0.13375,
    "h": 276.9
  },
  "luminance": 0.01814
}

Semantic roles & 50–950 ramp

primary
#1D1667
secondary
#959E3B
accent
#E840D9
background
#F6F5F9
surface
#EBE8F1
border
#C6C4CB
text
#06030D
muted
#7A787E

Preview Lab

Preview with #1D1667

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

Preview Lab → · Contrast checker → · Palette generator →

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