#1D3D82#1D3D82

#1D3D82 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 37.9% C 0.123 H 263.1°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#1D3D82
RGBrgb(29, 61, 130)
HSLhsl(221, 64%, 31%)
HSVhsv(221, 78%, 51%)
CMYKcmyk(77.7%, 53.1%, 0%, 49%)
CIE-LABlab(27.32, 14.57, -42.29)
CIE-LCHlch(27.32, 44.73, 289.01°)
OKLaboklab(37.85% -0.0147 -0.1217)
OKLCHoklch(37.85% 0.123 263.1)
XYZxyz(6.2033, 5.2097, 21.7934)
Luminance0.0521 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3D82 #82621D
analogous
#1D6F82 #1D3D82 #2F1D82
triadic
#1D3D82 #821D3D #3D821D
tetradic
#1D3D82 #821D6F #82621D #1D822F
square
#1D3D82 #821D6F #82621D #1D822F
split-complementary
#1D3D82 #822F1D #6F821D
monochromatic
#070E1E #122650 #1D3D82 #2854B4 #4472D5

Accessibility & contrast

On white

10.28
#1D3D82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#1D3D82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3D82
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3D82#FFFFFF#000000##FFFFFF
##1D3D821.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#104584
Deuteranopia (green-blind)
#003C81
Tritanopia (blue-blind)
#004E59
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #1d3d82;
/* rgb */ color: rgb(29, 61, 130);
/* oklch */ color: oklch(37.9% 0.123 263.1);
Tailwind
colors: {
  custom: {
    50: '#6972a7',
    500: '#1d3d82',
    950: '#000000',
  },
}
SCSS
$custom: #1d3d82;
$custom-light: #6972a7;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3d82",
  "rgb": {
    "r": 29,
    "g": 61,
    "b": 130
  },
  "hsl": {
    "h": 220.99,
    "s": 63.522,
    "l": 31.176
  },
  "oklch": {
    "l": 0.37852,
    "c": 0.12258,
    "h": 263.1
  },
  "luminance": 0.0521
}

Semantic roles & 50–950 ramp

primary
#1D3D82
secondary
#B59246
accent
#B241E7
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #1D3D82

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

Preview Lab → · Contrast checker → · Palette generator →

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