#1D4CA7#1D4CA7

#1D4CA7 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.1% C 0.156 H 261.8°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#1D4CA7
RGBrgb(29, 76, 167)
HSLhsl(220, 70%, 38%)
HSVhsv(220, 83%, 65%)
CMYKcmyk(82.6%, 54.5%, 0%, 34.5%)
CIE-LABlab(34.43, 19.15, -53.37)
CIE-LCHlch(34.43, 56.70, 289.74°)
OKLaboklab(44.14% -0.0221 -0.154)
OKLCHoklch(44.14% 0.156 261.8)
XYZxyz(10.0637, 8.2189, 37.6077)
Luminance0.0822 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4CA7 #A7781D
analogous
#1D91A7 #1D4CA7 #331DA7
triadic
#1D4CA7 #A71D4C #4CA71D
tetradic
#1D4CA7 #A71D91 #A7781D #1DA733
square
#1D4CA7 #A71D91 #A7781D #1DA733
split-complementary
#1D4CA7 #A7331D #91A71D
monochromatic
#0B1D3F #143473 #1D4CA7 #2864DA #5C8AE3

Accessibility & contrast

On white

7.94
#1D4CA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#1D4CA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4CA7
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4CA7#FFFFFF#000000##FFFFFF
##1D4CA71.007.942.647.94
#FFFFFF7.941.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AA
Deuteranopia (green-blind)
#004BA5
Tritanopia (blue-blind)
#006272
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #1d4ca7;
/* rgb */ color: rgb(29, 76, 167);
/* oklch */ color: oklch(44.1% 0.156 261.8);
Tailwind
colors: {
  custom: {
    50: '#717dc2',
    500: '#1d4ca7',
    950: '#000000',
  },
}
SCSS
$custom: #1d4ca7;
$custom-light: #717dc2;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4ca7",
  "rgb": {
    "r": 29,
    "g": 76,
    "b": 167
  },
  "hsl": {
    "h": 219.565,
    "s": 70.408,
    "l": 38.431
  },
  "oklch": {
    "l": 0.44139,
    "c": 0.15556,
    "h": 261.8
  },
  "luminance": 0.0822
}

Semantic roles & 50–950 ramp

primary
#1D4CA7
secondary
#C7A159
accent
#B03BED
background
#F7F7FC
surface
#EDEEF8
border
#C8C9D1
text
#090912
muted
#7B7B81

Preview Lab

Preview with #1D4CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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