#1D4783#1D4783

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

Color values

HEX#1D4783
RGBrgb(29, 71, 131)
HSLhsl(215, 64%, 31%)
HSVhsv(215, 78%, 51%)
CMYKcmyk(77.9%, 45.8%, 0%, 48.6%)
CIE-LABlab(30.41, 8.07, -37.94)
CIE-LCHlch(30.41, 38.79, 282.01°)
OKLaboklab(40.25% -0.0234 -0.1087)
OKLCHoklch(40.25% 0.111 257.8)
XYZxyz(6.8552, 6.4056, 22.3434)
Luminance0.0641 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4783 #83591D
analogous
#1D7A83 #1D4783 #261D83
triadic
#1D4783 #831D47 #47831D
tetradic
#1D4783 #831D7A #83591D #1D8326
square
#1D4783 #831D7A #83591D #1D8326
split-complementary
#1D4783 #83261D #7A831D
monochromatic
#07111F #122C51 #1D4783 #2862B5 #4580D6

Accessibility & contrast

On white

9.21
#1D4783 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D4783
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4783#FFFFFF#000000##FFFFFF
##1D47831.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294D85
Deuteranopia (green-blind)
#144382
Tritanopia (blue-blind)
#00555E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #1d4783;
/* rgb */ color: rgb(29, 71, 131);
/* oklch */ color: oklch(40.2% 0.111 257.8);
Tailwind
colors: {
  custom: {
    50: '#6979a7',
    500: '#1d4783',
    950: '#000000',
  },
}
SCSS
$custom: #1d4783;
$custom-light: #6979a7;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4783",
  "rgb": {
    "r": 29,
    "g": 71,
    "b": 131
  },
  "hsl": {
    "h": 215.294,
    "s": 63.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.40246,
    "c": 0.1112,
    "h": 257.8
  },
  "luminance": 0.06406
}

Semantic roles & 50–950 ramp

primary
#1D4783
secondary
#B68846
accent
#A341E7
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #1D4783

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

Preview Lab → · Contrast checker → · Palette generator →

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