#1D3377#1D3377

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

Color values

HEX#1D3377
RGBrgb(29, 51, 119)
HSLhsl(225, 61%, 29%)
HSVhsv(225, 76%, 47%)
CMYKcmyk(75.6%, 57.1%, 0%, 53.3%)
CIE-LABlab(23.54, 17.16, -41.49)
CIE-LCHlch(23.54, 44.90, 292.47°)
OKLaboklab(34.72% -0.0072 -0.1195)
OKLCHoklch(34.72% 0.12 266.5)
XYZxyz(5.0191, 3.9602, 17.9491)
Luminance0.0396 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3377 #77611D
analogous
#1D6077 #1D3377 #341D77
triadic
#1D3377 #771D33 #33771D
tetradic
#1D3377 #771D60 #77611D #1D7734
square
#1D3377 #771D60 #77611D #1D7734
split-complementary
#1D3377 #77341D #60771D
monochromatic
#060B19 #111E46 #1D3377 #2948A8 #3E62D0

Accessibility & contrast

On white

11.72
#1D3377 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D3377
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3377#FFFFFF#000000##FFFFFF
##1D33771.0011.721.7911.72
#FFFFFF11.721.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C79
Deuteranopia (green-blind)
#003476
Tritanopia (blue-blind)
#00444F
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #1d3377;
/* rgb */ color: rgb(29, 51, 119);
/* oklch */ color: oklch(34.7% 0.120 266.5);
Tailwind
colors: {
  custom: {
    50: '#676a9f',
    500: '#1d3377',
    950: '#000000',
  },
}
SCSS
$custom: #1d3377;
$custom-light: #676a9f;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3377",
  "rgb": {
    "r": 29,
    "g": 51,
    "b": 119
  },
  "hsl": {
    "h": 225.333,
    "s": 60.811,
    "l": 29.02
  },
  "oklch": {
    "l": 0.34716,
    "c": 0.11973,
    "h": 266.5
  },
  "luminance": 0.03961
}

Semantic roles & 50–950 ramp

primary
#1D3377
secondary
#AB9245
accent
#BD44E4
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #1D3377

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

Preview Lab → · Contrast checker → · Palette generator →

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