#1D3685#1D3685

#1D3685 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.6% C 0.136 H 266.3°. Best body text is #FFFFFF at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#1D3685
RGBrgb(29, 54, 133)
HSLhsl(226, 64%, 32%)
HSVhsv(226, 78%, 52%)
CMYKcmyk(78.2%, 59.4%, 0%, 47.8%)
CIE-LABlab(25.54, 20.67, -47.06)
CIE-LCHlch(25.54, 51.40, 293.71°)
OKLaboklab(36.58% -0.0088 -0.1358)
OKLCHoklch(36.58% 0.136 266.3)
XYZxyz(6.0580, 4.5923, 22.7529)
Luminance0.0459 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3685 #856C1D
analogous
#1D6A85 #1D3685 #381D85
triadic
#1D3685 #851D36 #36851D
tetradic
#1D3685 #851D6A #856C1D #1D8538
square
#1D3685 #851D6A #856C1D #1D8538
split-complementary
#1D3685 #85381D #6A851D
monochromatic
#070D21 #122253 #1D3685 #284AB7 #4669D7

Accessibility & contrast

On white

10.95
#1D3685 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#1D3685 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3685
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3685#FFFFFF#000000##FFFFFF
##1D36851.0010.951.9210.95
#FFFFFF10.951.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004288
Deuteranopia (green-blind)
#003883
Tritanopia (blue-blind)
#004A58
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #1d3685;
/* rgb */ color: rgb(29, 54, 133);
/* oklch */ color: oklch(36.6% 0.136 266.3);
Tailwind
colors: {
  custom: {
    50: '#6a6ca9',
    500: '#1d3685',
    950: '#000000',
  },
}
SCSS
$custom: #1d3685;
$custom-light: #6a6ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3685",
  "rgb": {
    "r": 29,
    "g": 54,
    "b": 133
  },
  "hsl": {
    "h": 225.577,
    "s": 64.198,
    "l": 31.765
  },
  "oklch": {
    "l": 0.36579,
    "c": 0.13613,
    "h": 266.3
  },
  "luminance": 0.04593
}

Semantic roles & 50–950 ramp

primary
#1D3685
secondary
#B89D46
accent
#BF41E7
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070710
muted
#7A7A7F

Preview Lab

Preview with #1D3685

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

Preview Lab → · Contrast checker → · Palette generator →

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