#1D3382#1D3382

#1D3382 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.7% C 0.136 H 267.2°. Best body text is #FFFFFF at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#1D3382
RGBrgb(29, 51, 130)
HSLhsl(227, 64%, 31%)
HSVhsv(227, 78%, 51%)
CMYKcmyk(77.7%, 60.8%, 0%, 49%)
CIE-LABlab(24.45, 21.57, -46.96)
CIE-LCHlch(24.45, 51.68, 294.67°)
OKLaboklab(35.68% -0.0067 -0.1356)
OKLCHoklch(35.68% 0.136 267.2)
XYZxyz(5.7184, 4.2399, 21.6318)
Luminance0.0424 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3382 #826C1D
analogous
#1D6582 #1D3382 #391D82
triadic
#1D3382 #821D33 #33821D
tetradic
#1D3382 #821D65 #826C1D #1D8239
square
#1D3382 #821D65 #826C1D #1D8239
split-complementary
#1D3382 #82391D #65821D
monochromatic
#070C1E #121F50 #1D3382 #2847B4 #4464D5

Accessibility & contrast

On white

11.36
#1D3382 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#1D3382 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3382
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3382#FFFFFF#000000##FFFFFF
##1D33821.0011.361.8511.36
#FFFFFF11.361.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F85
Deuteranopia (green-blind)
#003680
Tritanopia (blue-blind)
#004755
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #1d3382;
/* rgb */ color: rgb(29, 51, 130);
/* oklch */ color: oklch(35.7% 0.136 267.2);
Tailwind
colors: {
  custom: {
    50: '#6a6aa7',
    500: '#1d3382',
    950: '#000000',
  },
}
SCSS
$custom: #1d3382;
$custom-light: #6a6aa7;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3382",
  "rgb": {
    "r": 29,
    "g": 51,
    "b": 130
  },
  "hsl": {
    "h": 226.931,
    "s": 63.522,
    "l": 31.176
  },
  "oklch": {
    "l": 0.35684,
    "c": 0.13576,
    "h": 267.2
  },
  "luminance": 0.04241
}

Semantic roles & 50–950 ramp

primary
#1D3382
secondary
#B59D46
accent
#C341E7
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #1D3382

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

Preview Lab → · Contrast checker → · Palette generator →

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