#1D3D79#1D3D79

#1D3D79 is a dark, moderate blue. Relative luminance 0.050; OKLCH L 37.1% C 0.109 H 261.6°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#1D3D79
RGBrgb(29, 61, 121)
HSLhsl(219, 61%, 29%)
HSVhsv(219, 76%, 47%)
CMYKcmyk(76%, 49.6%, 0%, 52.5%)
CIE-LABlab(26.67, 10.92, -37.69)
CIE-LCHlch(26.67, 39.24, 286.15°)
OKLaboklab(37.15% -0.016 -0.1082)
OKLCHoklch(37.15% 0.109 261.6)
XYZxyz(5.6254, 4.9786, 18.7499)
Luminance0.0498 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3D79 #79591D
analogous
#1D6B79 #1D3D79 #2B1D79
triadic
#1D3D79 #791D3D #3D791D
tetradic
#1D3D79 #791D6B #79591D #1D792B
square
#1D3D79 #791D6B #79591D #1D792B
split-complementary
#1D3D79 #792B1D #6B791D
monochromatic
#060C19 #112448 #1D3D79 #2956AA #3F72D1

Accessibility & contrast

On white

10.52
#1D3D79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#1D3D79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3D79
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3D79#FFFFFF#000000##FFFFFF
##1D3D791.0010.522.0010.52
#FFFFFF10.521.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C447B
Deuteranopia (green-blind)
#043B78
Tritanopia (blue-blind)
#004B55
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #1d3d79;
/* rgb */ color: rgb(29, 61, 121);
/* oklch */ color: oklch(37.1% 0.109 261.6);
Tailwind
colors: {
  custom: {
    50: '#6772a0',
    500: '#1d3d79',
    950: '#000000',
  },
}
SCSS
$custom: #1d3d79;
$custom-light: #6772a0;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3d79",
  "rgb": {
    "r": 29,
    "g": 61,
    "b": 121
  },
  "hsl": {
    "h": 219.13,
    "s": 61.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.37148,
    "c": 0.10934,
    "h": 261.6
  },
  "luminance": 0.04979
}

Semantic roles & 50–950 ramp

primary
#1D3D79
secondary
#AD8945
accent
#AC43E4
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#07070F
muted
#7A7A7E

Preview Lab

Preview with #1D3D79

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

Preview Lab → · Contrast checker → · Palette generator →

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