#2A47AC#2A47AC

#2A47AC is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.0% C 0.165 H 267.0°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#2A47AC
RGBrgb(42, 71, 172)
HSLhsl(227, 61%, 42%)
HSVhsv(227, 76%, 67%)
CMYKcmyk(75.6%, 58.7%, 0%, 32.5%)
CIE-LABlab(33.93, 25.84, -57.15)
CIE-LCHlch(33.93, 62.72, 294.33°)
OKLaboklab(44.02% -0.0086 -0.165)
OKLCHoklch(44.02% 0.165 267)
XYZxyz(10.6519, 7.9761, 39.9999)
Luminance0.0798 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A47AC #AC8F2A
analogous
#2A88AC #2A47AC #4E2AAC
triadic
#2A47AC #AC2A47 #47AC2A
tetradic
#2A47AC #AC2A88 #AC8F2A #2AAC4E
square
#2A47AC #AC2A88 #AC8F2A #2AAC4E
split-complementary
#2A47AC #AC4E2A #88AC2A
monochromatic
#121E4A #1E337B #2A47AC #4262D1 #738BDD

Accessibility & contrast

On white

8.09
#2A47AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#2A47AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2A47AC#FFFFFF#000000##FFFFFF
##2A47AC1.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AF
Deuteranopia (green-blind)
#004AAA
Tritanopia (blue-blind)
#006072
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2a47ac;
/* rgb */ color: rgb(42, 71, 172);
/* oklch */ color: oklch(44.0% 0.165 267.0);
Tailwind
colors: {
  custom: {
    50: '#7779c6',
    500: '#2a47ac',
    950: '#000000',
  },
}
SCSS
$custom: #2a47ac;
$custom-light: #7779c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2a47ac",
  "rgb": {
    "r": 42,
    "g": 71,
    "b": 172
  },
  "hsl": {
    "h": 226.615,
    "s": 60.748,
    "l": 41.961
  },
  "oklch": {
    "l": 0.44017,
    "c": 0.16518,
    "h": 267
  },
  "luminance": 0.07977
}

Semantic roles & 50–950 ramp

primary
#2A47AC
secondary
#C4B16D
accent
#C044E4
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2A47AC

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

Preview Lab → · Contrast checker → · Palette generator →

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