#1D3385#1D3385

#1D3385 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.0% C 0.140 H 267.3°. Best body text is #FFFFFF at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#1D3385
RGBrgb(29, 51, 133)
HSLhsl(227, 64%, 32%)
HSVhsv(227, 78%, 52%)
CMYKcmyk(78.2%, 61.7%, 0%, 47.8%)
CIE-LABlab(24.71, 22.76, -48.42)
CIE-LCHlch(24.71, 53.50, 295.18°)
OKLaboklab(35.96% -0.0066 -0.1399)
OKLCHoklch(35.96% 0.14 267.3)
XYZxyz(5.9227, 4.3217, 22.7078)
Luminance0.0432 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3385 #856F1D
analogous
#1D6785 #1D3385 #3B1D85
triadic
#1D3385 #851D33 #33851D
tetradic
#1D3385 #851D67 #856F1D #1D853B
square
#1D3385 #851D67 #856F1D #1D853B
split-complementary
#1D3385 #853B1D #67851D
monochromatic
#070C21 #122053 #1D3385 #2846B7 #4664D7

Accessibility & contrast

On white

11.26
#1D3385 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#1D3385 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3385
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3385#FFFFFF#000000##FFFFFF
##1D33851.0011.261.8611.26
#FFFFFF11.261.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004088
Deuteranopia (green-blind)
#003683
Tritanopia (blue-blind)
#004857
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #1d3385;
/* rgb */ color: rgb(29, 51, 133);
/* oklch */ color: oklch(36.0% 0.140 267.3);
Tailwind
colors: {
  custom: {
    50: '#6a6aa9',
    500: '#1d3385',
    950: '#000000',
  },
}
SCSS
$custom: #1d3385;
$custom-light: #6a6aa9;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3385",
  "rgb": {
    "r": 29,
    "g": 51,
    "b": 133
  },
  "hsl": {
    "h": 227.308,
    "s": 64.198,
    "l": 31.765
  },
  "oklch": {
    "l": 0.35957,
    "c": 0.14003,
    "h": 267.3
  },
  "luminance": 0.04322
}

Semantic roles & 50–950 ramp

primary
#1D3385
secondary
#B8A046
accent
#C441E7
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080610
muted
#7A7A7F

Preview Lab

Preview with #1D3385

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

Preview Lab → · Contrast checker → · Palette generator →

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