#1D4084#1D4084

#1D4084 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 38.7% C 0.122 H 262.0°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#1D4084
RGBrgb(29, 64, 132)
HSLhsl(220, 64%, 32%)
HSVhsv(220, 78%, 52%)
CMYKcmyk(78%, 51.5%, 0%, 48.2%)
CIE-LABlab(28.36, 13.29, -41.86)
CIE-LCHlch(28.36, 43.92, 287.61°)
OKLaboklab(38.69% -0.017 -0.1204)
OKLCHoklch(38.69% 0.122 262)
XYZxyz(6.5035, 5.5932, 22.5622)
Luminance0.0559 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4084 #84611D
analogous
#1D7484 #1D4084 #2E1D84
triadic
#1D4084 #841D40 #40841D
tetradic
#1D4084 #841D74 #84611D #1D842E
square
#1D4084 #841D74 #84611D #1D842E
split-complementary
#1D4084 #842E1D #74841D
monochromatic
#070F20 #122852 #1D4084 #2858B6 #4576D6

Accessibility & contrast

On white

9.91
#1D4084 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#1D4084 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4084
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4084#FFFFFF#000000##FFFFFF
##1D40841.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1d4084;
/* rgb */ color: rgb(29, 64, 132);
/* oklch */ color: oklch(38.7% 0.122 262.0);
Tailwind
colors: {
  custom: {
    50: '#6974a8',
    500: '#1d4084',
    950: '#000000',
  },
}
SCSS
$custom: #1d4084;
$custom-light: #6974a8;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4084",
  "rgb": {
    "r": 29,
    "g": 64,
    "b": 132
  },
  "hsl": {
    "h": 219.612,
    "s": 63.975,
    "l": 31.569
  },
  "oklch": {
    "l": 0.38691,
    "c": 0.12157,
    "h": 262
  },
  "luminance": 0.05594
}

Semantic roles & 50–950 ramp

primary
#1D4084
secondary
#B79146
accent
#AF41E7
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #1D4084

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

Preview Lab → · Contrast checker → · Palette generator →

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