#1D4899#1D4899

#1D4899 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.1% C 0.141 H 261.6°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#1D4899
RGBrgb(29, 72, 153)
HSLhsl(219, 68%, 36%)
HSVhsv(219, 81%, 60%)
CMYKcmyk(81%, 52.9%, 0%, 40%)
CIE-LABlab(32.25, 16.27, -48.48)
CIE-LCHlch(32.25, 51.14, 288.55°)
OKLaboklab(42.14% -0.0207 -0.1397)
OKLCHoklch(42.14% 0.141 261.6)
XYZxyz(8.5718, 7.1948, 31.0678)
Luminance0.0720 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4899 #996E1D
analogous
#1D8699 #1D4899 #301D99
triadic
#1D4899 #991D48 #48991D
tetradic
#1D4899 #991D86 #996E1D #1D9930
square
#1D4899 #991D86 #996E1D #1D9930
split-complementary
#1D4899 #99301D #86991D
monochromatic
#091832 #133066 #1D4899 #2760CC #5283DE

Accessibility & contrast

On white

8.61
#1D4899 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#1D4899 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4899
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4899#FFFFFF#000000##FFFFFF
##1D48991.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F529C
Deuteranopia (green-blind)
#004797
Tritanopia (blue-blind)
#005C69
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #1d4899;
/* rgb */ color: rgb(29, 72, 153);
/* oklch */ color: oklch(42.1% 0.141 261.6);
Tailwind
colors: {
  custom: {
    50: '#6e7ab8',
    500: '#1d4899',
    950: '#000000',
  },
}
SCSS
$custom: #1d4899;
$custom-light: #6e7ab8;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4899",
  "rgb": {
    "r": 29,
    "g": 72,
    "b": 153
  },
  "hsl": {
    "h": 219.194,
    "s": 68.132,
    "l": 35.686
  },
  "oklch": {
    "l": 0.42143,
    "c": 0.14122,
    "h": 261.6
  },
  "luminance": 0.07196
}

Semantic roles & 50–950 ramp

primary
#1D4899
secondary
#C19A51
accent
#AF3DEB
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #1D4899

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

Preview Lab → · Contrast checker → · Palette generator →

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