#1D4E97#1D4E97

#1D4E97 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.3% C 0.131 H 258.6°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#1D4E97
RGBrgb(29, 78, 151)
HSLhsl(216, 68%, 35%)
HSVhsv(216, 81%, 59%)
CMYKcmyk(80.8%, 48.3%, 0%, 40.8%)
CIE-LABlab(33.86, 11.39, -44.66)
CIE-LCHlch(33.86, 46.09, 284.31°)
OKLaboklab(43.34% -0.0258 -0.1283)
OKLCHoklch(43.34% 0.131 258.6)
XYZxyz(8.8150, 7.9433, 30.3408)
Luminance0.0794 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4E97 #97661D
analogous
#1D8B97 #1D4E97 #291D97
triadic
#1D4E97 #971D4E #4E971D
tetradic
#1D4E97 #971D8B #97661D #1D9729
square
#1D4E97 #971D8B #97661D #1D9729
split-complementary
#1D4E97 #97291D #8B971D
monochromatic
#091930 #133364 #1D4E97 #2769CA #5189DE

Accessibility & contrast

On white

8.11
#1D4E97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#1D4E97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4E97
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4E97#FFFFFF#000000##FFFFFF
##1D4E971.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25569A
Deuteranopia (green-blind)
#004A96
Tritanopia (blue-blind)
#005F6B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #1d4e97;
/* rgb */ color: rgb(29, 78, 151);
/* oklch */ color: oklch(43.3% 0.131 258.6);
Tailwind
colors: {
  custom: {
    50: '#6d7fb6',
    500: '#1d4e97',
    950: '#000000',
  },
}
SCSS
$custom: #1d4e97;
$custom-light: #6d7fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4e97",
  "rgb": {
    "r": 29,
    "g": 78,
    "b": 151
  },
  "hsl": {
    "h": 215.902,
    "s": 67.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.43337,
    "c": 0.13088,
    "h": 258.6
  },
  "luminance": 0.07944
}

Semantic roles & 50–950 ramp

primary
#1D4E97
secondary
#C0934F
accent
#A53DEB
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #1D4E97

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

Preview Lab → · Contrast checker → · Palette generator →

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