#1D3773#1D3773

#1D3773 is a dark, moderate blue. Relative luminance 0.042; OKLCH L 35.3% C 0.108 H 264.0°. Best body text is #FFFFFF at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#1D3773
RGBrgb(29, 55, 115)
HSLhsl(222, 60%, 28%)
HSVhsv(222, 75%, 45%)
CMYKcmyk(74.8%, 52.2%, 0%, 54.9%)
CIE-LABlab(24.42, 12.70, -37.52)
CIE-LCHlch(24.42, 39.61, 288.70°)
OKLaboklab(35.29% -0.0113 -0.1077)
OKLCHoklch(35.29% 0.108 264)
XYZxyz(4.9663, 4.2309, 16.7712)
Luminance0.0423 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3773 #73591D
analogous
#1D6273 #1D3773 #2E1D73
triadic
#1D3773 #731D37 #37731D
tetradic
#1D3773 #731D62 #73591D #1D732E
square
#1D3773 #731D62 #73591D #1D732E
split-complementary
#1D3773 #732E1D #62731D
monochromatic
#060C18 #112042 #1D3773 #294EA4 #3C68CE

Accessibility & contrast

On white

11.37
#1D3773 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#1D3773 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3773
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3773#FFFFFF#000000##FFFFFF
##1D37731.0011.371.8511.37
#FFFFFF11.371.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#143E75
Deuteranopia (green-blind)
#003672
Tritanopia (blue-blind)
#00454F
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #1d3773;
/* rgb */ color: rgb(29, 55, 115);
/* oklch */ color: oklch(35.3% 0.108 264.0);
Tailwind
colors: {
  custom: {
    50: '#656d9c',
    500: '#1d3773',
    950: '#000000',
  },
}
SCSS
$custom: #1d3773;
$custom-light: #656d9c;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3773",
  "rgb": {
    "r": 29,
    "g": 55,
    "b": 115
  },
  "hsl": {
    "h": 221.86,
    "s": 59.722,
    "l": 28.235
  },
  "oklch": {
    "l": 0.35287,
    "c": 0.10834,
    "h": 264
  },
  "luminance": 0.04231
}

Semantic roles & 50–950 ramp

primary
#1D3773
secondary
#A78945
accent
#B345E3
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #1D3773

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

Preview Lab → · Contrast checker → · Palette generator →

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