#1D4BA1#1D4BA1

#1D4BA1 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.4% C 0.149 H 261.5°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#1D4BA1
RGBrgb(29, 75, 161)
HSLhsl(219, 69%, 37%)
HSVhsv(219, 82%, 63%)
CMYKcmyk(82%, 53.4%, 0%, 36.9%)
CIE-LABlab(33.70, 17.43, -50.96)
CIE-LCHlch(33.70, 53.86, 288.89°)
OKLaboklab(43.44% -0.022 -0.1469)
OKLCHoklch(43.44% 0.149 261.5)
XYZxyz(9.4535, 7.8654, 34.7312)
Luminance0.0787 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4BA1 #A1731D
analogous
#1D8DA1 #1D4BA1 #311DA1
triadic
#1D4BA1 #A11D4B #4BA11D
tetradic
#1D4BA1 #A11D8D #A1731D #1DA131
square
#1D4BA1 #A11D8D #A1731D #1DA131
split-complementary
#1D4BA1 #A1311D #8DA11D
monochromatic
#0A1B39 #14336D #1D4BA1 #2663D5 #5887E1

Accessibility & contrast

On white

8.16
#1D4BA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#1D4BA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4BA1
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4BA1#FFFFFF#000000##FFFFFF
##1D4BA11.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A56A4
Deuteranopia (green-blind)
#004A9F
Tritanopia (blue-blind)
#00606E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #1d4ba1;
/* rgb */ color: rgb(29, 75, 161);
/* oklch */ color: oklch(43.4% 0.149 261.5);
Tailwind
colors: {
  custom: {
    50: '#707cbd',
    500: '#1d4ba1',
    950: '#000000',
  },
}
SCSS
$custom: #1d4ba1;
$custom-light: #707cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4ba1",
  "rgb": {
    "r": 29,
    "g": 75,
    "b": 161
  },
  "hsl": {
    "h": 219.091,
    "s": 69.474,
    "l": 37.255
  },
  "oklch": {
    "l": 0.43439,
    "c": 0.14857,
    "h": 261.5
  },
  "luminance": 0.07867
}

Semantic roles & 50–950 ramp

primary
#1D4BA1
secondary
#C49E55
accent
#AF3CEC
background
#F7F7FB
surface
#EDEEF7
border
#C8C9D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #1D4BA1

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

Preview Lab → · Contrast checker → · Palette generator →

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