#1D2082#1D2082

#1D2082 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.2% C 0.159 H 271.8°. Best body text is #FFFFFF at 13.28:1 contrast (WCAG AA passes).

Color values

HEX#1D2082
RGBrgb(29, 32, 130)
HSLhsl(238, 64%, 31%)
HSVhsv(238, 78%, 51%)
CMYKcmyk(77.7%, 75.4%, 0%, 49%)
CIE-LABlab(19.66, 34.27, -54.82)
CIE-LCHlch(19.66, 64.65, 302.01°)
OKLaboklab(32.19% 0.0051 -0.1587)
OKLCHoklch(32.19% 0.159 271.8)
XYZxyz(5.0511, 2.9054, 21.4094)
Luminance0.0291 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2082 #827F1D
analogous
#1D5282 #1D2082 #4C1D82
triadic
#1D2082 #821D20 #20821D
tetradic
#1D2082 #821D52 #827F1D #1D824C
square
#1D2082 #821D52 #827F1D #1D824C
split-complementary
#1D2082 #824C1D #52821D
monochromatic
#07071E #121450 #1D2082 #282CB4 #4448D5

Accessibility & contrast

On white

13.28
#1D2082 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#1D2082 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2082
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2082#FFFFFF#000000##FFFFFF
##1D20821.0013.281.5813.28
#FFFFFF13.281.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003485
Deuteranopia (green-blind)
#002B80
Tritanopia (blue-blind)
#003C4F
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1d2082;
/* rgb */ color: rgb(29, 32, 130);
/* oklch */ color: oklch(32.2% 0.159 271.8);
Tailwind
colors: {
  custom: {
    50: '#6b5ca7',
    500: '#1d2082',
    950: '#000000',
  },
}
SCSS
$custom: #1d2082;
$custom-light: #6b5ca7;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2082",
  "rgb": {
    "r": 29,
    "g": 32,
    "b": 130
  },
  "hsl": {
    "h": 238.218,
    "s": 63.522,
    "l": 31.176
  },
  "oklch": {
    "l": 0.32185,
    "c": 0.15874,
    "h": 271.8
  },
  "luminance": 0.02906
}

Semantic roles & 50–950 ramp

primary
#1D2082
secondary
#B5B246
accent
#E241E7
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1D2082

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

Preview Lab → · Contrast checker → · Palette generator →

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