#1D4B9E#1D4B9E

#1D4B9E is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.2% C 0.144 H 261.1°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#1D4B9E
RGBrgb(29, 75, 158)
HSLhsl(219, 69%, 37%)
HSVhsv(219, 82%, 62%)
CMYKcmyk(81.6%, 52.5%, 0%, 38%)
CIE-LABlab(33.48, 16.23, -49.51)
CIE-LCHlch(33.48, 52.10, 288.15°)
OKLaboklab(43.2% -0.0224 -0.1426)
OKLCHoklch(43.2% 0.144 261.1)
XYZxyz(9.1921, 7.7609, 33.3547)
Luminance0.0776 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4B9E #9E701D
analogous
#1D8C9E #1D4B9E #301D9E
triadic
#1D4B9E #9E1D4B #4B9E1D
tetradic
#1D4B9E #9E1D8C #9E701D #1D9E30
square
#1D4B9E #9E1D8C #9E701D #1D9E30
split-complementary
#1D4B9E #9E301D #8C9E1D
monochromatic
#0A1A37 #14326A #1D4B9E #2664D2 #5687E0

Accessibility & contrast

On white

8.23
#1D4B9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#1D4B9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4B9E
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4B9E#FFFFFF#000000##FFFFFF
##1D4B9E1.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1255A1
Deuteranopia (green-blind)
#00499C
Tritanopia (blue-blind)
#005F6D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #1d4b9e;
/* rgb */ color: rgb(29, 75, 158);
/* oklch */ color: oklch(43.2% 0.144 261.1);
Tailwind
colors: {
  custom: {
    50: '#6f7cbb',
    500: '#1d4b9e',
    950: '#000000',
  },
}
SCSS
$custom: #1d4b9e;
$custom-light: #6f7cbb;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4b9e",
  "rgb": {
    "r": 29,
    "g": 75,
    "b": 158
  },
  "hsl": {
    "h": 218.605,
    "s": 68.984,
    "l": 36.667
  },
  "oklch": {
    "l": 0.432,
    "c": 0.1444,
    "h": 261.1
  },
  "luminance": 0.07762
}

Semantic roles & 50–950 ramp

primary
#1D4B9E
secondary
#C39B54
accent
#AD3CEC
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #1D4B9E

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

Preview Lab → · Contrast checker → · Palette generator →

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