#1D3F82#1D3F82

#1D3F82 is a dark, moderate blue. Relative luminance 0.054; OKLCH L 38.3% C 0.120 H 262.1°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#1D3F82
RGBrgb(29, 63, 130)
HSLhsl(220, 64%, 31%)
HSVhsv(220, 78%, 51%)
CMYKcmyk(77.7%, 51.5%, 0%, 49%)
CIE-LABlab(27.92, 13.17, -41.33)
CIE-LCHlch(27.92, 43.38, 287.68°)
OKLaboklab(38.31% -0.0164 -0.1188)
OKLCHoklch(38.31% 0.12 262.1)
XYZxyz(6.3120, 5.4272, 21.8297)
Luminance0.0543 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3F82 #82601D
analogous
#1D7182 #1D3F82 #2D1D82
triadic
#1D3F82 #821D3F #3F821D
tetradic
#1D3F82 #821D71 #82601D #1D822D
square
#1D3F82 #821D71 #82601D #1D822D
split-complementary
#1D3F82 #822D1D #71821D
monochromatic
#070F1E #122750 #1D3F82 #2857B4 #4475D5

Accessibility & contrast

On white

10.07
#1D3F82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#1D3F82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3F82
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3F82#FFFFFF#000000##FFFFFF
##1D3F821.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174784
Deuteranopia (green-blind)
#003E81
Tritanopia (blue-blind)
#004F5A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #1d3f82;
/* rgb */ color: rgb(29, 63, 130);
/* oklch */ color: oklch(38.3% 0.120 262.1);
Tailwind
colors: {
  custom: {
    50: '#6973a7',
    500: '#1d3f82',
    950: '#000000',
  },
}
SCSS
$custom: #1d3f82;
$custom-light: #6973a7;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3f82",
  "rgb": {
    "r": 29,
    "g": 63,
    "b": 130
  },
  "hsl": {
    "h": 219.802,
    "s": 63.522,
    "l": 31.176
  },
  "oklch": {
    "l": 0.38306,
    "c": 0.11996,
    "h": 262.1
  },
  "luminance": 0.05428
}

Semantic roles & 50–950 ramp

primary
#1D3F82
secondary
#B59046
accent
#AF41E7
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #1D3F82

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

Preview Lab → · Contrast checker → · Palette generator →

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