#1D3992#1D3992

#1D3992 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.4% C 0.151 H 266.0°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#1D3992
RGBrgb(29, 57, 146)
HSLhsl(226, 67%, 34%)
HSVhsv(226, 80%, 57%)
CMYKcmyk(80.1%, 61%, 0%, 42.7%)
CIE-LABlab(27.47, 23.77, -51.98)
CIE-LCHlch(27.47, 57.15, 294.57°)
OKLaboklab(38.36% -0.0105 -0.1502)
OKLCHoklch(38.36% 0.151 266)
XYZxyz(7.1563, 5.2620, 27.8271)
Luminance0.0526 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3992 #92761D
analogous
#1D7492 #1D3992 #3C1D92
triadic
#1D3992 #921D39 #39921D
tetradic
#1D3992 #921D74 #92761D #1D923C
square
#1D3992 #921D74 #92761D #1D923C
split-complementary
#1D3992 #923C1D #74921D
monochromatic
#09112C #13255F #1D3992 #274DC5 #4E70DC

Accessibility & contrast

On white

10.23
#1D3992 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#1D3992 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3992
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3992#FFFFFF#000000##FFFFFF
##1D39921.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004695
Deuteranopia (green-blind)
#003C90
Tritanopia (blue-blind)
#00505F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #1d3992;
/* rgb */ color: rgb(29, 57, 146);
/* oklch */ color: oklch(38.4% 0.151 266.0);
Tailwind
colors: {
  custom: {
    50: '#6d6fb3',
    500: '#1d3992',
    950: '#000000',
  },
}
SCSS
$custom: #1d3992;
$custom-light: #6d6fb3;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3992",
  "rgb": {
    "r": 29,
    "g": 57,
    "b": 146
  },
  "hsl": {
    "h": 225.641,
    "s": 66.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.38364,
    "c": 0.15059,
    "h": 266
  },
  "luminance": 0.05263
}

Semantic roles & 50–950 ramp

primary
#1D3992
secondary
#BEA34C
accent
#C13EEA
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #1D3992

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

Preview Lab → · Contrast checker → · Palette generator →

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