#1D3E82#1D3E82

#1D3E82 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.1% C 0.121 H 262.6°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#1D3E82
RGBrgb(29, 62, 130)
HSLhsl(220, 64%, 31%)
HSVhsv(220, 78%, 51%)
CMYKcmyk(77.7%, 52.3%, 0%, 49%)
CIE-LABlab(27.62, 13.87, -41.81)
CIE-LCHlch(27.62, 44.05, 288.35°)
OKLaboklab(38.08% -0.0156 -0.1203)
OKLCHoklch(38.08% 0.121 262.6)
XYZxyz(6.2571, 5.3175, 21.8114)
Luminance0.0532 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3E82 #82611D
analogous
#1D7082 #1D3E82 #2E1D82
triadic
#1D3E82 #821D3E #3E821D
tetradic
#1D3E82 #821D70 #82611D #1D822E
square
#1D3E82 #821D70 #82611D #1D822E
split-complementary
#1D3E82 #822E1D #70821D
monochromatic
#070E1E #122650 #1D3E82 #2856B4 #4474D5

Accessibility & contrast

On white

10.18
#1D3E82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#1D3E82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3E82
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3E82#FFFFFF#000000##FFFFFF
##1D3E821.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144684
Deuteranopia (green-blind)
#003D81
Tritanopia (blue-blind)
#004E5A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #1d3e82;
/* rgb */ color: rgb(29, 62, 130);
/* oklch */ color: oklch(38.1% 0.121 262.6);
Tailwind
colors: {
  custom: {
    50: '#6972a7',
    500: '#1d3e82',
    950: '#000000',
  },
}
SCSS
$custom: #1d3e82;
$custom-light: #6972a7;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3e82",
  "rgb": {
    "r": 29,
    "g": 62,
    "b": 130
  },
  "hsl": {
    "h": 220.396,
    "s": 63.522,
    "l": 31.176
  },
  "oklch": {
    "l": 0.38078,
    "c": 0.12126,
    "h": 262.6
  },
  "luminance": 0.05318
}

Semantic roles & 50–950 ramp

primary
#1D3E82
secondary
#B59146
accent
#B141E7
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #1D3E82

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

Preview Lab → · Contrast checker → · Palette generator →

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