#1D3A96#1D3A96

#1D3A96 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 38.9% C 0.155 H 265.9°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#1D3A96
RGBrgb(29, 58, 150)
HSLhsl(226, 68%, 35%)
HSVhsv(226, 81%, 59%)
CMYKcmyk(80.7%, 61.3%, 0%, 41.2%)
CIE-LABlab(28.08, 24.66, -53.42)
CIE-LCHlch(28.08, 58.84, 294.78°)
OKLaboklab(38.93% -0.0111 -0.1545)
OKLCHoklch(38.93% 0.155 265.9)
XYZxyz(7.5228, 5.4885, 29.5111)
Luminance0.0549 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3A96 #96791D
analogous
#1D7696 #1D3A96 #3D1D96
triadic
#1D3A96 #961D3A #3A961D
tetradic
#1D3A96 #961D76 #96791D #1D963D
square
#1D3A96 #961D76 #96791D #1D963D
split-complementary
#1D3A96 #963D1D #76961D
monochromatic
#09122F #132663 #1D3A96 #274EC9 #5072DD

Accessibility & contrast

On white

10.01
#1D3A96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#1D3A96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3A96
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3A96#FFFFFF#000000##FFFFFF
##1D3A961.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004899
Deuteranopia (green-blind)
#003D94
Tritanopia (blue-blind)
#005262
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #1d3a96;
/* rgb */ color: rgb(29, 58, 150);
/* oklch */ color: oklch(38.9% 0.155 265.9);
Tailwind
colors: {
  custom: {
    50: '#6e6fb6',
    500: '#1d3a96',
    950: '#000000',
  },
}
SCSS
$custom: #1d3a96;
$custom-light: #6e6fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3a96",
  "rgb": {
    "r": 29,
    "g": 58,
    "b": 150
  },
  "hsl": {
    "h": 225.62,
    "s": 67.598,
    "l": 35.098
  },
  "oklch": {
    "l": 0.38929,
    "c": 0.15486,
    "h": 265.9
  },
  "luminance": 0.05489
}

Semantic roles & 50–950 ramp

primary
#1D3A96
secondary
#C0A54F
accent
#C13DEA
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #1D3A96

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

Preview Lab → · Contrast checker → · Palette generator →

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