#1D3C96#1D3C96

#1D3C96 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.3% C 0.152 H 265.3°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#1D3C96
RGBrgb(29, 60, 150)
HSLhsl(225, 68%, 35%)
HSVhsv(225, 81%, 59%)
CMYKcmyk(80.7%, 60%, 0%, 41.2%)
CIE-LABlab(28.63, 23.29, -52.54)
CIE-LCHlch(28.63, 57.47, 293.91°)
OKLaboklab(39.34% -0.0124 -0.1518)
OKLCHoklch(39.34% 0.152 265.3)
XYZxyz(7.6256, 5.6940, 29.5454)
Luminance0.0570 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3C96 #96771D
analogous
#1D7996 #1D3C96 #3A1D96
triadic
#1D3C96 #961D3C #3C961D
tetradic
#1D3C96 #961D79 #96771D #1D963A
square
#1D3C96 #961D79 #96771D #1D963A
split-complementary
#1D3C96 #963A1D #79961D
monochromatic
#09132F #132763 #1D3C96 #2751C9 #5074DD

Accessibility & contrast

On white

9.82
#1D3C96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#1D3C96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3C96
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3C96#FFFFFF#000000##FFFFFF
##1D3C961.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004999
Deuteranopia (green-blind)
#003E94
Tritanopia (blue-blind)
#005363
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #1d3c96;
/* rgb */ color: rgb(29, 60, 150);
/* oklch */ color: oklch(39.3% 0.152 265.3);
Tailwind
colors: {
  custom: {
    50: '#6e71b6',
    500: '#1d3c96',
    950: '#000000',
  },
}
SCSS
$custom: #1d3c96;
$custom-light: #6e71b6;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3c96",
  "rgb": {
    "r": 29,
    "g": 60,
    "b": 150
  },
  "hsl": {
    "h": 224.628,
    "s": 67.598,
    "l": 35.098
  },
  "oklch": {
    "l": 0.39335,
    "c": 0.15233,
    "h": 265.3
  },
  "luminance": 0.05695
}

Semantic roles & 50–950 ramp

primary
#1D3C96
secondary
#C0A34F
accent
#BE3DEA
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #1D3C96

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

Preview Lab → · Contrast checker → · Palette generator →

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