#1D3688#1D3688

#1D3688 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 36.8% C 0.140 H 266.4°. Best body text is #FFFFFF at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#1D3688
RGBrgb(29, 54, 136)
HSLhsl(226, 65%, 32%)
HSVhsv(226, 79%, 53%)
CMYKcmyk(78.7%, 60.3%, 0%, 46.7%)
CIE-LABlab(25.79, 21.87, -48.52)
CIE-LCHlch(25.79, 53.22, 294.26°)
OKLaboklab(36.85% -0.0087 -0.1401)
OKLCHoklch(36.85% 0.14 266.4)
XYZxyz(6.2682, 4.6764, 23.8601)
Luminance0.0468 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3688 #886F1D
analogous
#1D6C88 #1D3688 #391D88
triadic
#1D3688 #881D36 #36881D
tetradic
#1D3688 #881D6C #886F1D #1D8839
square
#1D3688 #881D6C #886F1D #1D8839
split-complementary
#1D3688 #88391D #6C881D
monochromatic
#070E23 #122256 #1D3688 #284ABA #4869D8

Accessibility & contrast

On white

10.85
#1D3688 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#1D3688 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3688
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3688#FFFFFF#000000##FFFFFF
##1D36881.0010.851.9410.85
#FFFFFF10.851.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428B
Deuteranopia (green-blind)
#003886
Tritanopia (blue-blind)
#004B59
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #1d3688;
/* rgb */ color: rgb(29, 54, 136);
/* oklch */ color: oklch(36.8% 0.140 266.4);
Tailwind
colors: {
  custom: {
    50: '#6b6cab',
    500: '#1d3688',
    950: '#000000',
  },
}
SCSS
$custom: #1d3688;
$custom-light: #6b6cab;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3688",
  "rgb": {
    "r": 29,
    "g": 54,
    "b": 136
  },
  "hsl": {
    "h": 225.981,
    "s": 64.848,
    "l": 32.353
  },
  "oklch": {
    "l": 0.36847,
    "c": 0.1404,
    "h": 266.4
  },
  "luminance": 0.04677
}

Semantic roles & 50–950 ramp

primary
#1D3688
secondary
#BA9F47
accent
#C140E8
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #1D3688

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

Preview Lab → · Contrast checker → · Palette generator →

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