#1D3D72#1D3D72

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

Color values

HEX#1D3D72
RGBrgb(29, 61, 114)
HSLhsl(217, 59%, 28%)
HSVhsv(217, 75%, 45%)
CMYKcmyk(74.6%, 46.5%, 0%, 55.3%)
CIE-LABlab(26.20, 8.08, -34.03)
CIE-LCHlch(26.20, 34.98, 283.35°)
OKLaboklab(36.63% -0.0173 -0.0974)
OKLCHoklch(36.63% 0.099 259.9)
XYZxyz(5.2116, 4.8130, 16.5707)
Luminance0.0481 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3D72 #72521D
analogous
#1D6772 #1D3D72 #271D72
triadic
#1D3D72 #721D3D #3D721D
tetradic
#1D3D72 #721D67 #72521D #1D7227
square
#1D3D72 #721D67 #72521D #1D7227
split-complementary
#1D3D72 #72271D #67721D
monochromatic
#060D18 #112341 #1D3D72 #2957A3 #3C73CD

Accessibility & contrast

On white

10.70
#1D3D72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D3D72
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3D72#FFFFFF#000000##FFFFFF
##1D3D721.0010.701.9610.70
#FFFFFF10.701.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234274
Deuteranopia (green-blind)
#133A71
Tritanopia (blue-blind)
#004952
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #1d3d72;
/* rgb */ color: rgb(29, 61, 114);
/* oklch */ color: oklch(36.6% 0.099 259.9);
Tailwind
colors: {
  custom: {
    50: '#65729b',
    500: '#1d3d72',
    950: '#000000',
  },
}
SCSS
$custom: #1d3d72;
$custom-light: #65729b;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3d72",
  "rgb": {
    "r": 29,
    "g": 61,
    "b": 114
  },
  "hsl": {
    "h": 217.412,
    "s": 59.441,
    "l": 28.039
  },
  "oklch": {
    "l": 0.36626,
    "c": 0.0989,
    "h": 259.9
  },
  "luminance": 0.04814
}

Semantic roles & 50–950 ramp

primary
#1D3D72
secondary
#A68145
accent
#A745E3
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #1D3D72

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

Preview Lab → · Contrast checker → · Palette generator →

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