#3A47AE#3A47AE

#3A47AE is a mid, vivid blue. Relative luminance 0.085; OKLCH L 45.0% C 0.163 H 272.5°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#3A47AE
RGBrgb(58, 71, 174)
HSLhsl(233, 50%, 45%)
HSVhsv(233, 67%, 68%)
CMYKcmyk(66.7%, 59.2%, 0%, 31.8%)
CIE-LABlab(34.93, 28.76, -56.69)
CIE-LCHlch(34.93, 63.57, 296.90°)
OKLaboklab(45.03% 0.0073 -0.1632)
OKLCHoklch(45.03% 0.163 272.5)
XYZxyz(11.6356, 8.4610, 41.0561)
Luminance0.0846 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A47AE #AEA13A
analogous
#3A81AE #3A47AE #673AAE
triadic
#3A47AE #AE3A47 #47AE3A
tetradic
#3A47AE #AE3A81 #AEA13A #3AAE67
square
#3A47AE #AE3A81 #AEA13A #3AAE67
split-complementary
#3A47AE #AE673A #81AE3A
monochromatic
#1B2252 #2B3480 #3A47AE #5C69C9 #8A93D8

Accessibility & contrast

On white

7.80
#3A47AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#3A47AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A47AE
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A47AE#FFFFFF#000000##FFFFFF
##3A47AE1.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B1
Deuteranopia (green-blind)
#004DAC
Tritanopia (blue-blind)
#006073
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3a47ae;
/* rgb */ color: rgb(58, 71, 174);
/* oklch */ color: oklch(45.0% 0.163 272.5);
Tailwind
colors: {
  custom: {
    50: '#7e7ac7',
    500: '#3a47ae',
    950: '#000000',
  },
}
SCSS
$custom: #3a47ae;
$custom-light: #7e7ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#3a47ae",
  "rgb": {
    "r": 58,
    "g": 71,
    "b": 174
  },
  "hsl": {
    "h": 233.276,
    "s": 50,
    "l": 45.49
  },
  "oklch": {
    "l": 0.45031,
    "c": 0.16341,
    "h": 272.5
  },
  "luminance": 0.08462
}

Semantic roles & 50–950 ramp

primary
#3A47AE
secondary
#C2BB81
accent
#CA4EDA
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3A47AE

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

Preview Lab → · Contrast checker → · Palette generator →

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