#1D3E71#1D3E71

#1D3E71 is a dark, moderate blue. Relative luminance 0.049; OKLCH L 36.8% C 0.096 H 258.9°. Best body text is #FFFFFF at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#1D3E71
RGBrgb(29, 62, 113)
HSLhsl(216, 59%, 28%)
HSVhsv(216, 74%, 44%)
CMYKcmyk(74.3%, 45.1%, 0%, 55.7%)
CIE-LABlab(26.44, 6.98, -33.00)
CIE-LCHlch(26.44, 33.73, 281.94°)
OKLaboklab(36.8% -0.0185 -0.0943)
OKLCHoklch(36.8% 0.096 258.9)
XYZxyz(5.2089, 4.8982, 16.2905)
Luminance0.0490 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3E71 #71501D
analogous
#1D6871 #1D3E71 #261D71
triadic
#1D3E71 #711D3E #3E711D
tetradic
#1D3E71 #711D68 #71501D #1D7126
square
#1D3E71 #711D68 #71501D #1D7126
split-complementary
#1D3E71 #71261D #68711D
monochromatic
#060D18 #112340 #1D3E71 #2959A2 #3C75CD

Accessibility & contrast

On white

10.61
#1D3E71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#1D3E71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3E71
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3E71#FFFFFF#000000##FFFFFF
##1D3E711.0010.611.9810.61
#FFFFFF10.611.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254373
Deuteranopia (green-blind)
#173B70
Tritanopia (blue-blind)
#004A52
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #1d3e71;
/* rgb */ color: rgb(29, 62, 113);
/* oklch */ color: oklch(36.8% 0.096 258.9);
Tailwind
colors: {
  custom: {
    50: '#65729a',
    500: '#1d3e71',
    950: '#000000',
  },
}
SCSS
$custom: #1d3e71;
$custom-light: #65729a;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3e71",
  "rgb": {
    "r": 29,
    "g": 62,
    "b": 113
  },
  "hsl": {
    "h": 216.429,
    "s": 59.155,
    "l": 27.843
  },
  "oklch": {
    "l": 0.36796,
    "c": 0.09613,
    "h": 258.9
  },
  "luminance": 0.04899
}

Semantic roles & 50–950 ramp

primary
#1D3E71
secondary
#A57F44
accent
#A545E2
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06080E
muted
#7A7B7E

Preview Lab

Preview with #1D3E71

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

Preview Lab → · Contrast checker → · Palette generator →

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