#1D4A99#1D4A99

#1D4A99 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 42.6% C 0.139 H 260.8°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#1D4A99
RGBrgb(29, 74, 153)
HSLhsl(218, 68%, 36%)
HSVhsv(218, 81%, 60%)
CMYKcmyk(81%, 51.6%, 0%, 40%)
CIE-LABlab(32.83, 14.90, -47.55)
CIE-LCHlch(32.83, 49.83, 287.40°)
OKLaboklab(42.59% -0.0223 -0.1369)
OKLCHoklch(42.59% 0.139 260.8)
XYZxyz(8.7032, 7.4576, 31.1116)
Luminance0.0746 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4A99 #996C1D
analogous
#1D8899 #1D4A99 #2E1D99
triadic
#1D4A99 #991D4A #4A991D
tetradic
#1D4A99 #991D88 #996C1D #1D992E
square
#1D4A99 #991D88 #996C1D #1D992E
split-complementary
#1D4A99 #992E1D #88991D
monochromatic
#091832 #133166 #1D4A99 #2763CC #5285DE

Accessibility & contrast

On white

8.43
#1D4A99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D4A99
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4A99#FFFFFF#000000##FFFFFF
##1D4A991.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17539C
Deuteranopia (green-blind)
#004897
Tritanopia (blue-blind)
#005D6A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #1d4a99;
/* rgb */ color: rgb(29, 74, 153);
/* oklch */ color: oklch(42.6% 0.139 260.8);
Tailwind
colors: {
  custom: {
    50: '#6e7bb8',
    500: '#1d4a99',
    950: '#000000',
  },
}
SCSS
$custom: #1d4a99;
$custom-light: #6e7bb8;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4a99",
  "rgb": {
    "r": 29,
    "g": 74,
    "b": 153
  },
  "hsl": {
    "h": 218.226,
    "s": 68.132,
    "l": 35.686
  },
  "oklch": {
    "l": 0.42586,
    "c": 0.13869,
    "h": 260.8
  },
  "luminance": 0.07459
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1D4A99

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

Preview Lab → · Contrast checker → · Palette generator →

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