#1D3993#1D3993

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

Color values

HEX#1D3993
RGBrgb(29, 57, 147)
HSLhsl(226, 67%, 35%)
HSVhsv(226, 80%, 58%)
CMYKcmyk(80.3%, 61.2%, 0%, 42.4%)
CIE-LABlab(27.55, 24.16, -52.45)
CIE-LCHlch(27.55, 57.75, 294.74°)
OKLaboklab(38.46% -0.0105 -0.1516)
OKLCHoklch(38.46% 0.152 266)
XYZxyz(7.2344, 5.2932, 28.2385)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3993 #93771D
analogous
#1D7493 #1D3993 #3C1D93
triadic
#1D3993 #931D39 #39931D
tetradic
#1D3993 #931D74 #93771D #1D933C
square
#1D3993 #931D74 #93771D #1D933C
split-complementary
#1D3993 #933C1D #74931D
monochromatic
#09112D #132560 #1D3993 #274DC6 #4E70DC

Accessibility & contrast

On white

10.20
#1D3993 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#1D3993 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3993
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3993#FFFFFF#000000##FFFFFF
##1D39931.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004796
Deuteranopia (green-blind)
#003C91
Tritanopia (blue-blind)
#005060
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #1d3993;
/* rgb */ color: rgb(29, 57, 147);
/* oklch */ color: oklch(38.5% 0.152 266.0);
Tailwind
colors: {
  custom: {
    50: '#6e6fb3',
    500: '#1d3993',
    950: '#000000',
  },
}
SCSS
$custom: #1d3993;
$custom-light: #6e6fb3;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3993",
  "rgb": {
    "r": 29,
    "g": 57,
    "b": 147
  },
  "hsl": {
    "h": 225.763,
    "s": 67.045,
    "l": 34.51
  },
  "oklch": {
    "l": 0.38455,
    "c": 0.15198,
    "h": 266
  },
  "luminance": 0.05294
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1D3993

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

Preview Lab → · Contrast checker → · Palette generator →

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