#1A47AC#1A47AC

#1A47AC is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.4% C 0.169 H 263.1°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#1A47AC
RGBrgb(26, 71, 172)
HSLhsl(222, 74%, 39%)
HSVhsv(222, 85%, 67%)
CMYKcmyk(84.9%, 58.7%, 0%, 32.5%)
CIE-LABlab(33.36, 24.26, -58.11)
CIE-LCHlch(33.36, 62.97, 292.66°)
OKLaboklab(43.42% -0.0204 -0.168)
OKLCHoklch(43.42% 0.169 263.1)
XYZxyz(10.1230, 7.7034, 39.9751)
Luminance0.0770 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A47AC #AC7F1A
analogous
#1A90AC #1A47AC #361AAC
triadic
#1A47AC #AC1A47 #47AC1A
tetradic
#1A47AC #AC1A90 #AC7F1A #1AAC36
square
#1A47AC #AC1A90 #AC7F1A #1AAC36
split-complementary
#1A47AC #AC361A #90AC1A
monochromatic
#0A1B42 #123177 #1A47AC #255EDE #5A85E6

Accessibility & contrast

On white

8.26
#1A47AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#1A47AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A47AC
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A47AC#FFFFFF#000000##FFFFFF
##1A47AC1.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AF
Deuteranopia (green-blind)
#0048AA
Tritanopia (blue-blind)
#006172
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #1a47ac;
/* rgb */ color: rgb(26, 71, 172);
/* oklch */ color: oklch(43.4% 0.169 263.1);
Tailwind
colors: {
  custom: {
    50: '#7279c6',
    500: '#1a47ac',
    950: '#000000',
  },
}
SCSS
$custom: #1a47ac;
$custom-light: #7279c6;
$custom-dark: #000000;
JSON
{
  "hex": "#1a47ac",
  "rgb": {
    "r": 26,
    "g": 71,
    "b": 172
  },
  "hsl": {
    "h": 221.507,
    "s": 73.737,
    "l": 38.824
  },
  "oklch": {
    "l": 0.43424,
    "c": 0.16927,
    "h": 263.1
  },
  "luminance": 0.07705
}

Semantic roles & 50–950 ramp

primary
#1A47AC
secondary
#CAA758
accent
#B737F0
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#090913
muted
#7B7B82

Preview Lab

Preview with #1A47AC

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

Preview Lab → · Contrast checker → · Palette generator →

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