#1D3472#1D3472

#1D3472 is a dark, moderate blue. Relative luminance 0.039; OKLCH L 34.5% C 0.111 H 265.6°. Best body text is #FFFFFF at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#1D3472
RGBrgb(29, 52, 114)
HSLhsl(224, 59%, 28%)
HSVhsv(224, 75%, 45%)
CMYKcmyk(74.6%, 54.4%, 0%, 55.3%)
CIE-LABlab(23.44, 14.42, -38.46)
CIE-LCHlch(23.44, 41.07, 290.56°)
OKLaboklab(34.52% -0.0086 -0.1106)
OKLCHoklch(34.52% 0.111 265.6)
XYZxyz(4.7709, 3.9316, 16.4238)
Luminance0.0393 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3472 #725B1D
analogous
#1D5E72 #1D3472 #301D72
triadic
#1D3472 #721D34 #34721D
tetradic
#1D3472 #721D5E #725B1D #1D7230
square
#1D3472 #721D5E #725B1D #1D7230
split-complementary
#1D3472 #72301D #5E721D
monochromatic
#060B18 #111E41 #1D3472 #294AA3 #3C63CD

Accessibility & contrast

On white

11.76
#1D3472 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#1D3472 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3472
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3472#FFFFFF#000000##FFFFFF
##1D34721.0011.761.7911.76
#FFFFFF11.761.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C3C74
Deuteranopia (green-blind)
#003471
Tritanopia (blue-blind)
#00434D
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #1d3472;
/* rgb */ color: rgb(29, 52, 114);
/* oklch */ color: oklch(34.5% 0.111 265.6);
Tailwind
colors: {
  custom: {
    50: '#656b9b',
    500: '#1d3472',
    950: '#000000',
  },
}
SCSS
$custom: #1d3472;
$custom-light: #656b9b;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3472",
  "rgb": {
    "r": 29,
    "g": 52,
    "b": 114
  },
  "hsl": {
    "h": 223.765,
    "s": 59.441,
    "l": 28.039
  },
  "oklch": {
    "l": 0.3452,
    "c": 0.1109,
    "h": 265.6
  },
  "luminance": 0.03932
}

Semantic roles & 50–950 ramp

primary
#1D3472
secondary
#A68C45
accent
#B845E3
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #1D3472

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

Preview Lab → · Contrast checker → · Palette generator →

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