#1D3F83#1D3F83

#1D3F83 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 38.4% C 0.121 H 262.3°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#1D3F83
RGBrgb(29, 63, 131)
HSLhsl(220, 64%, 31%)
HSVhsv(220, 78%, 51%)
CMYKcmyk(77.9%, 51.9%, 0%, 48.6%)
CIE-LABlab(27.99, 13.58, -41.84)
CIE-LCHlch(27.99, 43.99, 287.98°)
OKLaboklab(38.39% -0.0163 -0.1203)
OKLCHoklch(38.39% 0.121 262.3)
XYZxyz(6.3795, 5.4542, 22.1849)
Luminance0.0546 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3F83 #83611D
analogous
#1D7283 #1D3F83 #2E1D83
triadic
#1D3F83 #831D3F #3F831D
tetradic
#1D3F83 #831D72 #83611D #1D832E
square
#1D3F83 #831D72 #83611D #1D832E
split-complementary
#1D3F83 #832E1D #72831D
monochromatic
#070F1F #122751 #1D3F83 #2857B5 #4575D6

Accessibility & contrast

On white

10.04
#1D3F83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#1D3F83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3F83
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3F83#FFFFFF#000000##FFFFFF
##1D3F831.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154785
Deuteranopia (green-blind)
#003E82
Tritanopia (blue-blind)
#004F5A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #1d3f83;
/* rgb */ color: rgb(29, 63, 131);
/* oklch */ color: oklch(38.4% 0.121 262.3);
Tailwind
colors: {
  custom: {
    50: '#6973a8',
    500: '#1d3f83',
    950: '#000000',
  },
}
SCSS
$custom: #1d3f83;
$custom-light: #6973a8;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3f83",
  "rgb": {
    "r": 29,
    "g": 63,
    "b": 131
  },
  "hsl": {
    "h": 220,
    "s": 63.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.38385,
    "c": 0.12142,
    "h": 262.3
  },
  "luminance": 0.05455
}

Semantic roles & 50–950 ramp

primary
#1D3F83
secondary
#B69146
accent
#B041E7
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #1D3F83

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

Preview Lab → · Contrast checker → · Palette generator →

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