#1D3E96#1D3E96

#1D3E96 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.7% C 0.150 H 264.7°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#1D3E96
RGBrgb(29, 62, 150)
HSLhsl(224, 68%, 35%)
HSVhsv(224, 81%, 59%)
CMYKcmyk(80.7%, 58.7%, 0%, 41.2%)
CIE-LABlab(29.18, 21.92, -51.64)
CIE-LCHlch(29.18, 56.10, 293.00°)
OKLaboklab(39.75% -0.0138 -0.1492)
OKLCHoklch(39.75% 0.15 264.7)
XYZxyz(7.7324, 5.9076, 29.5810)
Luminance0.0591 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3E96 #96751D
analogous
#1D7B96 #1D3E96 #381D96
triadic
#1D3E96 #961D3E #3E961D
tetradic
#1D3E96 #961D7B #96751D #1D9638
square
#1D3E96 #961D7B #96751D #1D9638
split-complementary
#1D3E96 #96381D #7B961D
monochromatic
#09142F #132963 #1D3E96 #2753C9 #5077DD

Accessibility & contrast

On white

9.63
#1D3E96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#1D3E96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3E96
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3E96#FFFFFF#000000##FFFFFF
##1D3E961.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B99
Deuteranopia (green-blind)
#003F94
Tritanopia (blue-blind)
#005463
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #1d3e96;
/* rgb */ color: rgb(29, 62, 150);
/* oklch */ color: oklch(39.7% 0.150 264.7);
Tailwind
colors: {
  custom: {
    50: '#6e72b6',
    500: '#1d3e96',
    950: '#000000',
  },
}
SCSS
$custom: #1d3e96;
$custom-light: #6e72b6;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3e96",
  "rgb": {
    "r": 29,
    "g": 62,
    "b": 150
  },
  "hsl": {
    "h": 223.636,
    "s": 67.598,
    "l": 35.098
  },
  "oklch": {
    "l": 0.39748,
    "c": 0.1498,
    "h": 264.7
  },
  "luminance": 0.05908
}

Semantic roles & 50–950 ramp

primary
#1D3E96
secondary
#C0A14F
accent
#BB3DEA
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #1D3E96

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

Preview Lab → · Contrast checker → · Palette generator →

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