#1D47A1#1D47A1

#1D47A1 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.6% C 0.154 H 262.8°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#1D47A1
RGBrgb(29, 71, 161)
HSLhsl(221, 69%, 37%)
HSVhsv(221, 82%, 63%)
CMYKcmyk(82%, 55.9%, 0%, 36.9%)
CIE-LABlab(32.57, 20.15, -52.80)
CIE-LCHlch(32.57, 56.51, 290.89°)
OKLaboklab(42.58% -0.0192 -0.1524)
OKLCHoklch(42.58% 0.154 262.8)
XYZxyz(9.1906, 7.3398, 34.6436)
Luminance0.0734 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D47A1 #A1771D
analogous
#1D89A1 #1D47A1 #351DA1
triadic
#1D47A1 #A11D47 #47A11D
tetradic
#1D47A1 #A11D89 #A1771D #1DA135
square
#1D47A1 #A11D89 #A1771D #1DA135
split-complementary
#1D47A1 #A1351D #89A11D
monochromatic
#0A1939 #14306D #1D47A1 #265ED5 #5883E1

Accessibility & contrast

On white

8.51
#1D47A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#1D47A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D47A1
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D47A1#FFFFFF#000000##FFFFFF
##1D47A11.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A4
Deuteranopia (green-blind)
#00479F
Tritanopia (blue-blind)
#005D6D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #1d47a1;
/* rgb */ color: rgb(29, 71, 161);
/* oklch */ color: oklch(42.6% 0.154 262.8);
Tailwind
colors: {
  custom: {
    50: '#7079be',
    500: '#1d47a1',
    950: '#000000',
  },
}
SCSS
$custom: #1d47a1;
$custom-light: #7079be;
$custom-dark: #000000;
JSON
{
  "hex": "#1d47a1",
  "rgb": {
    "r": 29,
    "g": 71,
    "b": 161
  },
  "hsl": {
    "h": 220.909,
    "s": 69.474,
    "l": 37.255
  },
  "oklch": {
    "l": 0.42579,
    "c": 0.15361,
    "h": 262.8
  },
  "luminance": 0.07341
}

Semantic roles & 50–950 ramp

primary
#1D47A1
secondary
#C4A155
accent
#B43CEC
background
#F7F7FB
surface
#EDEDF7
border
#C8C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #1D47A1

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

Preview Lab → · Contrast checker → · Palette generator →

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