#1D4997#1D4997

#1D4997 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.2% C 0.137 H 260.9°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#1D4997
RGBrgb(29, 73, 151)
HSLhsl(218, 68%, 35%)
HSVhsv(218, 81%, 59%)
CMYKcmyk(80.8%, 51.7%, 0%, 40.8%)
CIE-LABlab(32.39, 14.78, -47.04)
CIE-LCHlch(32.39, 49.30, 287.44°)
OKLaboklab(42.21% -0.0218 -0.1354)
OKLCHoklch(42.21% 0.137 260.9)
XYZxyz(8.4731, 7.2597, 30.2268)
Luminance0.0726 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4997 #976B1D
analogous
#1D8697 #1D4997 #2E1D97
triadic
#1D4997 #971D49 #49971D
tetradic
#1D4997 #971D86 #976B1D #1D972E
square
#1D4997 #971D86 #976B1D #1D972E
split-complementary
#1D4997 #972E1D #86971D
monochromatic
#091730 #133064 #1D4997 #2762CA #5184DE

Accessibility & contrast

On white

8.56
#1D4997 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#1D4997 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4997
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4997#FFFFFF#000000##FFFFFF
##1D49971.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17529A
Deuteranopia (green-blind)
#004795
Tritanopia (blue-blind)
#005C69
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #1d4997;
/* rgb */ color: rgb(29, 73, 151);
/* oklch */ color: oklch(42.2% 0.137 260.9);
Tailwind
colors: {
  custom: {
    50: '#6d7bb6',
    500: '#1d4997',
    950: '#000000',
  },
}
SCSS
$custom: #1d4997;
$custom-light: #6d7bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4997",
  "rgb": {
    "r": 29,
    "g": 73,
    "b": 151
  },
  "hsl": {
    "h": 218.361,
    "s": 67.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.42207,
    "c": 0.13715,
    "h": 260.9
  },
  "luminance": 0.07261
}

Semantic roles & 50–950 ramp

primary
#1D4997
secondary
#C0984F
accent
#AC3DEB
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #1D4997

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

Preview Lab → · Contrast checker → · Palette generator →

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