#1D3E85#1D3E85

#1D3E85 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.3% C 0.126 H 263.1°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#1D3E85
RGBrgb(29, 62, 133)
HSLhsl(221, 64%, 32%)
HSVhsv(221, 78%, 52%)
CMYKcmyk(78.2%, 53.4%, 0%, 47.8%)
CIE-LABlab(27.84, 15.09, -43.33)
CIE-LCHlch(27.84, 45.88, 289.20°)
OKLaboklab(38.32% -0.0152 -0.1247)
OKLCHoklch(38.32% 0.126 263.1)
XYZxyz(6.4614, 5.3992, 22.8874)
Luminance0.0540 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3E85 #85641D
analogous
#1D7285 #1D3E85 #301D85
triadic
#1D3E85 #851D3E #3E851D
tetradic
#1D3E85 #851D72 #85641D #1D8530
square
#1D3E85 #851D72 #85641D #1D8530
split-complementary
#1D3E85 #85301D #72851D
monochromatic
#070F21 #122753 #1D3E85 #2855B7 #4674D7

Accessibility & contrast

On white

10.10
#1D3E85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#1D3E85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3E85
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3E85#FFFFFF#000000##FFFFFF
##1D3E851.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E4788
Deuteranopia (green-blind)
#003D84
Tritanopia (blue-blind)
#004F5B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #1d3e85;
/* rgb */ color: rgb(29, 62, 133);
/* oklch */ color: oklch(38.3% 0.126 263.1);
Tailwind
colors: {
  custom: {
    50: '#6a72a9',
    500: '#1d3e85',
    950: '#000000',
  },
}
SCSS
$custom: #1d3e85;
$custom-light: #6a72a9;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3e85",
  "rgb": {
    "r": 29,
    "g": 62,
    "b": 133
  },
  "hsl": {
    "h": 220.962,
    "s": 64.198,
    "l": 31.765
  },
  "oklch": {
    "l": 0.38319,
    "c": 0.12563,
    "h": 263.1
  },
  "luminance": 0.054
}

Semantic roles & 50–950 ramp

primary
#1D3E85
secondary
#B89446
accent
#B241E7
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #1D3E85

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

Preview Lab → · Contrast checker → · Palette generator →

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