#1D4897#1D4897

#1D4897 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.0% C 0.138 H 261.3°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#1D4897
RGBrgb(29, 72, 151)
HSLhsl(219, 68%, 35%)
HSVhsv(219, 81%, 59%)
CMYKcmyk(80.8%, 52.3%, 0%, 40.8%)
CIE-LABlab(32.10, 15.46, -47.51)
CIE-LCHlch(32.10, 49.96, 288.03°)
OKLaboklab(41.99% -0.021 -0.1368)
OKLCHoklch(41.99% 0.138 261.3)
XYZxyz(8.4080, 7.1293, 30.2051)
Luminance0.0713 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4897 #976C1D
analogous
#1D8597 #1D4897 #2F1D97
triadic
#1D4897 #971D48 #48971D
tetradic
#1D4897 #971D85 #976C1D #1D972F
square
#1D4897 #971D85 #976C1D #1D972F
split-complementary
#1D4897 #972F1D #85971D
monochromatic
#091730 #133064 #1D4897 #2760CA #5182DE

Accessibility & contrast

On white

8.66
#1D4897 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#1D4897 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4897
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4897#FFFFFF#000000##FFFFFF
##1D48971.008.662.438.66
#FFFFFF8.661.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13519A
Deuteranopia (green-blind)
#004695
Tritanopia (blue-blind)
#005B68
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #1d4897;
/* rgb */ color: rgb(29, 72, 151);
/* oklch */ color: oklch(42.0% 0.138 261.3);
Tailwind
colors: {
  custom: {
    50: '#6e7ab6',
    500: '#1d4897',
    950: '#000000',
  },
}
SCSS
$custom: #1d4897;
$custom-light: #6e7ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4897",
  "rgb": {
    "r": 29,
    "g": 72,
    "b": 151
  },
  "hsl": {
    "h": 218.852,
    "s": 67.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.41985,
    "c": 0.13842,
    "h": 261.3
  },
  "luminance": 0.0713
}

Semantic roles & 50–950 ramp

primary
#1D4897
secondary
#C0994F
accent
#AD3DEB
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #1D4897

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

Preview Lab → · Contrast checker → · Palette generator →

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