#1D47A8#1D47A8

#1D47A8 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.2% C 0.163 H 263.4°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#1D47A8
RGBrgb(29, 71, 168)
HSLhsl(222, 71%, 39%)
HSVhsv(222, 83%, 66%)
CMYKcmyk(82.7%, 57.7%, 0%, 34.1%)
CIE-LABlab(33.12, 22.93, -56.10)
CIE-LCHlch(33.12, 60.61, 292.23°)
OKLaboklab(43.17% -0.0187 -0.1621)
OKLCHoklch(43.17% 0.163 263.4)
XYZxyz(9.8253, 7.5936, 37.9861)
Luminance0.0760 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D47A8 #A87E1D
analogous
#1D8CA8 #1D47A8 #391DA8
triadic
#1D47A8 #A81D47 #47A81D
tetradic
#1D47A8 #A81D8C #A87E1D #1DA839
square
#1D47A8 #A81D8C #A87E1D #1DA839
split-complementary
#1D47A8 #A8391D #8CA81D
monochromatic
#0B1B40 #143174 #1D47A8 #285EDA #5C85E3

Accessibility & contrast

On white

8.34
#1D47A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#1D47A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D47A8
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D47A8#FFFFFF#000000##FFFFFF
##1D47A81.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AB
Deuteranopia (green-blind)
#0048A6
Tritanopia (blue-blind)
#005F70
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #1d47a8;
/* rgb */ color: rgb(29, 71, 168);
/* oklch */ color: oklch(43.2% 0.163 263.4);
Tailwind
colors: {
  custom: {
    50: '#7279c3',
    500: '#1d47a8',
    950: '#000000',
  },
}
SCSS
$custom: #1d47a8;
$custom-light: #7279c3;
$custom-dark: #000000;
JSON
{
  "hex": "#1d47a8",
  "rgb": {
    "r": 29,
    "g": 71,
    "b": 168
  },
  "hsl": {
    "h": 221.871,
    "s": 70.558,
    "l": 38.627
  },
  "oklch": {
    "l": 0.43171,
    "c": 0.16318,
    "h": 263.4
  },
  "luminance": 0.07595
}

Semantic roles & 50–950 ramp

primary
#1D47A8
secondary
#C7A65A
accent
#B73AED
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#090912
muted
#7B7B81

Preview Lab

Preview with #1D47A8

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

Preview Lab → · Contrast checker → · Palette generator →

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