#1D4D97#1D4D97

#1D4D97 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.1% C 0.132 H 259.1°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#1D4D97
RGBrgb(29, 77, 151)
HSLhsl(216, 68%, 35%)
HSVhsv(216, 81%, 59%)
CMYKcmyk(80.8%, 49%, 0%, 40.8%)
CIE-LABlab(33.57, 12.06, -45.14)
CIE-LCHlch(33.57, 46.72, 284.96°)
OKLaboklab(43.11% -0.025 -0.1297)
OKLCHoklch(43.11% 0.132 259.1)
XYZxyz(8.7444, 7.8023, 30.3173)
Luminance0.0780 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4D97 #97671D
analogous
#1D8A97 #1D4D97 #2A1D97
triadic
#1D4D97 #971D4D #4D971D
tetradic
#1D4D97 #971D8A #97671D #1D972A
square
#1D4D97 #971D8A #97671D #1D972A
split-complementary
#1D4D97 #972A1D #8A971D
monochromatic
#091930 #133364 #1D4D97 #2767CA #5188DE

Accessibility & contrast

On white

8.20
#1D4D97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#1D4D97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4D97
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4D97#FFFFFF#000000##FFFFFF
##1D4D971.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23559A
Deuteranopia (green-blind)
#004A96
Tritanopia (blue-blind)
#005F6A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #1d4d97;
/* rgb */ color: rgb(29, 77, 151);
/* oklch */ color: oklch(43.1% 0.132 259.1);
Tailwind
colors: {
  custom: {
    50: '#6d7eb6',
    500: '#1d4d97',
    950: '#000000',
  },
}
SCSS
$custom: #1d4d97;
$custom-light: #6d7eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4d97",
  "rgb": {
    "r": 29,
    "g": 77,
    "b": 151
  },
  "hsl": {
    "h": 216.393,
    "s": 67.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.43109,
    "c": 0.13212,
    "h": 259.1
  },
  "luminance": 0.07803
}

Semantic roles & 50–950 ramp

primary
#1D4D97
secondary
#C0944F
accent
#A63DEB
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #1D4D97

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

Preview Lab → · Contrast checker → · Palette generator →

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