#1D3689#1D3689

#1D3689 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 36.9% C 0.142 H 266.5°. Best body text is #FFFFFF at 10.82:1 contrast (WCAG AA passes).

Color values

HEX#1D3689
RGBrgb(29, 54, 137)
HSLhsl(226, 65%, 33%)
HSVhsv(226, 79%, 54%)
CMYKcmyk(78.8%, 60.6%, 0%, 46.3%)
CIE-LABlab(25.88, 22.27, -49.01)
CIE-LCHlch(25.88, 53.83, 294.44°)
OKLaboklab(36.94% -0.0087 -0.1415)
OKLCHoklch(36.94% 0.142 266.5)
XYZxyz(6.3396, 4.7050, 24.2361)
Luminance0.0471 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3689 #89701D
analogous
#1D6C89 #1D3689 #3A1D89
triadic
#1D3689 #891D36 #36891D
tetradic
#1D3689 #891D6C #89701D #1D893A
square
#1D3689 #891D6C #89701D #1D893A
split-complementary
#1D3689 #893A1D #6C891D
monochromatic
#080E24 #122256 #1D3689 #284ABC #4869D8

Accessibility & contrast

On white

10.82
#1D3689 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D3689
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3689#FFFFFF#000000##FFFFFF
##1D36891.0010.821.9410.82
#FFFFFF10.821.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428C
Deuteranopia (green-blind)
#003887
Tritanopia (blue-blind)
#004B5A
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #1d3689;
/* rgb */ color: rgb(29, 54, 137);
/* oklch */ color: oklch(36.9% 0.142 266.5);
Tailwind
colors: {
  custom: {
    50: '#6b6cac',
    500: '#1d3689',
    950: '#000000',
  },
}
SCSS
$custom: #1d3689;
$custom-light: #6b6cac;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3689",
  "rgb": {
    "r": 29,
    "g": 54,
    "b": 137
  },
  "hsl": {
    "h": 226.111,
    "s": 65.06,
    "l": 32.549
  },
  "oklch": {
    "l": 0.36937,
    "c": 0.14182,
    "h": 266.5
  },
  "luminance": 0.04706
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1D3689

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

Preview Lab → · Contrast checker → · Palette generator →

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