#1D4B95#1D4B95

#1D4B95 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 42.5% C 0.132 H 259.7°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#1D4B95
RGBrgb(29, 75, 149)
HSLhsl(217, 67%, 35%)
HSVhsv(217, 81%, 58%)
CMYKcmyk(80.5%, 49.7%, 0%, 41.6%)
CIE-LABlab(32.84, 12.61, -45.10)
CIE-LCHlch(32.84, 46.83, 285.62°)
OKLaboklab(42.5% -0.0237 -0.1297)
OKLCHoklch(42.5% 0.132 259.7)
XYZxyz(8.4456, 7.4623, 29.4232)
Luminance0.0746 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4B95 #95671D
analogous
#1D8795 #1D4B95 #2B1D95
triadic
#1D4B95 #951D4B #4B951D
tetradic
#1D4B95 #951D87 #95671D #1D952B
square
#1D4B95 #951D87 #95671D #1D952B
split-complementary
#1D4B95 #952B1D #87951D
monochromatic
#09172F #133162 #1D4B95 #2765C8 #5086DD

Accessibility & contrast

On white

8.42
#1D4B95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#1D4B95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4B95
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4B95#FFFFFF#000000##FFFFFF
##1D4B951.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#205398
Deuteranopia (green-blind)
#004894
Tritanopia (blue-blind)
#005D69
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #1d4b95;
/* rgb */ color: rgb(29, 75, 149);
/* oklch */ color: oklch(42.5% 0.132 259.7);
Tailwind
colors: {
  custom: {
    50: '#6d7cb5',
    500: '#1d4b95',
    950: '#000000',
  },
}
SCSS
$custom: #1d4b95;
$custom-light: #6d7cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4b95",
  "rgb": {
    "r": 29,
    "g": 75,
    "b": 149
  },
  "hsl": {
    "h": 217,
    "s": 67.416,
    "l": 34.902
  },
  "oklch": {
    "l": 0.42503,
    "c": 0.13181,
    "h": 259.7
  },
  "luminance": 0.07463
}

Semantic roles & 50–950 ramp

primary
#1D4B95
secondary
#C0944E
accent
#A83DEA
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #1D4B95

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

Preview Lab → · Contrast checker → · Palette generator →

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