#1D3B86#1D3B86

#1D3B86 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 37.7% C 0.131 H 264.5°. Best body text is #FFFFFF at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#1D3B86
RGBrgb(29, 59, 134)
HSLhsl(223, 64%, 32%)
HSVhsv(223, 78%, 53%)
CMYKcmyk(78.4%, 56%, 0%, 47.5%)
CIE-LABlab(27.05, 17.58, -45.24)
CIE-LCHlch(27.05, 48.54, 291.24°)
OKLaboklab(37.74% -0.0126 -0.1304)
OKLCHoklch(37.74% 0.131 264.5)
XYZxyz(6.3722, 5.1097, 23.2001)
Luminance0.0511 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3B86 #86681D
analogous
#1D7086 #1D3B86 #341D86
triadic
#1D3B86 #861D3B #3B861D
tetradic
#1D3B86 #861D70 #86681D #1D8634
square
#1D3B86 #861D70 #86681D #1D8634
split-complementary
#1D3B86 #86341D #70861D
monochromatic
#070F21 #122554 #1D3B86 #2851B8 #4670D7

Accessibility & contrast

On white

10.39
#1D3B86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#1D3B86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3B86
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3B86#FFFFFF#000000##FFFFFF
##1D3B861.0010.392.0210.39
#FFFFFF10.391.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004589
Deuteranopia (green-blind)
#003B85
Tritanopia (blue-blind)
#004D5A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #1d3b86;
/* rgb */ color: rgb(29, 59, 134);
/* oklch */ color: oklch(37.7% 0.131 264.5);
Tailwind
colors: {
  custom: {
    50: '#6a70aa',
    500: '#1d3b86',
    950: '#000000',
  },
}
SCSS
$custom: #1d3b86;
$custom-light: #6a70aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3b86",
  "rgb": {
    "r": 29,
    "g": 59,
    "b": 134
  },
  "hsl": {
    "h": 222.857,
    "s": 64.417,
    "l": 31.961
  },
  "oklch": {
    "l": 0.37737,
    "c": 0.13101,
    "h": 264.5
  },
  "luminance": 0.0511
}

Semantic roles & 50–950 ramp

primary
#1D3B86
secondary
#B99846
accent
#B840E7
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#070710
muted
#7A7A7F

Preview Lab

Preview with #1D3B86

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

Preview Lab → · Contrast checker → · Palette generator →

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