#1D4782#1D4782

#1D4782 is a dark, moderate blue. Relative luminance 0.064; OKLCH L 40.2% C 0.110 H 257.6°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#1D4782
RGBrgb(29, 71, 130)
HSLhsl(215, 64%, 31%)
HSVhsv(215, 78%, 51%)
CMYKcmyk(77.7%, 45.4%, 0%, 49%)
CIE-LABlab(30.35, 7.67, -37.43)
CIE-LCHlch(30.35, 38.20, 281.58°)
OKLaboklab(40.17% -0.0236 -0.1072)
OKLCHoklch(40.17% 0.11 257.6)
XYZxyz(6.7877, 6.3786, 21.9882)
Luminance0.0638 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4782 #82581D
analogous
#1D7982 #1D4782 #261D82
triadic
#1D4782 #821D47 #47821D
tetradic
#1D4782 #821D79 #82581D #1D8226
square
#1D4782 #821D79 #82581D #1D8226
split-complementary
#1D4782 #82261D #79821D
monochromatic
#07101E #122C50 #1D4782 #2862B4 #4480D5

Accessibility & contrast

On white

9.23
#1D4782 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#1D4782 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4782
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4782#FFFFFF#000000##FFFFFF
##1D47821.009.232.289.23
#FFFFFF9.231.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294C84
Deuteranopia (green-blind)
#164381
Tritanopia (blue-blind)
#00555E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #1d4782;
/* rgb */ color: rgb(29, 71, 130);
/* oklch */ color: oklch(40.2% 0.110 257.6);
Tailwind
colors: {
  custom: {
    50: '#6879a7',
    500: '#1d4782',
    950: '#000000',
  },
}
SCSS
$custom: #1d4782;
$custom-light: #6879a7;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4782",
  "rgb": {
    "r": 29,
    "g": 71,
    "b": 130
  },
  "hsl": {
    "h": 215.05,
    "s": 63.522,
    "l": 31.176
  },
  "oklch": {
    "l": 0.40174,
    "c": 0.10976,
    "h": 257.6
  },
  "luminance": 0.06379
}

Semantic roles & 50–950 ramp

primary
#1D4782
secondary
#B58746
accent
#A241E7
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #1D4782

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

Preview Lab → · Contrast checker → · Palette generator →

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