#1D47A0#1D47A0

#1D47A0 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.5% C 0.152 H 262.7°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#1D47A0
RGBrgb(29, 71, 160)
HSLhsl(221, 69%, 37%)
HSVhsv(221, 82%, 63%)
CMYKcmyk(81.9%, 55.6%, 0%, 37.3%)
CIE-LABlab(32.49, 19.75, -52.32)
CIE-LCHlch(32.49, 55.93, 290.68°)
OKLaboklab(42.5% -0.0193 -0.151)
OKLCHoklch(42.5% 0.152 262.7)
XYZxyz(9.1028, 7.3047, 34.1811)
Luminance0.0731 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D47A0 #A0761D
analogous
#1D89A0 #1D47A0 #341DA0
triadic
#1D47A0 #A01D47 #47A01D
tetradic
#1D47A0 #A01D89 #A0761D #1DA034
square
#1D47A0 #A01D89 #A0761D #1DA034
split-complementary
#1D47A0 #A0341D #89A01D
monochromatic
#0A1938 #14306C #1D47A0 #265ED4 #5783E1

Accessibility & contrast

On white

8.53
#1D47A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#1D47A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D47A0
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D47A0#FFFFFF#000000##FFFFFF
##1D47A01.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A3
Deuteranopia (green-blind)
#00479E
Tritanopia (blue-blind)
#005D6C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #1d47a0;
/* rgb */ color: rgb(29, 71, 160);
/* oklch */ color: oklch(42.5% 0.152 262.7);
Tailwind
colors: {
  custom: {
    50: '#7079bd',
    500: '#1d47a0',
    950: '#000000',
  },
}
SCSS
$custom: #1d47a0;
$custom-light: #7079bd;
$custom-dark: #000000;
JSON
{
  "hex": "#1d47a0",
  "rgb": {
    "r": 29,
    "g": 71,
    "b": 160
  },
  "hsl": {
    "h": 220.763,
    "s": 69.312,
    "l": 37.059
  },
  "oklch": {
    "l": 0.42496,
    "c": 0.15223,
    "h": 262.7
  },
  "luminance": 0.07306
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1D47A0

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

Preview Lab → · Contrast checker → · Palette generator →

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