#1D3D84#1D3D84

#1D3D84 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.0% C 0.125 H 263.4°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#1D3D84
RGBrgb(29, 61, 132)
HSLhsl(221, 64%, 32%)
HSVhsv(221, 78%, 52%)
CMYKcmyk(78%, 53.8%, 0%, 48.2%)
CIE-LABlab(27.47, 15.38, -43.30)
CIE-LCHlch(27.47, 45.95, 289.55°)
OKLaboklab(38.01% -0.0145 -0.1246)
OKLCHoklch(38.01% 0.125 263.4)
XYZxyz(6.3388, 5.2639, 22.5073)
Luminance0.0527 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3D84 #84641D
analogous
#1D7184 #1D3D84 #311D84
triadic
#1D3D84 #841D3D #3D841D
tetradic
#1D3D84 #841D71 #84641D #1D8431
square
#1D3D84 #841D71 #84641D #1D8431
split-complementary
#1D3D84 #84311D #71841D
monochromatic
#070F20 #122652 #1D3D84 #2854B6 #4572D6

Accessibility & contrast

On white

10.23
#1D3D84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#1D3D84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3D84
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3D84#FFFFFF#000000##FFFFFF
##1D3D841.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C4687
Deuteranopia (green-blind)
#003C83
Tritanopia (blue-blind)
#004E5A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #1d3d84;
/* rgb */ color: rgb(29, 61, 132);
/* oklch */ color: oklch(38.0% 0.125 263.4);
Tailwind
colors: {
  custom: {
    50: '#6972a8',
    500: '#1d3d84',
    950: '#000000',
  },
}
SCSS
$custom: #1d3d84;
$custom-light: #6972a8;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3d84",
  "rgb": {
    "r": 29,
    "g": 61,
    "b": 132
  },
  "hsl": {
    "h": 221.359,
    "s": 63.975,
    "l": 31.569
  },
  "oklch": {
    "l": 0.38014,
    "c": 0.12549,
    "h": 263.4
  },
  "luminance": 0.05265
}

Semantic roles & 50–950 ramp

primary
#1D3D84
secondary
#B79446
accent
#B341E7
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#070710
muted
#7A7A7F

Preview Lab

Preview with #1D3D84

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

Preview Lab → · Contrast checker → · Palette generator →

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