#1D3777#1D3777

#1D3777 is a dark, moderate blue. Relative luminance 0.043; OKLCH L 35.6% C 0.114 H 264.6°. Best body text is #FFFFFF at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#1D3777
RGBrgb(29, 55, 119)
HSLhsl(223, 61%, 29%)
HSVhsv(223, 76%, 47%)
CMYKcmyk(75.6%, 53.8%, 0%, 53.3%)
CIE-LABlab(24.72, 14.32, -39.58)
CIE-LCHlch(24.72, 42.09, 289.89°)
OKLaboklab(35.61% -0.0108 -0.1138)
OKLCHoklch(35.61% 0.114 264.6)
XYZxyz(5.2015, 4.3249, 18.0099)
Luminance0.0432 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3777 #775D1D
analogous
#1D6477 #1D3777 #301D77
triadic
#1D3777 #771D37 #37771D
tetradic
#1D3777 #771D64 #775D1D #1D7730
square
#1D3777 #771D64 #775D1D #1D7730
split-complementary
#1D3777 #77301D #64771D
monochromatic
#060B19 #112046 #1D3777 #294EA8 #3E68D0

Accessibility & contrast

On white

11.26
#1D3777 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#1D3777 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3777
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3777#FFFFFF#000000##FFFFFF
##1D37771.0011.261.8711.26
#FFFFFF11.261.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E3F79
Deuteranopia (green-blind)
#003776
Tritanopia (blue-blind)
#004651
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #1d3777;
/* rgb */ color: rgb(29, 55, 119);
/* oklch */ color: oklch(35.6% 0.114 264.6);
Tailwind
colors: {
  custom: {
    50: '#666d9f',
    500: '#1d3777',
    950: '#000000',
  },
}
SCSS
$custom: #1d3777;
$custom-light: #666d9f;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3777",
  "rgb": {
    "r": 29,
    "g": 55,
    "b": 119
  },
  "hsl": {
    "h": 222.667,
    "s": 60.811,
    "l": 29.02
  },
  "oklch": {
    "l": 0.35608,
    "c": 0.11434,
    "h": 264.6
  },
  "luminance": 0.04325
}

Semantic roles & 50–950 ramp

primary
#1D3777
secondary
#AB8D45
accent
#B644E4
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #1D3777

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

Preview Lab → · Contrast checker → · Palette generator →

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