#1D1380#1D1380

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

Color values

HEX#1D1380
RGBrgb(29, 19, 128)
HSLhsl(246, 74%, 29%)
HSVhsv(246, 85%, 50%)
CMYKcmyk(77.3%, 85.2%, 0%, 49.8%)
CIE-LABlab(16.92, 40.78, -58.09)
CIE-LCHlch(16.92, 70.98, 305.07°)
OKLaboklab(30.19% 0.0108 -0.168)
OKLCHoklch(30.19% 0.168 273.7)
XYZxyz(4.6346, 2.2850, 20.6147)
Luminance0.0228 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1380 #768013
analogous
#134080 #1D1380 #541380
triadic
#1D1380 #801D13 #13801D
tetradic
#1D1380 #801340 #768013 #138054
square
#1D1380 #801340 #768013 #138054
split-complementary
#1D1380 #805413 #408013
monochromatic
#06041B #110B4B #1D1380 #291BB5 #3E2DE0

Accessibility & contrast

On white

14.41
#1D1380 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D1380
14.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1380#FFFFFF#000000##FFFFFF
##1D13801.0014.411.4614.41
#FFFFFF14.411.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1d1380;
/* rgb */ color: rgb(29, 19, 128);
/* oklch */ color: oklch(30.2% 0.168 273.7);
Tailwind
colors: {
  custom: {
    50: '#6c55a6',
    500: '#1d1380',
    950: '#000000',
  },
}
SCSS
$custom: #1d1380;
$custom-light: #6c55a6;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1380",
  "rgb": {
    "r": 29,
    "g": 19,
    "b": 128
  },
  "hsl": {
    "h": 245.505,
    "s": 74.15,
    "l": 28.824
  },
  "oklch": {
    "l": 0.30189,
    "c": 0.16835,
    "h": 273.7
  },
  "luminance": 0.02285
}

Semantic roles & 50–950 ramp

primary
#1D1380
secondary
#AAB539
accent
#F137E0
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #1D1380

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

Preview Lab → · Contrast checker → · Palette generator →

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