#1D3792#1D3792

#1D3792 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.0% C 0.153 H 266.5°. Best body text is #FFFFFF at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#1D3792
RGBrgb(29, 55, 146)
HSLhsl(227, 67%, 34%)
HSVhsv(227, 80%, 57%)
CMYKcmyk(80.1%, 62.3%, 0%, 42.7%)
CIE-LABlab(26.93, 25.14, -52.86)
CIE-LCHlch(26.93, 58.53, 295.44°)
OKLaboklab(37.96% -0.0092 -0.1528)
OKLCHoklch(37.96% 0.153 266.5)
XYZxyz(7.0594, 5.0681, 27.7947)
Luminance0.0507 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3792 #92781D
analogous
#1D7292 #1D3792 #3E1D92
triadic
#1D3792 #921D37 #37921D
tetradic
#1D3792 #921D72 #92781D #1D923E
square
#1D3792 #921D72 #92781D #1D923E
split-complementary
#1D3792 #923E1D #72921D
monochromatic
#09112C #13245F #1D3792 #274AC5 #4E6DDC

Accessibility & contrast

On white

10.43
#1D3792 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#1D3792 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3792
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3792#FFFFFF#000000##FFFFFF
##1D37921.0010.432.0110.43
#FFFFFF10.431.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004595
Deuteranopia (green-blind)
#003A90
Tritanopia (blue-blind)
#004E5F
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #1d3792;
/* rgb */ color: rgb(29, 55, 146);
/* oklch */ color: oklch(38.0% 0.153 266.5);
Tailwind
colors: {
  custom: {
    50: '#6d6db3',
    500: '#1d3792',
    950: '#000000',
  },
}
SCSS
$custom: #1d3792;
$custom-light: #6d6db3;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3792",
  "rgb": {
    "r": 29,
    "g": 55,
    "b": 146
  },
  "hsl": {
    "h": 226.667,
    "s": 66.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.37962,
    "c": 0.15312,
    "h": 266.5
  },
  "luminance": 0.05069
}

Semantic roles & 50–950 ramp

primary
#1D3792
secondary
#BEA54C
accent
#C43EEA
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #1D3792

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

Preview Lab → · Contrast checker → · Palette generator →

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