#1D3372#1D3372

#1D3372 is a dark, moderate blue. Relative luminance 0.038; OKLCH L 34.3% C 0.112 H 266.1°. Best body text is #FFFFFF at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#1D3372
RGBrgb(29, 51, 114)
HSLhsl(224, 59%, 28%)
HSVhsv(224, 75%, 45%)
CMYKcmyk(74.6%, 55.3%, 0%, 55.3%)
CIE-LABlab(23.15, 15.13, -38.94)
CIE-LCHlch(23.15, 41.78, 291.24°)
OKLaboklab(34.29% -0.0077 -0.112)
OKLCHoklch(34.29% 0.112 266.1)
XYZxyz(4.7267, 3.8433, 16.4090)
Luminance0.0384 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3372 #725C1D
analogous
#1D5D72 #1D3372 #321D72
triadic
#1D3372 #721D33 #33721D
tetradic
#1D3372 #721D5D #725C1D #1D7232
square
#1D3372 #721D5D #725C1D #1D7232
split-complementary
#1D3372 #72321D #5D721D
monochromatic
#060B18 #111D41 #1D3372 #2949A3 #3C62CD

Accessibility & contrast

On white

11.87
#1D3372 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#1D3372 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3372
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3372#FFFFFF#000000##FFFFFF
##1D33721.0011.871.7711.87
#FFFFFF11.871.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#073B74
Deuteranopia (green-blind)
#003371
Tritanopia (blue-blind)
#00424D
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1d3372;
/* rgb */ color: rgb(29, 51, 114);
/* oklch */ color: oklch(34.3% 0.112 266.1);
Tailwind
colors: {
  custom: {
    50: '#656a9b',
    500: '#1d3372',
    950: '#000000',
  },
}
SCSS
$custom: #1d3372;
$custom-light: #656a9b;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3372",
  "rgb": {
    "r": 29,
    "g": 51,
    "b": 114
  },
  "hsl": {
    "h": 224.471,
    "s": 59.441,
    "l": 28.039
  },
  "oklch": {
    "l": 0.34295,
    "c": 0.11226,
    "h": 266.1
  },
  "luminance": 0.03844
}

Semantic roles & 50–950 ramp

primary
#1D3372
secondary
#A68D45
accent
#BA45E3
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #1D3372

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

Preview Lab → · Contrast checker → · Palette generator →

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