#1D3D85#1D3D85

#1D3D85 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.1% C 0.127 H 263.5°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#1D3D85
RGBrgb(29, 61, 133)
HSLhsl(222, 64%, 32%)
HSVhsv(222, 78%, 52%)
CMYKcmyk(78.2%, 54.1%, 0%, 47.8%)
CIE-LABlab(27.55, 15.78, -43.80)
CIE-LCHlch(27.55, 46.56, 289.82°)
OKLaboklab(38.1% -0.0144 -0.1261)
OKLCHoklch(38.1% 0.127 263.5)
XYZxyz(6.4076, 5.2914, 22.8694)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3D85 #85651D
analogous
#1D7185 #1D3D85 #311D85
triadic
#1D3D85 #851D3D #3D851D
tetradic
#1D3D85 #851D71 #85651D #1D8531
square
#1D3D85 #851D71 #85651D #1D8531
split-complementary
#1D3D85 #85311D #71851D
monochromatic
#070F21 #122653 #1D3D85 #2854B7 #4672D7

Accessibility & contrast

On white

10.20
#1D3D85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#1D3D85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3D85
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3D85#FFFFFF#000000##FFFFFF
##1D3D851.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A4688
Deuteranopia (green-blind)
#003D84
Tritanopia (blue-blind)
#004E5B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #1d3d85;
/* rgb */ color: rgb(29, 61, 133);
/* oklch */ color: oklch(38.1% 0.127 263.5);
Tailwind
colors: {
  custom: {
    50: '#6a72a9',
    500: '#1d3d85',
    950: '#000000',
  },
}
SCSS
$custom: #1d3d85;
$custom-light: #6a72a9;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3d85",
  "rgb": {
    "r": 29,
    "g": 61,
    "b": 133
  },
  "hsl": {
    "h": 221.538,
    "s": 64.198,
    "l": 31.765
  },
  "oklch": {
    "l": 0.38095,
    "c": 0.12695,
    "h": 263.5
  },
  "luminance": 0.05292
}

Semantic roles & 50–950 ramp

primary
#1D3D85
secondary
#B89546
accent
#B441E7
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#070710
muted
#7A7A7F

Preview Lab

Preview with #1D3D85

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

Preview Lab → · Contrast checker → · Palette generator →

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