#1D3487#1D3487

#1D3487 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.3% C 0.142 H 267.0°. Best body text is #FFFFFF at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#1D3487
RGBrgb(29, 52, 135)
HSLhsl(227, 65%, 32%)
HSVhsv(227, 79%, 53%)
CMYKcmyk(78.5%, 61.5%, 0%, 47.1%)
CIE-LABlab(25.16, 22.86, -48.94)
CIE-LCHlch(25.16, 54.01, 295.04°)
OKLaboklab(36.35% -0.0073 -0.1414)
OKLCHoklch(36.35% 0.142 267)
XYZxyz(6.1063, 4.4658, 23.4571)
Luminance0.0447 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3487 #87701D
analogous
#1D6987 #1D3487 #3B1D87
triadic
#1D3487 #871D34 #34871D
tetradic
#1D3487 #871D69 #87701D #1D873B
square
#1D3487 #871D69 #87701D #1D873B
split-complementary
#1D3487 #873B1D #69871D
monochromatic
#070D22 #122155 #1D3487 #2847B9 #4766D7

Accessibility & contrast

On white

11.09
#1D3487 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#1D3487 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3487
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3487#FFFFFF#000000##FFFFFF
##1D34871.0011.091.8911.09
#FFFFFF11.091.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418A
Deuteranopia (green-blind)
#003785
Tritanopia (blue-blind)
#004958
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #1d3487;
/* rgb */ color: rgb(29, 52, 135);
/* oklch */ color: oklch(36.3% 0.142 267.0);
Tailwind
colors: {
  custom: {
    50: '#6b6bab',
    500: '#1d3487',
    950: '#000000',
  },
}
SCSS
$custom: #1d3487;
$custom-light: #6b6bab;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3487",
  "rgb": {
    "r": 29,
    "g": 52,
    "b": 135
  },
  "hsl": {
    "h": 226.981,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.36345,
    "c": 0.14157,
    "h": 267
  },
  "luminance": 0.04466
}

Semantic roles & 50–950 ramp

primary
#1D3487
secondary
#B9A046
accent
#C340E8
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080610
muted
#7A7A7F

Preview Lab

Preview with #1D3487

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

Preview Lab → · Contrast checker → · Palette generator →

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