#1D1780#1D1780

#1D1780 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.7% C 0.165 H 273.3°. Best body text is #FFFFFF at 14.13:1 contrast (WCAG AA passes).

Color values

HEX#1D1780
RGBrgb(29, 23, 128)
HSLhsl(243, 70%, 30%)
HSVhsv(243, 82%, 50%)
CMYKcmyk(77.3%, 82%, 0%, 49.8%)
CIE-LABlab(17.61, 38.77, -56.94)
CIE-LCHlch(17.61, 68.89, 304.25°)
OKLaboklab(30.67% 0.0094 -0.1647)
OKLCHoklch(30.67% 0.165 273.3)
XYZxyz(4.7081, 2.4320, 20.6392)
Luminance0.0243 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1780 #7A8017
analogous
#174580 #1D1780 #521780
triadic
#1D1780 #801D17 #17801D
tetradic
#1D1780 #801745 #7A8017 #178052
square
#1D1780 #801745 #7A8017 #178052
split-complementary
#1D1780 #805217 #458017
monochromatic
#06051A #110E4C #1D1780 #2920B4 #4036DB

Accessibility & contrast

On white

14.13
#1D1780 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#1D1780 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D1780
14.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1780#FFFFFF#000000##FFFFFF
##1D17801.0014.131.4914.13
#FFFFFF14.131.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1d1780;
/* rgb */ color: rgb(29, 23, 128);
/* oklch */ color: oklch(30.7% 0.165 273.3);
Tailwind
colors: {
  custom: {
    50: '#6c57a6',
    500: '#1d1780',
    950: '#000000',
  },
}
SCSS
$custom: #1d1780;
$custom-light: #6c57a6;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1780",
  "rgb": {
    "r": 29,
    "g": 23,
    "b": 128
  },
  "hsl": {
    "h": 243.429,
    "s": 69.536,
    "l": 29.608
  },
  "oklch": {
    "l": 0.30669,
    "c": 0.16502,
    "h": 273.3
  },
  "luminance": 0.02433
}

Semantic roles & 50–950 ramp

primary
#1D1780
secondary
#AEB43E
accent
#EC3BE2
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #1D1780

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

Preview Lab → · Contrast checker → · Palette generator →

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