#1D3F84#1D3F84

#1D3F84 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 38.5% C 0.123 H 262.4°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#1D3F84
RGBrgb(29, 63, 132)
HSLhsl(220, 64%, 32%)
HSVhsv(220, 78%, 52%)
CMYKcmyk(78%, 52.3%, 0%, 48.2%)
CIE-LABlab(28.06, 13.99, -42.34)
CIE-LCHlch(28.06, 44.59, 288.28°)
OKLaboklab(38.46% -0.0162 -0.1218)
OKLCHoklch(38.46% 0.123 262.4)
XYZxyz(6.4476, 5.4814, 22.5435)
Luminance0.0548 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3F84 #84621D
analogous
#1D7384 #1D3F84 #2F1D84
triadic
#1D3F84 #841D3F #3F841D
tetradic
#1D3F84 #841D73 #84621D #1D842F
square
#1D3F84 #841D73 #84621D #1D842F
split-complementary
#1D3F84 #842F1D #73841D
monochromatic
#070F20 #122752 #1D3F84 #2857B6 #4575D6

Accessibility & contrast

On white

10.02
#1D3F84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#1D3F84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3F84
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3F84#FFFFFF#000000##FFFFFF
##1D3F841.0010.022.1010.02
#FFFFFF10.021.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144786
Deuteranopia (green-blind)
#003E83
Tritanopia (blue-blind)
#00505B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #1d3f84;
/* rgb */ color: rgb(29, 63, 132);
/* oklch */ color: oklch(38.5% 0.123 262.4);
Tailwind
colors: {
  custom: {
    50: '#6973a8',
    500: '#1d3f84',
    950: '#000000',
  },
}
SCSS
$custom: #1d3f84;
$custom-light: #6973a8;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3f84",
  "rgb": {
    "r": 29,
    "g": 63,
    "b": 132
  },
  "hsl": {
    "h": 220.194,
    "s": 63.975,
    "l": 31.569
  },
  "oklch": {
    "l": 0.38464,
    "c": 0.12287,
    "h": 262.4
  },
  "luminance": 0.05482
}

Semantic roles & 50–950 ramp

primary
#1D3F84
secondary
#B79246
accent
#B041E7
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #1D3F84

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

Preview Lab → · Contrast checker → · Palette generator →

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