#1D3971#1D3971

#1D3971 is a dark, moderate blue. Relative luminance 0.044; OKLCH L 35.6% C 0.103 H 262.4°. Best body text is #FFFFFF at 11.19:1 contrast (WCAG AA passes).

Color values

HEX#1D3971
RGBrgb(29, 57, 113)
HSLhsl(220, 59%, 28%)
HSVhsv(220, 74%, 44%)
CMYKcmyk(74.3%, 49.6%, 0%, 55.7%)
CIE-LABlab(24.89, 10.47, -35.49)
CIE-LCHlch(24.89, 37.00, 286.44°)
OKLaboklab(35.6% -0.0135 -0.1017)
OKLCHoklch(35.6% 0.103 262.4)
XYZxyz(4.9494, 4.3792, 16.2040)
Luminance0.0438 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3971 #71551D
analogous
#1D6371 #1D3971 #2B1D71
triadic
#1D3971 #711D39 #39711D
tetradic
#1D3971 #711D63 #71551D #1D712B
square
#1D3971 #711D63 #71551D #1D712B
split-complementary
#1D3971 #712B1D #63711D
monochromatic
#060C18 #112040 #1D3971 #2952A2 #3C6CCD

Accessibility & contrast

On white

11.19
#1D3971 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#1D3971 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3971
11.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3971#FFFFFF#000000##FFFFFF
##1D39711.0011.191.8811.19
#FFFFFF11.191.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B3F73
Deuteranopia (green-blind)
#073770
Tritanopia (blue-blind)
#00464F
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #1d3971;
/* rgb */ color: rgb(29, 57, 113);
/* oklch */ color: oklch(35.6% 0.103 262.4);
Tailwind
colors: {
  custom: {
    50: '#656e9a',
    500: '#1d3971',
    950: '#000000',
  },
}
SCSS
$custom: #1d3971;
$custom-light: #656e9a;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3971",
  "rgb": {
    "r": 29,
    "g": 57,
    "b": 113
  },
  "hsl": {
    "h": 220,
    "s": 59.155,
    "l": 27.843
  },
  "oklch": {
    "l": 0.35598,
    "c": 0.10264,
    "h": 262.4
  },
  "luminance": 0.0438
}

Semantic roles & 50–950 ramp

primary
#1D3971
secondary
#A58544
accent
#AE45E2
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #1D3971

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

Preview Lab → · Contrast checker → · Palette generator →

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