#1A47A7#1A47A7

#1A47A7 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.0% C 0.163 H 262.7°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#1A47A7
RGBrgb(26, 71, 167)
HSLhsl(221, 73%, 38%)
HSVhsv(221, 84%, 65%)
CMYKcmyk(84.4%, 57.5%, 0%, 34.5%)
CIE-LABlab(32.95, 22.27, -55.78)
CIE-LCHlch(32.95, 60.07, 291.77°)
OKLaboklab(42.99% -0.0207 -0.1612)
OKLCHoklch(42.99% 0.163 262.7)
XYZxyz(9.6518, 7.5149, 37.4935)
Luminance0.0752 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A47A7 #A77A1A
analogous
#1A8DA7 #1A47A7 #331AA7
triadic
#1A47A7 #A71A47 #47A71A
tetradic
#1A47A7 #A71A8D #A77A1A #1AA733
square
#1A47A7 #A71A8D #A77A1A #1AA733
split-complementary
#1A47A7 #A7331A #8DA71A
monochromatic
#0A1A3D #123072 #1A47A7 #225EDC #5784E5

Accessibility & contrast

On white

8.39
#1A47A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#1A47A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A47A7
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A47A7#FFFFFF#000000##FFFFFF
##1A47A71.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AA
Deuteranopia (green-blind)
#0047A5
Tritanopia (blue-blind)
#005F70
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #1a47a7;
/* rgb */ color: rgb(26, 71, 167);
/* oklch */ color: oklch(43.0% 0.163 262.7);
Tailwind
colors: {
  custom: {
    50: '#7179c2',
    500: '#1a47a7',
    950: '#000000',
  },
}
SCSS
$custom: #1a47a7;
$custom-light: #7179c2;
$custom-dark: #000000;
JSON
{
  "hex": "#1a47a7",
  "rgb": {
    "r": 26,
    "g": 71,
    "b": 167
  },
  "hsl": {
    "h": 220.851,
    "s": 73.057,
    "l": 37.843
  },
  "oklch": {
    "l": 0.42992,
    "c": 0.16253,
    "h": 262.7
  },
  "luminance": 0.07516
}

Semantic roles & 50–950 ramp

primary
#1A47A7
secondary
#C8A355
accent
#B538F0
background
#F7F7FC
surface
#EDEDF8
border
#C8C8D1
text
#090912
muted
#7B7B81

Preview Lab

Preview with #1A47A7

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

Preview Lab → · Contrast checker → · Palette generator →

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