#1D4EAC#1D4EAC

#1D4EAC is a dark, vivid blue. Relative luminance 0.087; OKLCH L 45.0% C 0.160 H 261.7°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#1D4EAC
RGBrgb(29, 78, 172)
HSLhsl(219, 71%, 39%)
HSVhsv(219, 83%, 67%)
CMYKcmyk(83.1%, 54.7%, 0%, 32.5%)
CIE-LABlab(35.37, 19.79, -54.82)
CIE-LCHlch(35.37, 58.29, 289.85°)
OKLaboklab(44.97% -0.023 -0.1582)
OKLCHoklch(44.97% 0.16 261.7)
XYZxyz(10.6748, 8.6872, 40.1359)
Luminance0.0869 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4EAC #AC7B1D
analogous
#1D95AC #1D4EAC #341DAC
triadic
#1D4EAC #AC1D4E #4EAC1D
tetradic
#1D4EAC #AC1D95 #AC7B1D #1DAC34
square
#1D4EAC #AC1D95 #AC7B1D #1DAC34
split-complementary
#1D4EAC #AC341D #95AC1D
monochromatic
#0B1F43 #143678 #1D4EAC #2B67DB #5F8DE4

Accessibility & contrast

On white

7.67
#1D4EAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#1D4EAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4EAC
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4EAC#FFFFFF#000000##FFFFFF
##1D4EAC1.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AAF
Deuteranopia (green-blind)
#004DAA
Tritanopia (blue-blind)
#006575
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #1d4eac;
/* rgb */ color: rgb(29, 78, 172);
/* oklch */ color: oklch(45.0% 0.160 261.7);
Tailwind
colors: {
  custom: {
    50: '#737ec5',
    500: '#1d4eac',
    950: '#000000',
  },
}
SCSS
$custom: #1d4eac;
$custom-light: #737ec5;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4eac",
  "rgb": {
    "r": 29,
    "g": 78,
    "b": 172
  },
  "hsl": {
    "h": 219.441,
    "s": 71.144,
    "l": 39.412
  },
  "oklch": {
    "l": 0.44972,
    "c": 0.15988,
    "h": 261.7
  },
  "luminance": 0.08689
}

Semantic roles & 50–950 ramp

primary
#1D4EAC
secondary
#C8A35C
accent
#B03AEE
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#090A13
muted
#7B7C82

Preview Lab

Preview with #1D4EAC

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

Preview Lab → · Contrast checker → · Palette generator →

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