#1D3983#1D3983

#1D3983 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.0% C 0.129 H 265.0°. Best body text is #FFFFFF at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#1D3983
RGBrgb(29, 57, 131)
HSLhsl(224, 64%, 31%)
HSVhsv(224, 78%, 51%)
CMYKcmyk(77.9%, 56.5%, 0%, 48.6%)
CIE-LABlab(26.23, 17.77, -44.69)
CIE-LCHlch(26.23, 48.09, 291.69°)
OKLaboklab(37.05% -0.0113 -0.1288)
OKLCHoklch(37.05% 0.129 265)
XYZxyz(6.0651, 4.8255, 22.0801)
Luminance0.0483 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3983 #83671D
analogous
#1D6C83 #1D3983 #341D83
triadic
#1D3983 #831D39 #39831D
tetradic
#1D3983 #831D6C #83671D #1D8334
square
#1D3983 #831D6C #83671D #1D8334
split-complementary
#1D3983 #83341D #6C831D
monochromatic
#070D1F #122351 #1D3983 #284FB5 #456CD6

Accessibility & contrast

On white

10.69
#1D3983 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#1D3983 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3983
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3983#FFFFFF#000000##FFFFFF
##1D39831.0010.691.9710.69
#FFFFFF10.691.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004386
Deuteranopia (green-blind)
#003A82
Tritanopia (blue-blind)
#004B58
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #1d3983;
/* rgb */ color: rgb(29, 57, 131);
/* oklch */ color: oklch(37.0% 0.129 265.0);
Tailwind
colors: {
  custom: {
    50: '#696ea8',
    500: '#1d3983',
    950: '#000000',
  },
}
SCSS
$custom: #1d3983;
$custom-light: #696ea8;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3983",
  "rgb": {
    "r": 29,
    "g": 57,
    "b": 131
  },
  "hsl": {
    "h": 223.529,
    "s": 63.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.37048,
    "c": 0.1293,
    "h": 265
  },
  "luminance": 0.04826
}

Semantic roles & 50–950 ramp

primary
#1D3983
secondary
#B69746
accent
#B941E7
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070710
muted
#7A7A7F

Preview Lab

Preview with #1D3983

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

Preview Lab → · Contrast checker → · Palette generator →

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