#1D3474#1D3474

#1D3474 is a dark, moderate blue. Relative luminance 0.040; OKLCH L 34.7% C 0.114 H 265.8°. Best body text is #FFFFFF at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#1D3474
RGBrgb(29, 52, 116)
HSLhsl(224, 60%, 28%)
HSVhsv(224, 75%, 45%)
CMYKcmyk(75%, 55.2%, 0%, 54.5%)
CIE-LABlab(23.60, 15.23, -39.49)
CIE-LCHlch(23.60, 42.32, 291.10°)
OKLaboklab(34.69% -0.0084 -0.1136)
OKLCHoklch(34.69% 0.114 265.8)
XYZxyz(4.8860, 3.9776, 17.0299)
Luminance0.0398 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3474 #745D1D
analogous
#1D5F74 #1D3474 #311D74
triadic
#1D3474 #741D34 #34741D
tetradic
#1D3474 #741D5F #745D1D #1D7431
square
#1D3474 #741D5F #745D1D #1D7431
split-complementary
#1D3474 #74311D #5F741D
monochromatic
#060B18 #111E43 #1D3474 #294AA5 #3D63CE

Accessibility & contrast

On white

11.70
#1D3474 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#1D3474 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3474
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3474#FFFFFF#000000##FFFFFF
##1D34741.0011.701.8011.70
#FFFFFF11.701.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#073C76
Deuteranopia (green-blind)
#003473
Tritanopia (blue-blind)
#00434E
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #1d3474;
/* rgb */ color: rgb(29, 52, 116);
/* oklch */ color: oklch(34.7% 0.114 265.8);
Tailwind
colors: {
  custom: {
    50: '#666b9c',
    500: '#1d3474',
    950: '#000000',
  },
}
SCSS
$custom: #1d3474;
$custom-light: #666b9c;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3474",
  "rgb": {
    "r": 29,
    "g": 52,
    "b": 116
  },
  "hsl": {
    "h": 224.138,
    "s": 60,
    "l": 28.431
  },
  "oklch": {
    "l": 0.34685,
    "c": 0.11391,
    "h": 265.8
  },
  "luminance": 0.03978
}

Semantic roles & 50–950 ramp

primary
#1D3474
secondary
#A88E45
accent
#B945E3
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #1D3474

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

Preview Lab → · Contrast checker → · Palette generator →

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