#1D47AE#1D47AE

#1D47AE is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.7% C 0.171 H 263.8°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#1D47AE
RGBrgb(29, 71, 174)
HSLhsl(223, 71%, 40%)
HSVhsv(223, 83%, 68%)
CMYKcmyk(83.3%, 59.2%, 0%, 31.8%)
CIE-LABlab(33.61, 25.29, -58.89)
CIE-LCHlch(33.61, 64.09, 293.24°)
OKLaboklab(43.69% -0.0184 -0.1703)
OKLCHoklch(43.69% 0.171 263.8)
XYZxyz(10.3972, 7.8224, 40.9981)
Luminance0.0782 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D47AE #AE841D
analogous
#1D8FAE #1D47AE #3C1DAE
triadic
#1D47AE #AE1D47 #47AE1D
tetradic
#1D47AE #AE1D8F #AE841D #1DAE3C
square
#1D47AE #AE1D8F #AE841D #1DAE3C
split-complementary
#1D47AE #AE3C1D #8FAE1D
monochromatic
#0C1C45 #14327A #1D47AE #2C5FDC #6187E5

Accessibility & contrast

On white

8.19
#1D47AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#1D47AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D47AE
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D47AE#FFFFFF#000000##FFFFFF
##1D47AE1.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B1
Deuteranopia (green-blind)
#0049AC
Tritanopia (blue-blind)
#006173
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #1d47ae;
/* rgb */ color: rgb(29, 71, 174);
/* oklch */ color: oklch(43.7% 0.171 263.8);
Tailwind
colors: {
  custom: {
    50: '#7479c7',
    500: '#1d47ae',
    950: '#000000',
  },
}
SCSS
$custom: #1d47ae;
$custom-light: #7479c7;
$custom-dark: #000000;
JSON
{
  "hex": "#1d47ae",
  "rgb": {
    "r": 29,
    "g": 71,
    "b": 174
  },
  "hsl": {
    "h": 222.621,
    "s": 71.429,
    "l": 39.804
  },
  "oklch": {
    "l": 0.4369,
    "c": 0.17127,
    "h": 263.8
  },
  "luminance": 0.07824
}

Semantic roles & 50–950 ramp

primary
#1D47AE
secondary
#C9AA5E
accent
#BA3AEE
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #1D47AE

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

Preview Lab → · Contrast checker → · Palette generator →

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