#1D4C90#1D4C90

#1D4C90 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.4% C 0.124 H 258.2°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#1D4C90
RGBrgb(29, 76, 144)
HSLhsl(215, 66%, 34%)
HSVhsv(215, 80%, 56%)
CMYKcmyk(79.9%, 47.2%, 0%, 43.5%)
CIE-LABlab(32.79, 9.92, -42.12)
CIE-LCHlch(32.79, 43.27, 283.25°)
OKLaboklab(42.36% -0.0254 -0.1209)
OKLCHoklch(42.36% 0.124 258.2)
XYZxyz(8.1233, 7.4428, 27.3886)
Luminance0.0744 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4C90 #90611D
analogous
#1D8690 #1D4C90 #271D90
triadic
#1D4C90 #901D4C #4C901D
tetradic
#1D4C90 #901D86 #90611D #1D9027
square
#1D4C90 #901D86 #90611D #1D9027
split-complementary
#1D4C90 #90271D #86901D
monochromatic
#08162A #13315D #1D4C90 #2767C3 #4C87DB

Accessibility & contrast

On white

8.44
#1D4C90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#1D4C90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4C90
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4C90#FFFFFF#000000##FFFFFF
##1D4C901.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285393
Deuteranopia (green-blind)
#0A488F
Tritanopia (blue-blind)
#005C67
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #1d4c90;
/* rgb */ color: rgb(29, 76, 144);
/* oklch */ color: oklch(42.4% 0.124 258.2);
Tailwind
colors: {
  custom: {
    50: '#6c7db1',
    500: '#1d4c90',
    950: '#000000',
  },
}
SCSS
$custom: #1d4c90;
$custom-light: #6c7db1;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4c90",
  "rgb": {
    "r": 29,
    "g": 76,
    "b": 144
  },
  "hsl": {
    "h": 215.478,
    "s": 66.474,
    "l": 33.922
  },
  "oklch": {
    "l": 0.42361,
    "c": 0.12352,
    "h": 258.2
  },
  "luminance": 0.07444
}

Semantic roles & 50–950 ramp

primary
#1D4C90
secondary
#BD8F4B
accent
#A43EE9
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#080911
muted
#7B7B80

Preview Lab

Preview with #1D4C90

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

Preview Lab → · Contrast checker → · Palette generator →

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