#1D4282#1D4282

#1D4282 is a dark, moderate blue. Relative luminance 0.058; OKLCH L 39.0% C 0.116 H 260.5°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#1D4282
RGBrgb(29, 66, 130)
HSLhsl(218, 64%, 31%)
HSVhsv(218, 78%, 51%)
CMYKcmyk(77.7%, 49.2%, 0%, 49%)
CIE-LABlab(28.82, 11.09, -39.88)
CIE-LCHlch(28.82, 41.39, 285.55°)
OKLaboklab(39% -0.0191 -0.1145)
OKLCHoklch(39% 0.116 260.5)
XYZxyz(6.4827, 5.7686, 21.8866)
Luminance0.0577 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4282 #825D1D
analogous
#1D7482 #1D4282 #2A1D82
triadic
#1D4282 #821D42 #42821D
tetradic
#1D4282 #821D74 #825D1D #1D822A
square
#1D4282 #821D74 #825D1D #1D822A
split-complementary
#1D4282 #822A1D #74821D
monochromatic
#070F1E #122950 #1D4282 #285BB4 #4479D5

Accessibility & contrast

On white

9.75
#1D4282 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#1D4282 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4282
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4282#FFFFFF#000000##FFFFFF
##1D42821.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4984
Deuteranopia (green-blind)
#024081
Tritanopia (blue-blind)
#00515B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1d4282;
/* rgb */ color: rgb(29, 66, 130);
/* oklch */ color: oklch(39.0% 0.116 260.5);
Tailwind
colors: {
  custom: {
    50: '#6975a7',
    500: '#1d4282',
    950: '#000000',
  },
}
SCSS
$custom: #1d4282;
$custom-light: #6975a7;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4282",
  "rgb": {
    "r": 29,
    "g": 66,
    "b": 130
  },
  "hsl": {
    "h": 218.02,
    "s": 63.522,
    "l": 31.176
  },
  "oklch": {
    "l": 0.38997,
    "c": 0.11607,
    "h": 260.5
  },
  "luminance": 0.05769
}

Semantic roles & 50–950 ramp

primary
#1D4282
secondary
#B58C46
accent
#AA41E7
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #1D4282

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

Preview Lab → · Contrast checker → · Palette generator →

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