#1D1D82#1D1D82

#1D1D82 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.7% C 0.162 H 272.3°. Best body text is #FFFFFF at 13.54:1 contrast (WCAG AA passes).

Color values

HEX#1D1D82
RGBrgb(29, 29, 130)
HSLhsl(240, 64%, 31%)
HSVhsv(240, 78%, 51%)
CMYKcmyk(77.7%, 77.7%, 0%, 49%)
CIE-LABlab(19.02, 36.08, -55.88)
CIE-LCHlch(19.02, 66.51, 302.85°)
OKLaboklab(31.73% 0.0065 -0.1617)
OKLCHoklch(31.73% 0.162 272.3)
XYZxyz(4.9740, 2.7511, 21.3836)
Luminance0.0275 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1D82 #82821D
analogous
#1D4F82 #1D1D82 #4F1D82
triadic
#1D1D82 #821D1D #1D821D
tetradic
#1D1D82 #821D4F #82821D #1D824F
square
#1D1D82 #821D4F #82821D #1D824F
split-complementary
#1D1D82 #824F1D #4F821D
monochromatic
#07071E #121250 #1D1D82 #2828B4 #4444D5

Accessibility & contrast

On white

13.54
#1D1D82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#1D1D82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D1D82
13.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1D82#FFFFFF#000000##FFFFFF
##1D1D821.0013.541.5513.54
#FFFFFF13.541.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003385
Deuteranopia (green-blind)
#002980
Tritanopia (blue-blind)
#003B4E
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1d1d82;
/* rgb */ color: rgb(29, 29, 130);
/* oklch */ color: oklch(31.7% 0.162 272.3);
Tailwind
colors: {
  custom: {
    50: '#6c5aa7',
    500: '#1d1d82',
    950: '#000000',
  },
}
SCSS
$custom: #1d1d82;
$custom-light: #6c5aa7;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1d82",
  "rgb": {
    "r": 29,
    "g": 29,
    "b": 130
  },
  "hsl": {
    "h": 240,
    "s": 63.522,
    "l": 31.176
  },
  "oklch": {
    "l": 0.31728,
    "c": 0.16186,
    "h": 272.3
  },
  "luminance": 0.02752
}

Semantic roles & 50–950 ramp

primary
#1D1D82
secondary
#B5B546
accent
#E741E7
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1D1D82

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

Preview Lab → · Contrast checker → · Palette generator →

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