#1D4D91#1D4D91

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

Color values

HEX#1D4D91
RGBrgb(29, 77, 145)
HSLhsl(215, 67%, 34%)
HSVhsv(215, 80%, 57%)
CMYKcmyk(80%, 46.9%, 0%, 43.1%)
CIE-LABlab(33.16, 9.65, -42.14)
CIE-LCHlch(33.16, 43.23, 282.90°)
OKLaboklab(42.67% -0.026 -0.1209)
OKLCHoklch(42.67% 0.124 257.9)
XYZxyz(8.2695, 7.6123, 27.8161)
Luminance0.0761 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4D91 #91611D
analogous
#1D8791 #1D4D91 #271D91
triadic
#1D4D91 #911D4D #4D911D
tetradic
#1D4D91 #911D87 #91611D #1D9127
square
#1D4D91 #911D87 #91611D #1D9127
split-complementary
#1D4D91 #91271D #87911D
monochromatic
#09172B #13325E #1D4D91 #2768C4 #4D88DB

Accessibility & contrast

On white

8.32
#1D4D91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#1D4D91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4D91
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4D91#FFFFFF#000000##FFFFFF
##1D4D911.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295494
Deuteranopia (green-blind)
#0C4990
Tritanopia (blue-blind)
#005D68
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #1d4d91;
/* rgb */ color: rgb(29, 77, 145);
/* oklch */ color: oklch(42.7% 0.124 257.9);
Tailwind
colors: {
  custom: {
    50: '#6c7eb2',
    500: '#1d4d91',
    950: '#000000',
  },
}
SCSS
$custom: #1d4d91;
$custom-light: #6c7eb2;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4d91",
  "rgb": {
    "r": 29,
    "g": 77,
    "b": 145
  },
  "hsl": {
    "h": 215.172,
    "s": 66.667,
    "l": 34.118
  },
  "oklch": {
    "l": 0.42666,
    "c": 0.12369,
    "h": 257.9
  },
  "luminance": 0.07613
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1D4D91

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

Preview Lab → · Contrast checker → · Palette generator →

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