#1D3780#1D3780

#1D3780 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.4% C 0.128 H 265.5°. Best body text is #FFFFFF at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#1D3780
RGBrgb(29, 55, 128)
HSLhsl(224, 63%, 31%)
HSVhsv(224, 77%, 50%)
CMYKcmyk(77.3%, 57%, 0%, 49.8%)
CIE-LABlab(25.42, 17.96, -44.13)
CIE-LCHlch(25.42, 47.65, 292.15°)
OKLaboklab(36.36% -0.0099 -0.1272)
OKLCHoklch(36.36% 0.128 265.5)
XYZxyz(5.7678, 4.5515, 20.9924)
Luminance0.0455 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3780 #80661D
analogous
#1D6880 #1D3780 #341D80
triadic
#1D3780 #801D37 #37801D
tetradic
#1D3780 #801D68 #80661D #1D8034
square
#1D3780 #801D68 #80661D #1D8034
split-complementary
#1D3780 #80341D #68801D
monochromatic
#060C1C #12224E #1D3780 #284CB2 #4369D4

Accessibility & contrast

On white

10.99
#1D3780 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#1D3780 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3780
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3780#FFFFFF#000000##FFFFFF
##1D37801.0010.991.9110.99
#FFFFFF10.991.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004183
Deuteranopia (green-blind)
#00387F
Tritanopia (blue-blind)
#004956
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #1d3780;
/* rgb */ color: rgb(29, 55, 128);
/* oklch */ color: oklch(36.4% 0.128 265.5);
Tailwind
colors: {
  custom: {
    50: '#696da5',
    500: '#1d3780',
    950: '#000000',
  },
}
SCSS
$custom: #1d3780;
$custom-light: #696da5;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3780",
  "rgb": {
    "r": 29,
    "g": 55,
    "b": 128
  },
  "hsl": {
    "h": 224.242,
    "s": 63.057,
    "l": 30.784
  },
  "oklch": {
    "l": 0.36358,
    "c": 0.1276,
    "h": 265.5
  },
  "luminance": 0.04552
}

Semantic roles & 50–950 ramp

primary
#1D3780
secondary
#B39645
accent
#BB42E6
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #1D3780

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

Preview Lab → · Contrast checker → · Palette generator →

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