#1D3282#1D3282

#1D3282 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.5% C 0.137 H 267.5°. Best body text is #FFFFFF at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#1D3282
RGBrgb(29, 50, 130)
HSLhsl(228, 64%, 31%)
HSVhsv(228, 78%, 51%)
CMYKcmyk(77.7%, 61.5%, 0%, 49%)
CIE-LABlab(24.17, 22.27, -47.41)
CIE-LCHlch(24.17, 52.38, 295.16°)
OKLaboklab(35.48% -0.006 -0.1369)
OKLCHoklch(35.48% 0.137 267.5)
XYZxyz(5.6752, 4.1535, 21.6174)
Luminance0.0415 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3282 #826D1D
analogous
#1D6482 #1D3282 #3A1D82
triadic
#1D3282 #821D32 #32821D
tetradic
#1D3282 #821D64 #826D1D #1D823A
square
#1D3282 #821D64 #826D1D #1D823A
split-complementary
#1D3282 #823A1D #64821D
monochromatic
#070C1E #121F50 #1D3282 #2845B4 #4462D5

Accessibility & contrast

On white

11.47
#1D3282 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#1D3282 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3282
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3282#FFFFFF#000000##FFFFFF
##1D32821.0011.471.8311.47
#FFFFFF11.471.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E85
Deuteranopia (green-blind)
#003580
Tritanopia (blue-blind)
#004655
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #1d3282;
/* rgb */ color: rgb(29, 50, 130);
/* oklch */ color: oklch(35.5% 0.137 267.5);
Tailwind
colors: {
  custom: {
    50: '#6a69a7',
    500: '#1d3282',
    950: '#000000',
  },
}
SCSS
$custom: #1d3282;
$custom-light: #6a69a7;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3282",
  "rgb": {
    "r": 29,
    "g": 50,
    "b": 130
  },
  "hsl": {
    "h": 227.525,
    "s": 63.522,
    "l": 31.176
  },
  "oklch": {
    "l": 0.35478,
    "c": 0.13706,
    "h": 267.5
  },
  "luminance": 0.04154
}

Semantic roles & 50–950 ramp

primary
#1D3282
secondary
#B59E46
accent
#C441E7
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #1D3282

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

Preview Lab → · Contrast checker → · Palette generator →

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