#1D1680#1D1680

#1D1680 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.5% C 0.166 H 273.4°. Best body text is #FFFFFF at 14.20:1 contrast (WCAG AA passes).

Color values

HEX#1D1680
RGBrgb(29, 22, 128)
HSLhsl(244, 71%, 29%)
HSVhsv(244, 83%, 50%)
CMYKcmyk(77.3%, 82.8%, 0%, 49.8%)
CIE-LABlab(17.43, 39.29, -57.24)
CIE-LCHlch(17.43, 69.43, 304.46°)
OKLaboklab(30.54% 0.0098 -0.1656)
OKLCHoklch(30.54% 0.166 273.4)
XYZxyz(4.6886, 2.3931, 20.6327)
Luminance0.0239 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1680 #798016
analogous
#164480 #1D1680 #521680
triadic
#1D1680 #801D16 #16801D
tetradic
#1D1680 #801644 #798016 #168052
square
#1D1680 #801644 #798016 #168052
split-complementary
#1D1680 #805216 #448016
monochromatic
#06041A #110D4C #1D1680 #291FB4 #3F34DC

Accessibility & contrast

On white

14.20
#1D1680 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#1D1680 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D1680
14.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1680#FFFFFF#000000##FFFFFF
##1D16801.0014.201.4814.20
#FFFFFF14.201.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003083
Deuteranopia (green-blind)
#00267E
Tritanopia (blue-blind)
#00374B
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #1d1680;
/* rgb */ color: rgb(29, 22, 128);
/* oklch */ color: oklch(30.5% 0.166 273.4);
Tailwind
colors: {
  custom: {
    50: '#6c56a6',
    500: '#1d1680',
    950: '#000000',
  },
}
SCSS
$custom: #1d1680;
$custom-light: #6c56a6;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1680",
  "rgb": {
    "r": 29,
    "g": 22,
    "b": 128
  },
  "hsl": {
    "h": 243.962,
    "s": 70.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.30543,
    "c": 0.16589,
    "h": 273.4
  },
  "luminance": 0.02394
}

Semantic roles & 50–950 ramp

primary
#1D1680
secondary
#ADB53D
accent
#ED3AE2
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #1D1680

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

Preview Lab → · Contrast checker → · Palette generator →

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