#1D3776#1D3776

#1D3776 is a dark, moderate blue. Relative luminance 0.043; OKLCH L 35.5% C 0.113 H 264.5°. Best body text is #FFFFFF at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#1D3776
RGBrgb(29, 55, 118)
HSLhsl(222, 61%, 29%)
HSVhsv(222, 75%, 46%)
CMYKcmyk(75.4%, 53.4%, 0%, 53.7%)
CIE-LABlab(24.64, 13.92, -39.07)
CIE-LCHlch(24.64, 41.47, 289.61°)
OKLaboklab(35.53% -0.0109 -0.1123)
OKLCHoklch(35.53% 0.113 264.5)
XYZxyz(5.1417, 4.3010, 17.6952)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3776 #765C1D
analogous
#1D6476 #1D3776 #301D76
triadic
#1D3776 #761D37 #37761D
tetradic
#1D3776 #761D64 #765C1D #1D7630
square
#1D3776 #761D64 #765C1D #1D7630
split-complementary
#1D3776 #76301D #64761D
monochromatic
#060B19 #112045 #1D3776 #294EA7 #3E68D0

Accessibility & contrast

On white

11.29
#1D3776 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#1D3776 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3776
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3776#FFFFFF#000000##FFFFFF
##1D37761.0011.291.8611.29
#FFFFFF11.291.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F3F78
Deuteranopia (green-blind)
#003775
Tritanopia (blue-blind)
#004651
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #1d3776;
/* rgb */ color: rgb(29, 55, 118);
/* oklch */ color: oklch(35.5% 0.113 264.5);
Tailwind
colors: {
  custom: {
    50: '#666d9e',
    500: '#1d3776',
    950: '#000000',
  },
}
SCSS
$custom: #1d3776;
$custom-light: #666d9e;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3776",
  "rgb": {
    "r": 29,
    "g": 55,
    "b": 118
  },
  "hsl": {
    "h": 222.472,
    "s": 60.544,
    "l": 28.824
  },
  "oklch": {
    "l": 0.35527,
    "c": 0.11285,
    "h": 264.5
  },
  "luminance": 0.04302
}

Semantic roles & 50–950 ramp

primary
#1D3776
secondary
#AA8C45
accent
#B544E4
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #1D3776

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

Preview Lab → · Contrast checker → · Palette generator →

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