#1D3D96#1D3D96

#1D3D96 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.5% C 0.151 H 265.0°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#1D3D96
RGBrgb(29, 61, 150)
HSLhsl(224, 68%, 35%)
HSVhsv(224, 81%, 59%)
CMYKcmyk(80.7%, 59.3%, 0%, 41.2%)
CIE-LABlab(28.90, 22.61, -52.09)
CIE-LCHlch(28.90, 56.78, 293.46°)
OKLaboklab(39.54% -0.0131 -0.1505)
OKLCHoklch(39.54% 0.151 265)
XYZxyz(7.6785, 5.7998, 29.5630)
Luminance0.0580 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3D96 #96761D
analogous
#1D7A96 #1D3D96 #391D96
triadic
#1D3D96 #961D3D #3D961D
tetradic
#1D3D96 #961D7A #96761D #1D9639
square
#1D3D96 #961D7A #96761D #1D9639
split-complementary
#1D3D96 #96391D #7A961D
monochromatic
#09132F #132863 #1D3D96 #2752C9 #5075DD

Accessibility & contrast

On white

9.72
#1D3D96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#1D3D96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3D96
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3D96#FFFFFF#000000##FFFFFF
##1D3D961.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A99
Deuteranopia (green-blind)
#003F94
Tritanopia (blue-blind)
#005363
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1d3d96;
/* rgb */ color: rgb(29, 61, 150);
/* oklch */ color: oklch(39.5% 0.151 265.0);
Tailwind
colors: {
  custom: {
    50: '#6e72b6',
    500: '#1d3d96',
    950: '#000000',
  },
}
SCSS
$custom: #1d3d96;
$custom-light: #6e72b6;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3d96",
  "rgb": {
    "r": 29,
    "g": 61,
    "b": 150
  },
  "hsl": {
    "h": 224.132,
    "s": 67.598,
    "l": 35.098
  },
  "oklch": {
    "l": 0.39541,
    "c": 0.15106,
    "h": 265
  },
  "luminance": 0.05801
}

Semantic roles & 50–950 ramp

primary
#1D3D96
secondary
#C0A24F
accent
#BD3DEA
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #1D3D96

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

Preview Lab → · Contrast checker → · Palette generator →

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