#1D3683#1D3683

#1D3683 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.4% C 0.133 H 266.2°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#1D3683
RGBrgb(29, 54, 131)
HSLhsl(225, 64%, 31%)
HSVhsv(225, 78%, 51%)
CMYKcmyk(77.9%, 58.8%, 0%, 48.6%)
CIE-LABlab(25.37, 19.87, -46.08)
CIE-LCHlch(25.37, 50.18, 293.33°)
OKLaboklab(36.4% -0.0089 -0.133)
OKLCHoklch(36.4% 0.133 266.2)
XYZxyz(5.9212, 4.5376, 22.0321)
Luminance0.0454 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3683 #836A1D
analogous
#1D6983 #1D3683 #371D83
triadic
#1D3683 #831D36 #36831D
tetradic
#1D3683 #831D69 #836A1D #1D8337
square
#1D3683 #831D69 #836A1D #1D8337
split-complementary
#1D3683 #83371D #69831D
monochromatic
#070D1F #122151 #1D3683 #284BB5 #4568D6

Accessibility & contrast

On white

11.01
#1D3683 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#1D3683 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3683
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3683#FFFFFF#000000##FFFFFF
##1D36831.0011.011.9111.01
#FFFFFF11.011.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004186
Deuteranopia (green-blind)
#003881
Tritanopia (blue-blind)
#004957
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #1d3683;
/* rgb */ color: rgb(29, 54, 131);
/* oklch */ color: oklch(36.4% 0.133 266.2);
Tailwind
colors: {
  custom: {
    50: '#6a6ca8',
    500: '#1d3683',
    950: '#000000',
  },
}
SCSS
$custom: #1d3683;
$custom-light: #6a6ca8;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3683",
  "rgb": {
    "r": 29,
    "g": 54,
    "b": 131
  },
  "hsl": {
    "h": 225.294,
    "s": 63.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.36403,
    "c": 0.13326,
    "h": 266.2
  },
  "luminance": 0.04538
}

Semantic roles & 50–950 ramp

primary
#1D3683
secondary
#B69B46
accent
#BE41E7
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070710
muted
#7A7A7F

Preview Lab

Preview with #1D3683

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

Preview Lab → · Contrast checker → · Palette generator →

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