#1D3583#1D3583

#1D3583 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.2% C 0.135 H 266.5°. Best body text is #FFFFFF at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#1D3583
RGBrgb(29, 53, 131)
HSLhsl(226, 64%, 31%)
HSVhsv(226, 78%, 51%)
CMYKcmyk(77.9%, 59.5%, 0%, 48.6%)
CIE-LABlab(25.09, 20.57, -46.54)
CIE-LCHlch(25.09, 50.88, 293.85°)
OKLaboklab(36.19% -0.0082 -0.1343)
OKLCHoklch(36.19% 0.135 266.5)
XYZxyz(5.8751, 4.4455, 22.0168)
Luminance0.0445 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3583 #836B1D
analogous
#1D6883 #1D3583 #381D83
triadic
#1D3583 #831D35 #35831D
tetradic
#1D3583 #831D68 #836B1D #1D8338
square
#1D3583 #831D68 #836B1D #1D8338
split-complementary
#1D3583 #83381D #68831D
monochromatic
#070C1F #122151 #1D3583 #2849B5 #4567D6

Accessibility & contrast

On white

11.12
#1D3583 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#1D3583 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3583
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3583#FFFFFF#000000##FFFFFF
##1D35831.0011.121.8911.12
#FFFFFF11.121.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004086
Deuteranopia (green-blind)
#003781
Tritanopia (blue-blind)
#004856
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #1d3583;
/* rgb */ color: rgb(29, 53, 131);
/* oklch */ color: oklch(36.2% 0.135 266.5);
Tailwind
colors: {
  custom: {
    50: '#6a6ba8',
    500: '#1d3583',
    950: '#000000',
  },
}
SCSS
$custom: #1d3583;
$custom-light: #6a6ba8;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3583",
  "rgb": {
    "r": 29,
    "g": 53,
    "b": 131
  },
  "hsl": {
    "h": 225.882,
    "s": 63.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.36192,
    "c": 0.13457,
    "h": 266.5
  },
  "luminance": 0.04446
}

Semantic roles & 50–950 ramp

primary
#1D3583
secondary
#B69C46
accent
#C041E7
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070610
muted
#7A7A7F

Preview Lab

Preview with #1D3583

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

Preview Lab → · Contrast checker → · Palette generator →

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