#1D2382#1D2382

#1D2382 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.7% C 0.155 H 271.3°. Best body text is #FFFFFF at 13.00:1 contrast (WCAG AA passes).

Color values

HEX#1D2382
RGBrgb(29, 35, 130)
HSLhsl(236, 64%, 31%)
HSVhsv(236, 78%, 51%)
CMYKcmyk(77.7%, 73.1%, 0%, 49%)
CIE-LABlab(20.34, 32.39, -53.70)
CIE-LCHlch(20.34, 62.71, 301.10°)
OKLaboklab(32.67% 0.0036 -0.1554)
OKLCHoklch(32.67% 0.155 271.3)
XYZxyz(5.1356, 3.0744, 21.4375)
Luminance0.0307 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2382 #827C1D
analogous
#1D5582 #1D2382 #491D82
triadic
#1D2382 #821D23 #23821D
tetradic
#1D2382 #821D55 #827C1D #1D8249
square
#1D2382 #821D55 #827C1D #1D8249
split-complementary
#1D2382 #82491D #55821D
monochromatic
#07081E #121650 #1D2382 #2830B4 #444DD5

Accessibility & contrast

On white

13.00
#1D2382 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#1D2382 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2382
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2382#FFFFFF#000000##FFFFFF
##1D23821.0013.001.6213.00
#FFFFFF13.001.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF13.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003685
Deuteranopia (green-blind)
#002C80
Tritanopia (blue-blind)
#003E50
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1d2382;
/* rgb */ color: rgb(29, 35, 130);
/* oklch */ color: oklch(32.7% 0.155 271.3);
Tailwind
colors: {
  custom: {
    50: '#6b5ea7',
    500: '#1d2382',
    950: '#000000',
  },
}
SCSS
$custom: #1d2382;
$custom-light: #6b5ea7;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2382",
  "rgb": {
    "r": 29,
    "g": 35,
    "b": 130
  },
  "hsl": {
    "h": 236.436,
    "s": 63.522,
    "l": 31.176
  },
  "oklch": {
    "l": 0.3267,
    "c": 0.15546,
    "h": 271.3
  },
  "luminance": 0.03075
}

Semantic roles & 50–950 ramp

primary
#1D2382
secondary
#B5AF46
accent
#DD41E7
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#080410
muted
#7A797F

Preview Lab

Preview with #1D2382

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

Preview Lab → · Contrast checker → · Palette generator →

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