#1D4F96#1D4F96

#1D4F96 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 43.5% C 0.128 H 257.9°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#1D4F96
RGBrgb(29, 79, 150)
HSLhsl(215, 68%, 35%)
HSVhsv(215, 81%, 59%)
CMYKcmyk(80.7%, 47.3%, 0%, 41.2%)
CIE-LABlab(34.10, 10.32, -43.68)
CIE-LCHlch(34.10, 44.88, 283.29°)
OKLaboklab(43.49% -0.0268 -0.1254)
OKLCHoklch(43.49% 0.128 257.9)
XYZxyz(8.8057, 8.0541, 29.9388)
Luminance0.0805 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4F96 #96641D
analogous
#1D8B96 #1D4F96 #281D96
triadic
#1D4F96 #961D4F #4F961D
tetradic
#1D4F96 #961D8B #96641D #1D9628
square
#1D4F96 #961D8B #96641D #1D9628
split-complementary
#1D4F96 #96281D #8B961D
monochromatic
#09192F #133463 #1D4F96 #276AC9 #508ADD

Accessibility & contrast

On white

8.04
#1D4F96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#1D4F96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4F96
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4F96#FFFFFF#000000##FFFFFF
##1D4F961.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285699
Deuteranopia (green-blind)
#084B95
Tritanopia (blue-blind)
#00606B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #1d4f96;
/* rgb */ color: rgb(29, 79, 150);
/* oklch */ color: oklch(43.5% 0.128 257.9);
Tailwind
colors: {
  custom: {
    50: '#6d7fb5',
    500: '#1d4f96',
    950: '#000000',
  },
}
SCSS
$custom: #1d4f96;
$custom-light: #6d7fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4f96",
  "rgb": {
    "r": 29,
    "g": 79,
    "b": 150
  },
  "hsl": {
    "h": 215.207,
    "s": 67.598,
    "l": 35.098
  },
  "oklch": {
    "l": 0.43494,
    "c": 0.12824,
    "h": 257.9
  },
  "luminance": 0.08055
}

Semantic roles & 50–950 ramp

primary
#1D4F96
secondary
#C0914F
accent
#A33DEA
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #1D4F96

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

Preview Lab → · Contrast checker → · Palette generator →

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