#1D1480#1D1480

#1D1480 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.3% C 0.168 H 273.6°. Best body text is #FFFFFF at 14.34:1 contrast (WCAG AA passes).

Color values

HEX#1D1480
RGBrgb(29, 20, 128)
HSLhsl(245, 73%, 29%)
HSVhsv(245, 84%, 50%)
CMYKcmyk(77.3%, 84.4%, 0%, 49.8%)
CIE-LABlab(17.08, 40.30, -57.81)
CIE-LCHlch(17.08, 70.47, 304.88°)
OKLaboklab(30.3% 0.0105 -0.1672)
OKLCHoklch(30.3% 0.168 273.6)
XYZxyz(4.6518, 2.3196, 20.6204)
Luminance0.0232 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1480 #778014
analogous
#144180 #1D1480 #531480
triadic
#1D1480 #801D14 #14801D
tetradic
#1D1480 #801441 #778014 #148053
square
#1D1480 #801441 #778014 #148053
split-complementary
#1D1480 #805314 #418014
monochromatic
#06041A #110C4B #1D1480 #291CB5 #3E30DF

Accessibility & contrast

On white

14.34
#1D1480 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#1D1480 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D1480
14.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1480#FFFFFF#000000##FFFFFF
##1D14801.0014.341.4614.34
#FFFFFF14.341.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F83
Deuteranopia (green-blind)
#00257E
Tritanopia (blue-blind)
#00364B
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #1d1480;
/* rgb */ color: rgb(29, 20, 128);
/* oklch */ color: oklch(30.3% 0.168 273.6);
Tailwind
colors: {
  custom: {
    50: '#6c55a6',
    500: '#1d1480',
    950: '#000000',
  },
}
SCSS
$custom: #1d1480;
$custom-light: #6c55a6;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1480",
  "rgb": {
    "r": 29,
    "g": 20,
    "b": 128
  },
  "hsl": {
    "h": 245,
    "s": 72.973,
    "l": 29.02
  },
  "oklch": {
    "l": 0.30303,
    "c": 0.16756,
    "h": 273.6
  },
  "luminance": 0.0232
}

Semantic roles & 50–950 ramp

primary
#1D1480
secondary
#ABB53B
accent
#F038E0
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #1D1480

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

Preview Lab → · Contrast checker → · Palette generator →

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