#1D4D93#1D4D93

#1D4D93 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 42.8% C 0.127 H 258.3°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#1D4D93
RGBrgb(29, 77, 147)
HSLhsl(216, 67%, 35%)
HSVhsv(216, 80%, 58%)
CMYKcmyk(80.3%, 47.6%, 0%, 42.4%)
CIE-LABlab(33.30, 10.46, -43.15)
CIE-LCHlch(33.30, 44.39, 283.62°)
OKLaboklab(42.81% -0.0257 -0.1239)
OKLCHoklch(42.81% 0.127 258.3)
XYZxyz(8.4251, 7.6746, 28.6354)
Luminance0.0768 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4D93 #93631D
analogous
#1D8893 #1D4D93 #281D93
triadic
#1D4D93 #931D4D #4D931D
tetradic
#1D4D93 #931D88 #93631D #1D9328
square
#1D4D93 #931D88 #93631D #1D9328
split-complementary
#1D4D93 #93281D #88931D
monochromatic
#09172D #133260 #1D4D93 #2768C6 #4E88DC

Accessibility & contrast

On white

8.28
#1D4D93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#1D4D93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4D93
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4D93#FFFFFF#000000##FFFFFF
##1D4D931.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275496
Deuteranopia (green-blind)
#064992
Tritanopia (blue-blind)
#005E69
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #1d4d93;
/* rgb */ color: rgb(29, 77, 147);
/* oklch */ color: oklch(42.8% 0.127 258.3);
Tailwind
colors: {
  custom: {
    50: '#6c7eb3',
    500: '#1d4d93',
    950: '#000000',
  },
}
SCSS
$custom: #1d4d93;
$custom-light: #6c7eb3;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4d93",
  "rgb": {
    "r": 29,
    "g": 77,
    "b": 147
  },
  "hsl": {
    "h": 215.593,
    "s": 67.045,
    "l": 34.51
  },
  "oklch": {
    "l": 0.42812,
    "c": 0.12651,
    "h": 258.3
  },
  "luminance": 0.07676
}

Semantic roles & 50–950 ramp

primary
#1D4D93
secondary
#BF904D
accent
#A43EEA
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #1D4D93

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

Preview Lab → · Contrast checker → · Palette generator →

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