#3A47AB#3A47AB

#3A47AB is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.8% C 0.159 H 272.6°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#3A47AB
RGBrgb(58, 71, 171)
HSLhsl(233, 49%, 45%)
HSVhsv(233, 66%, 67%)
CMYKcmyk(66.1%, 58.5%, 0%, 32.9%)
CIE-LABlab(34.69, 27.69, -55.28)
CIE-LCHlch(34.69, 61.83, 296.61°)
OKLaboklab(44.78% 0.0072 -0.1591)
OKLCHoklch(44.78% 0.159 272.6)
XYZxyz(11.3464, 8.3453, 39.5330)
Luminance0.0835 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A47AB #AB9E3A
analogous
#3A80AB #3A47AB #653AAB
triadic
#3A47AB #AB3A47 #47AB3A
tetradic
#3A47AB #AB3A80 #AB9E3A #3AAB65
square
#3A47AB #AB3A80 #AB9E3A #3AAB65
split-complementary
#3A47AB #AB653A #80AB3A
monochromatic
#1B2150 #2A347D #3A47AB #5B67C7 #8992D7

Accessibility & contrast

On white

7.87
#3A47AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#3A47AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A47AB
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A47AB#FFFFFF#000000##FFFFFF
##3A47AB1.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AE
Deuteranopia (green-blind)
#004DA9
Tritanopia (blue-blind)
#005F72
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3a47ab;
/* rgb */ color: rgb(58, 71, 171);
/* oklch */ color: oklch(44.8% 0.159 272.6);
Tailwind
colors: {
  custom: {
    50: '#7d7ac5',
    500: '#3a47ab',
    950: '#000000',
  },
}
SCSS
$custom: #3a47ab;
$custom-light: #7d7ac5;
$custom-dark: #000000;
JSON
{
  "hex": "#3a47ab",
  "rgb": {
    "r": 58,
    "g": 71,
    "b": 171
  },
  "hsl": {
    "h": 233.097,
    "s": 49.345,
    "l": 44.902
  },
  "oklch": {
    "l": 0.44784,
    "c": 0.15927,
    "h": 272.6
  },
  "luminance": 0.08346
}

Semantic roles & 50–950 ramp

primary
#3A47AB
secondary
#C1BA80
accent
#C94FD9
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3A47AB

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

Preview Lab → · Contrast checker → · Palette generator →

#3A47AB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva