#1D3D71#1D3D71

#1D3D71 is a dark, moderate blue. Relative luminance 0.048; OKLCH L 36.6% C 0.097 H 259.7°. Best body text is #FFFFFF at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#1D3D71
RGBrgb(29, 61, 113)
HSLhsl(217, 59%, 28%)
HSVhsv(217, 74%, 44%)
CMYKcmyk(74.3%, 46%, 0%, 55.7%)
CIE-LABlab(26.13, 7.67, -33.50)
CIE-LCHlch(26.13, 34.37, 282.90°)
OKLaboklab(36.55% -0.0175 -0.0958)
OKLCHoklch(36.55% 0.097 259.7)
XYZxyz(5.1550, 4.7904, 16.2725)
Luminance0.0479 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3D71 #71511D
analogous
#1D6771 #1D3D71 #271D71
triadic
#1D3D71 #711D3D #3D711D
tetradic
#1D3D71 #711D67 #71511D #1D7127
square
#1D3D71 #711D67 #71511D #1D7127
split-complementary
#1D3D71 #71271D #67711D
monochromatic
#060D18 #112340 #1D3D71 #2957A2 #3C73CD

Accessibility & contrast

On white

10.72
#1D3D71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#1D3D71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3D71
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3D71#FFFFFF#000000##FFFFFF
##1D3D711.0010.721.9610.72
#FFFFFF10.721.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234273
Deuteranopia (green-blind)
#143A70
Tritanopia (blue-blind)
#004951
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #1d3d71;
/* rgb */ color: rgb(29, 61, 113);
/* oklch */ color: oklch(36.6% 0.097 259.7);
Tailwind
colors: {
  custom: {
    50: '#65729a',
    500: '#1d3d71',
    950: '#000000',
  },
}
SCSS
$custom: #1d3d71;
$custom-light: #65729a;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3d71",
  "rgb": {
    "r": 29,
    "g": 61,
    "b": 113
  },
  "hsl": {
    "h": 217.143,
    "s": 59.155,
    "l": 27.843
  },
  "oklch": {
    "l": 0.36553,
    "c": 0.0974,
    "h": 259.7
  },
  "luminance": 0.04791
}

Semantic roles & 50–950 ramp

primary
#1D3D71
secondary
#A58044
accent
#A745E2
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #1D3D71

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

Preview Lab → · Contrast checker → · Palette generator →

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