#1D4D92#1D4D92

#1D4D92 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 42.7% C 0.125 H 258.1°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#1D4D92
RGBrgb(29, 77, 146)
HSLhsl(215, 67%, 34%)
HSVhsv(215, 80%, 57%)
CMYKcmyk(80.1%, 47.3%, 0%, 42.7%)
CIE-LABlab(33.23, 10.05, -42.64)
CIE-LCHlch(33.23, 43.81, 283.27°)
OKLaboklab(42.74% -0.0258 -0.1224)
OKLCHoklch(42.74% 0.125 258.1)
XYZxyz(8.3470, 7.6433, 28.2239)
Luminance0.0764 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4D92 #92621D
analogous
#1D8892 #1D4D92 #281D92
triadic
#1D4D92 #921D4D #4D921D
tetradic
#1D4D92 #921D88 #92621D #1D9228
square
#1D4D92 #921D88 #92621D #1D9228
split-complementary
#1D4D92 #92281D #88921D
monochromatic
#09172C #13325F #1D4D92 #2768C5 #4E88DC

Accessibility & contrast

On white

8.30
#1D4D92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#1D4D92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4D92
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4D92#FFFFFF#000000##FFFFFF
##1D4D921.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285495
Deuteranopia (green-blind)
#094991
Tritanopia (blue-blind)
#005D68
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #1d4d92;
/* rgb */ color: rgb(29, 77, 146);
/* oklch */ color: oklch(42.7% 0.125 258.1);
Tailwind
colors: {
  custom: {
    50: '#6c7eb2',
    500: '#1d4d92',
    950: '#000000',
  },
}
SCSS
$custom: #1d4d92;
$custom-light: #6c7eb2;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4d92",
  "rgb": {
    "r": 29,
    "g": 77,
    "b": 146
  },
  "hsl": {
    "h": 215.385,
    "s": 66.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.42739,
    "c": 0.1251,
    "h": 258.1
  },
  "luminance": 0.07644
}

Semantic roles & 50–950 ramp

primary
#1D4D92
secondary
#BE904C
accent
#A33EEA
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #1D4D92

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

Preview Lab → · Contrast checker → · Palette generator →

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