#1D4583#1D4583

#1D4583 is a dark, moderate blue. Relative luminance 0.062; OKLCH L 39.8% C 0.114 H 259.0°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#1D4583
RGBrgb(29, 69, 131)
HSLhsl(216, 64%, 31%)
HSVhsv(216, 78%, 51%)
CMYKcmyk(77.9%, 47.3%, 0%, 48.6%)
CIE-LABlab(29.80, 9.44, -38.93)
CIE-LCHlch(29.80, 40.05, 283.63°)
OKLaboklab(39.77% -0.0216 -0.1116)
OKLCHoklch(39.77% 0.114 259)
XYZxyz(6.7301, 6.1554, 22.3017)
Luminance0.0616 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4583 #835B1D
analogous
#1D7883 #1D4583 #281D83
triadic
#1D4583 #831D45 #45831D
tetradic
#1D4583 #831D78 #835B1D #1D8328
square
#1D4583 #831D78 #835B1D #1D8328
split-complementary
#1D4583 #83281D #78831D
monochromatic
#07101F #122B51 #1D4583 #285FB5 #457ED6

Accessibility & contrast

On white

9.41
#1D4583 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#1D4583 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4583
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4583#FFFFFF#000000##FFFFFF
##1D45831.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244B85
Deuteranopia (green-blind)
#0D4282
Tritanopia (blue-blind)
#00545D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #1d4583;
/* rgb */ color: rgb(29, 69, 131);
/* oklch */ color: oklch(39.8% 0.114 259.0);
Tailwind
colors: {
  custom: {
    50: '#6978a7',
    500: '#1d4583',
    950: '#000000',
  },
}
SCSS
$custom: #1d4583;
$custom-light: #6978a7;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4583",
  "rgb": {
    "r": 29,
    "g": 69,
    "b": 131
  },
  "hsl": {
    "h": 216.471,
    "s": 63.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.39773,
    "c": 0.11369,
    "h": 259
  },
  "luminance": 0.06156
}

Semantic roles & 50–950 ramp

primary
#1D4583
secondary
#B68A46
accent
#A641E7
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #1D4583

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

Preview Lab → · Contrast checker → · Palette generator →

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