#3A47B3#3A47B3

#3A47B3 is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.4% C 0.170 H 272.4°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#3A47B3
RGBrgb(58, 71, 179)
HSLhsl(234, 51%, 46%)
HSVhsv(234, 68%, 70%)
CMYKcmyk(67.6%, 60.3%, 0%, 29.8%)
CIE-LABlab(35.32, 30.54, -59.01)
CIE-LCHlch(35.32, 66.45, 297.36°)
OKLaboklab(45.45% 0.0072 -0.1701)
OKLCHoklch(45.45% 0.17 272.4)
XYZxyz(12.1321, 8.6596, 43.6712)
Luminance0.0866 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A47B3 #B3A63A
analogous
#3A84B3 #3A47B3 #6A3AB3
triadic
#3A47B3 #B33A47 #47B33A
tetradic
#3A47B3 #B33A84 #B3A63A #3AB36A
square
#3A47B3 #B33A84 #B3A63A #3AB36A
split-complementary
#3A47B3 #B36A3A #84B33A
monochromatic
#1C2257 #2B3585 #3A47B3 #5F6BCB #8D96DA

Accessibility & contrast

On white

7.69
#3A47B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#3A47B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A47B3
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A47B3#FFFFFF#000000##FFFFFF
##3A47B31.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B7
Deuteranopia (green-blind)
#004EB1
Tritanopia (blue-blind)
#006276
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3a47b3;
/* rgb */ color: rgb(58, 71, 179);
/* oklch */ color: oklch(45.4% 0.170 272.4);
Tailwind
colors: {
  custom: {
    50: '#7f7acb',
    500: '#3a47b3',
    950: '#000000',
  },
}
SCSS
$custom: #3a47b3;
$custom-light: #7f7acb;
$custom-dark: #000000;
JSON
{
  "hex": "#3a47b3",
  "rgb": {
    "r": 58,
    "g": 71,
    "b": 179
  },
  "hsl": {
    "h": 233.554,
    "s": 51.055,
    "l": 46.471
  },
  "oklch": {
    "l": 0.45448,
    "c": 0.17022,
    "h": 272.4
  },
  "luminance": 0.08661
}

Semantic roles & 50–950 ramp

primary
#3A47B3
secondary
#C5BE84
accent
#CB4DDB
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3A47B3

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

Preview Lab → · Contrast checker → · Palette generator →

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