#1D1880#1D1880

#1D1880 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.8% C 0.164 H 273.2°. Best body text is #FFFFFF at 14.05:1 contrast (WCAG AA passes).

Color values

HEX#1D1880
RGBrgb(29, 24, 128)
HSLhsl(243, 68%, 30%)
HSVhsv(243, 81%, 50%)
CMYKcmyk(77.3%, 81.3%, 0%, 49.8%)
CIE-LABlab(17.79, 38.23, -56.64)
CIE-LCHlch(17.79, 68.33, 304.02°)
OKLaboklab(30.8% 0.009 -0.1639)
OKLCHoklch(30.8% 0.164 273.2)
XYZxyz(4.7283, 2.4725, 20.6459)
Luminance0.0247 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1880 #7B8018
analogous
#184780 #1D1880 #511880
triadic
#1D1880 #801D18 #18801D
tetradic
#1D1880 #801847 #7B8018 #188051
square
#1D1880 #801847 #7B8018 #188051
split-complementary
#1D1880 #805118 #478018
monochromatic
#06051A #110E4C #1D1880 #2922B4 #4039DA

Accessibility & contrast

On white

14.05
#1D1880 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D1880
14.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1880#FFFFFF#000000##FFFFFF
##1D18801.0014.051.4914.05
#FFFFFF14.051.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1d1880;
/* rgb */ color: rgb(29, 24, 128);
/* oklch */ color: oklch(30.8% 0.164 273.2);
Tailwind
colors: {
  custom: {
    50: '#6c57a6',
    500: '#1d1880',
    950: '#000000',
  },
}
SCSS
$custom: #1d1880;
$custom-light: #6c57a6;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1880",
  "rgb": {
    "r": 29,
    "g": 24,
    "b": 128
  },
  "hsl": {
    "h": 242.885,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.30798,
    "c": 0.16412,
    "h": 273.2
  },
  "luminance": 0.02473
}

Semantic roles & 50–950 ramp

primary
#1D1880
secondary
#AFB440
accent
#EB3DE3
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #1D1880

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

Preview Lab → · Contrast checker → · Palette generator →

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