#1D3A87#1D3A87

#1D3A87 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.6% C 0.134 H 264.9°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#1D3A87
RGBrgb(29, 58, 135)
HSLhsl(224, 65%, 32%)
HSVhsv(224, 79%, 53%)
CMYKcmyk(78.5%, 57%, 0%, 47.1%)
CIE-LABlab(26.84, 18.68, -46.20)
CIE-LCHlch(26.84, 49.83, 292.02°)
OKLaboklab(37.6% -0.0118 -0.1332)
OKLCHoklch(37.6% 0.134 264.9)
XYZxyz(6.3914, 5.0359, 23.5521)
Luminance0.0504 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3A87 #876A1D
analogous
#1D6F87 #1D3A87 #351D87
triadic
#1D3A87 #871D3A #3A871D
tetradic
#1D3A87 #871D6F #876A1D #1D8735
square
#1D3A87 #871D6F #876A1D #1D8735
split-complementary
#1D3A87 #87351D #6F871D
monochromatic
#070F22 #122455 #1D3A87 #2850B9 #476ED7

Accessibility & contrast

On white

10.46
#1D3A87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#1D3A87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3A87
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3A87#FFFFFF#000000##FFFFFF
##1D3A871.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458A
Deuteranopia (green-blind)
#003B85
Tritanopia (blue-blind)
#004D5A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #1d3a87;
/* rgb */ color: rgb(29, 58, 135);
/* oklch */ color: oklch(37.6% 0.134 264.9);
Tailwind
colors: {
  custom: {
    50: '#6a6fab',
    500: '#1d3a87',
    950: '#000000',
  },
}
SCSS
$custom: #1d3a87;
$custom-light: #6a6fab;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3a87",
  "rgb": {
    "r": 29,
    "g": 58,
    "b": 135
  },
  "hsl": {
    "h": 223.585,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.37605,
    "c": 0.13376,
    "h": 264.9
  },
  "luminance": 0.05037
}

Semantic roles & 50–950 ramp

primary
#1D3A87
secondary
#B99A46
accent
#BA40E8
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#070710
muted
#7A7A7F

Preview Lab

Preview with #1D3A87

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

Preview Lab → · Contrast checker → · Palette generator →

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