#1D3E83#1D3E83

#1D3E83 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.2% C 0.123 H 262.8°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#1D3E83
RGBrgb(29, 62, 131)
HSLhsl(221, 64%, 31%)
HSVhsv(221, 78%, 51%)
CMYKcmyk(77.9%, 52.7%, 0%, 48.6%)
CIE-LABlab(27.69, 14.28, -42.32)
CIE-LCHlch(27.69, 44.66, 288.64°)
OKLaboklab(38.16% -0.0154 -0.1217)
OKLCHoklch(38.16% 0.123 262.8)
XYZxyz(6.3246, 5.3444, 22.1666)
Luminance0.0534 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3E83 #83621D
analogous
#1D7183 #1D3E83 #2F1D83
triadic
#1D3E83 #831D3E #3E831D
tetradic
#1D3E83 #831D71 #83621D #1D832F
square
#1D3E83 #831D71 #83621D #1D832F
split-complementary
#1D3E83 #832F1D #71831D
monochromatic
#070F1F #122651 #1D3E83 #2856B5 #4574D6

Accessibility & contrast

On white

10.15
#1D3E83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#1D3E83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3E83
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3E83#FFFFFF#000000##FFFFFF
##1D3E831.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#124685
Deuteranopia (green-blind)
#003D82
Tritanopia (blue-blind)
#004F5A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #1d3e83;
/* rgb */ color: rgb(29, 62, 131);
/* oklch */ color: oklch(38.2% 0.123 262.8);
Tailwind
colors: {
  custom: {
    50: '#6972a8',
    500: '#1d3e83',
    950: '#000000',
  },
}
SCSS
$custom: #1d3e83;
$custom-light: #6972a8;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3e83",
  "rgb": {
    "r": 29,
    "g": 62,
    "b": 131
  },
  "hsl": {
    "h": 220.588,
    "s": 63.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.38158,
    "c": 0.12273,
    "h": 262.8
  },
  "luminance": 0.05345
}

Semantic roles & 50–950 ramp

primary
#1D3E83
secondary
#B69246
accent
#B141E7
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #1D3E83

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

Preview Lab → · Contrast checker → · Palette generator →

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