#1D4F99#1D4F99

#1D4F99 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 43.7% C 0.132 H 258.6°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#1D4F99
RGBrgb(29, 79, 153)
HSLhsl(216, 68%, 36%)
HSVhsv(216, 81%, 60%)
CMYKcmyk(81%, 48.4%, 0%, 40%)
CIE-LABlab(34.30, 11.52, -45.17)
CIE-LCHlch(34.30, 46.62, 284.31°)
OKLaboklab(43.71% -0.0263 -0.1298)
OKLCHoklch(43.71% 0.132 258.6)
XYZxyz(9.0503, 8.1520, 31.2273)
Luminance0.0815 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4F99 #99671D
analogous
#1D8D99 #1D4F99 #291D99
triadic
#1D4F99 #991D4F #4F991D
tetradic
#1D4F99 #991D8D #99671D #1D9929
square
#1D4F99 #991D8D #99671D #1D9929
split-complementary
#1D4F99 #99291D #8D991D
monochromatic
#091A32 #133466 #1D4F99 #276ACC #528BDE

Accessibility & contrast

On white

7.98
#1D4F99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#1D4F99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4F99
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4F99#FFFFFF#000000##FFFFFF
##1D4F991.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25579C
Deuteranopia (green-blind)
#004B98
Tritanopia (blue-blind)
#00616C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #1d4f99;
/* rgb */ color: rgb(29, 79, 153);
/* oklch */ color: oklch(43.7% 0.132 258.6);
Tailwind
colors: {
  custom: {
    50: '#6e7fb7',
    500: '#1d4f99',
    950: '#000000',
  },
}
SCSS
$custom: #1d4f99;
$custom-light: #6e7fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4f99",
  "rgb": {
    "r": 29,
    "g": 79,
    "b": 153
  },
  "hsl": {
    "h": 215.806,
    "s": 68.132,
    "l": 35.686
  },
  "oklch": {
    "l": 0.43714,
    "c": 0.13243,
    "h": 258.6
  },
  "luminance": 0.08153
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1D4F99

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

Preview Lab → · Contrast checker → · Palette generator →

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