#1D3D83#1D3D83

#1D3D83 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 37.9% C 0.124 H 263.2°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#1D3D83
RGBrgb(29, 61, 131)
HSLhsl(221, 64%, 31%)
HSVhsv(221, 78%, 51%)
CMYKcmyk(77.9%, 53.4%, 0%, 48.6%)
CIE-LABlab(27.40, 14.97, -42.80)
CIE-LCHlch(27.40, 45.34, 289.28°)
OKLaboklab(37.93% -0.0146 -0.1232)
OKLCHoklch(37.93% 0.124 263.2)
XYZxyz(6.2707, 5.2367, 22.1486)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3D83 #83631D
analogous
#1D7083 #1D3D83 #301D83
triadic
#1D3D83 #831D3D #3D831D
tetradic
#1D3D83 #831D70 #83631D #1D8330
square
#1D3D83 #831D70 #83631D #1D8330
split-complementary
#1D3D83 #83301D #70831D
monochromatic
#070E1F #122651 #1D3D83 #2854B5 #4572D6

Accessibility & contrast

On white

10.26
#1D3D83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#1D3D83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3D83
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3D83#FFFFFF#000000##FFFFFF
##1D3D831.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E4686
Deuteranopia (green-blind)
#003C82
Tritanopia (blue-blind)
#004E5A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #1d3d83;
/* rgb */ color: rgb(29, 61, 131);
/* oklch */ color: oklch(37.9% 0.124 263.2);
Tailwind
colors: {
  custom: {
    50: '#6972a8',
    500: '#1d3d83',
    950: '#000000',
  },
}
SCSS
$custom: #1d3d83;
$custom-light: #6972a8;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3d83",
  "rgb": {
    "r": 29,
    "g": 61,
    "b": 131
  },
  "hsl": {
    "h": 221.176,
    "s": 63.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.37933,
    "c": 0.12404,
    "h": 263.2
  },
  "luminance": 0.05237
}

Semantic roles & 50–950 ramp

primary
#1D3D83
secondary
#B69346
accent
#B341E7
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #1D3D83

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

Preview Lab → · Contrast checker → · Palette generator →

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