#1D4B8D#1D4B8D

#1D4B8D is a dark, vivid blue. Relative luminance 0.072; OKLCH L 41.9% C 0.121 H 258.0°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#1D4B8D
RGBrgb(29, 75, 141)
HSLhsl(215, 66%, 33%)
HSVhsv(215, 79%, 55%)
CMYKcmyk(79.4%, 46.8%, 0%, 44.7%)
CIE-LABlab(32.29, 9.39, -41.09)
CIE-LCHlch(32.29, 42.15, 282.87°)
OKLaboklab(41.91% -0.025 -0.1179)
OKLCHoklch(41.91% 0.121 258)
XYZxyz(7.8287, 7.2155, 26.1743)
Luminance0.0722 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4B8D #8D5F1D
analogous
#1D838D #1D4B8D #271D8D
triadic
#1D4B8D #8D1D4B #4B8D1D
tetradic
#1D4B8D #8D1D83 #8D5F1D #1D8D27
square
#1D4B8D #8D1D83 #8D5F1D #1D8D27
split-complementary
#1D4B8D #8D271D #838D1D
monochromatic
#081527 #13305A #1D4B8D #2766C0 #4B85DA

Accessibility & contrast

On white

8.60
#1D4B8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#1D4B8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4B8D
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4B8D#FFFFFF#000000##FFFFFF
##1D4B8D1.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28518F
Deuteranopia (green-blind)
#0E478C
Tritanopia (blue-blind)
#005B65
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #1d4b8d;
/* rgb */ color: rgb(29, 75, 141);
/* oklch */ color: oklch(41.9% 0.121 258.0);
Tailwind
colors: {
  custom: {
    50: '#6b7caf',
    500: '#1d4b8d',
    950: '#000000',
  },
}
SCSS
$custom: #1d4b8d;
$custom-light: #6b7caf;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4b8d",
  "rgb": {
    "r": 29,
    "g": 75,
    "b": 141
  },
  "hsl": {
    "h": 215.357,
    "s": 65.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.4191,
    "c": 0.12051,
    "h": 258
  },
  "luminance": 0.07216
}

Semantic roles & 50–950 ramp

primary
#1D4B8D
secondary
#BC8D4A
accent
#A33FE9
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080910
muted
#7A7B7F

Preview Lab

Preview with #1D4B8D

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

Preview Lab → · Contrast checker → · Palette generator →

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