#1D4BAD#1D4BAD

#1D4BAD is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.4% C 0.165 H 262.7°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#1D4BAD
RGBrgb(29, 75, 173)
HSLhsl(221, 71%, 40%)
HSVhsv(221, 83%, 68%)
CMYKcmyk(83.2%, 56.6%, 0%, 32.2%)
CIE-LABlab(34.62, 22.21, -56.65)
CIE-LCHlch(34.62, 60.85, 291.41°)
OKLaboklab(44.42% -0.0209 -0.1636)
OKLCHoklch(44.42% 0.165 262.7)
XYZxyz(10.5629, 8.3092, 40.5742)
Luminance0.0831 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4BAD #AD7F1D
analogous
#1D93AD #1D4BAD #371DAD
triadic
#1D4BAD #AD1D4B #4BAD1D
tetradic
#1D4BAD #AD1D93 #AD7F1D #1DAD37
square
#1D4BAD #AD1D93 #AD7F1D #1DAD37
split-complementary
#1D4BAD #AD371D #93AD1D
monochromatic
#0B1E44 #143479 #1D4BAD #2C64DC #608AE4

Accessibility & contrast

On white

7.89
#1D4BAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#1D4BAD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4BAD
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4BAD#FFFFFF#000000##FFFFFF
##1D4BAD1.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B0
Deuteranopia (green-blind)
#004BAB
Tritanopia (blue-blind)
#006474
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #1d4bad;
/* rgb */ color: rgb(29, 75, 173);
/* oklch */ color: oklch(44.4% 0.165 262.7);
Tailwind
colors: {
  custom: {
    50: '#737cc6',
    500: '#1d4bad',
    950: '#000000',
  },
}
SCSS
$custom: #1d4bad;
$custom-light: #737cc6;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4bad",
  "rgb": {
    "r": 29,
    "g": 75,
    "b": 173
  },
  "hsl": {
    "h": 220.833,
    "s": 71.287,
    "l": 39.608
  },
  "oklch": {
    "l": 0.44423,
    "c": 0.16497,
    "h": 262.7
  },
  "luminance": 0.0831
}

Semantic roles & 50–950 ramp

primary
#1D4BAD
secondary
#C9A65D
accent
#B43AEE
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #1D4BAD

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

Preview Lab → · Contrast checker → · Palette generator →

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