#1D4A9F#1D4A9F

#1D4A9F is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.1% C 0.147 H 261.6°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#1D4A9F
RGBrgb(29, 74, 159)
HSLhsl(219, 69%, 37%)
HSVhsv(219, 82%, 62%)
CMYKcmyk(81.8%, 53.5%, 0%, 37.6%)
CIE-LABlab(33.27, 17.31, -50.46)
CIE-LCHlch(33.27, 53.35, 288.93°)
OKLaboklab(43.06% -0.0215 -0.1455)
OKLCHoklch(43.06% 0.147 261.6)
XYZxyz(9.2112, 7.6609, 33.7874)
Luminance0.0766 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4A9F #9F721D
analogous
#1D8B9F #1D4A9F #311D9F
triadic
#1D4A9F #9F1D4A #4A9F1D
tetradic
#1D4A9F #9F1D8B #9F721D #1D9F31
square
#1D4A9F #9F1D8B #9F721D #1D9F31
split-complementary
#1D4A9F #9F311D #8B9F1D
monochromatic
#0A1A37 #14326B #1D4A9F #2662D3 #5686E0

Accessibility & contrast

On white

8.29
#1D4A9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#1D4A9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4A9F
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4A9F#FFFFFF#000000##FFFFFF
##1D4A9F1.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A54A2
Deuteranopia (green-blind)
#00499D
Tritanopia (blue-blind)
#005F6D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #1d4a9f;
/* rgb */ color: rgb(29, 74, 159);
/* oklch */ color: oklch(43.1% 0.147 261.6);
Tailwind
colors: {
  custom: {
    50: '#6f7bbc',
    500: '#1d4a9f',
    950: '#000000',
  },
}
SCSS
$custom: #1d4a9f;
$custom-light: #6f7bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4a9f",
  "rgb": {
    "r": 29,
    "g": 74,
    "b": 159
  },
  "hsl": {
    "h": 219.231,
    "s": 69.149,
    "l": 36.863
  },
  "oklch": {
    "l": 0.43061,
    "c": 0.14705,
    "h": 261.6
  },
  "luminance": 0.07662
}

Semantic roles & 50–950 ramp

primary
#1D4A9F
secondary
#C49D54
accent
#AF3CEC
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #1D4A9F

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

Preview Lab → · Contrast checker → · Palette generator →

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