#1D3585#1D3585

#1D3585 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.4% C 0.137 H 266.6°. Best body text is #FFFFFF at 11.05:1 contrast (WCAG AA passes).

Color values

HEX#1D3585
RGBrgb(29, 53, 133)
HSLhsl(226, 64%, 32%)
HSVhsv(226, 78%, 52%)
CMYKcmyk(78.2%, 60.2%, 0%, 47.8%)
CIE-LABlab(25.26, 21.37, -47.52)
CIE-LCHlch(25.26, 52.10, 294.22°)
OKLaboklab(36.37% -0.0081 -0.1372)
OKLCHoklch(36.37% 0.137 266.6)
XYZxyz(6.0120, 4.5002, 22.7375)
Luminance0.0450 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3585 #856D1D
analogous
#1D6985 #1D3585 #391D85
triadic
#1D3585 #851D35 #35851D
tetradic
#1D3585 #851D69 #856D1D #1D8539
square
#1D3585 #851D69 #856D1D #1D8539
split-complementary
#1D3585 #85391D #69851D
monochromatic
#070D21 #122153 #1D3585 #2849B7 #4667D7

Accessibility & contrast

On white

11.05
#1D3585 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#1D3585 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3585
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3585#FFFFFF#000000##FFFFFF
##1D35851.0011.051.9011.05
#FFFFFF11.051.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004188
Deuteranopia (green-blind)
#003783
Tritanopia (blue-blind)
#004957
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #1d3585;
/* rgb */ color: rgb(29, 53, 133);
/* oklch */ color: oklch(36.4% 0.137 266.6);
Tailwind
colors: {
  custom: {
    50: '#6a6ba9',
    500: '#1d3585',
    950: '#000000',
  },
}
SCSS
$custom: #1d3585;
$custom-light: #6a6ba9;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3585",
  "rgb": {
    "r": 29,
    "g": 53,
    "b": 133
  },
  "hsl": {
    "h": 226.154,
    "s": 64.198,
    "l": 31.765
  },
  "oklch": {
    "l": 0.3637,
    "c": 0.13743,
    "h": 266.6
  },
  "luminance": 0.04501
}

Semantic roles & 50–950 ramp

primary
#1D3585
secondary
#B89E46
accent
#C141E7
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070610
muted
#7A7A7F

Preview Lab

Preview with #1D3585

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

Preview Lab → · Contrast checker → · Palette generator →

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