#1D3580#1D3580

#1D3580 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 35.9% C 0.130 H 266.3°. Best body text is #FFFFFF at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#1D3580
RGBrgb(29, 53, 128)
HSLhsl(225, 63%, 31%)
HSVhsv(225, 77%, 50%)
CMYKcmyk(77.3%, 58.6%, 0%, 49.8%)
CIE-LABlab(24.84, 19.37, -45.06)
CIE-LCHlch(24.84, 49.05, 293.26°)
OKLaboklab(35.93% -0.0083 -0.13)
OKLCHoklch(35.93% 0.13 266.3)
XYZxyz(5.6747, 4.3653, 20.9614)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3580 #80681D
analogous
#1D6680 #1D3580 #371D80
triadic
#1D3580 #801D35 #35801D
tetradic
#1D3580 #801D66 #80681D #1D8037
square
#1D3580 #801D66 #80681D #1D8037
split-complementary
#1D3580 #80371D #66801D
monochromatic
#060C1C #12204E #1D3580 #284AB2 #4366D4

Accessibility & contrast

On white

11.21
#1D3580 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D3580
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3580#FFFFFF#000000##FFFFFF
##1D35801.0011.211.8711.21
#FFFFFF11.211.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004083
Deuteranopia (green-blind)
#00377F
Tritanopia (blue-blind)
#004855
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #1d3580;
/* rgb */ color: rgb(29, 53, 128);
/* oklch */ color: oklch(35.9% 0.130 266.3);
Tailwind
colors: {
  custom: {
    50: '#696ba5',
    500: '#1d3580',
    950: '#000000',
  },
}
SCSS
$custom: #1d3580;
$custom-light: #696ba5;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3580",
  "rgb": {
    "r": 29,
    "g": 53,
    "b": 128
  },
  "hsl": {
    "h": 225.455,
    "s": 63.057,
    "l": 30.784
  },
  "oklch": {
    "l": 0.35927,
    "c": 0.13025,
    "h": 266.3
  },
  "luminance": 0.04366
}

Semantic roles & 50–950 ramp

primary
#1D3580
secondary
#B39945
accent
#BE42E6
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #1D3580

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

Preview Lab → · Contrast checker → · Palette generator →

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