#1D3E79#1D3E79

#1D3E79 is a dark, moderate blue. Relative luminance 0.051; OKLCH L 37.4% C 0.108 H 261.0°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#1D3E79
RGBrgb(29, 62, 121)
HSLhsl(218, 61%, 29%)
HSVhsv(218, 76%, 47%)
CMYKcmyk(76%, 48.8%, 0%, 52.5%)
CIE-LABlab(26.98, 10.22, -37.20)
CIE-LCHlch(26.98, 38.58, 285.36°)
OKLaboklab(37.38% -0.0169 -0.1067)
OKLCHoklch(37.38% 0.108 261)
XYZxyz(5.6793, 5.0863, 18.7679)
Luminance0.0509 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3E79 #79581D
analogous
#1D6C79 #1D3E79 #2A1D79
triadic
#1D3E79 #791D3E #3E791D
tetradic
#1D3E79 #791D6C #79581D #1D792A
square
#1D3E79 #791D6C #79581D #1D792A
split-complementary
#1D3E79 #792A1D #6C791D
monochromatic
#060D19 #112548 #1D3E79 #2957AA #3F74D1

Accessibility & contrast

On white

10.41
#1D3E79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#1D3E79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3E79
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3E79#FFFFFF#000000##FFFFFF
##1D3E791.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F447B
Deuteranopia (green-blind)
#083C78
Tritanopia (blue-blind)
#004C55
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #1d3e79;
/* rgb */ color: rgb(29, 62, 121);
/* oklch */ color: oklch(37.4% 0.108 261.0);
Tailwind
colors: {
  custom: {
    50: '#6772a0',
    500: '#1d3e79',
    950: '#000000',
  },
}
SCSS
$custom: #1d3e79;
$custom-light: #6772a0;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3e79",
  "rgb": {
    "r": 29,
    "g": 62,
    "b": 121
  },
  "hsl": {
    "h": 218.478,
    "s": 61.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.37382,
    "c": 0.10803,
    "h": 261
  },
  "luminance": 0.05087
}

Semantic roles & 50–950 ramp

primary
#1D3E79
secondary
#AD8845
accent
#AB43E4
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#07080F
muted
#7A7B7E

Preview Lab

Preview with #1D3E79

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

Preview Lab → · Contrast checker → · Palette generator →

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