#3A47BF#3A47BF

#3A47BF is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.5% C 0.186 H 272.1°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#3A47BF
RGBrgb(58, 71, 191)
HSLhsl(234, 53%, 49%)
HSVhsv(234, 70%, 75%)
CMYKcmyk(69.6%, 62.8%, 0%, 25.1%)
CIE-LABlab(36.30, 34.78, -64.48)
CIE-LCHlch(36.30, 73.26, 298.35°)
OKLaboklab(46.48% 0.0069 -0.1861)
OKLCHoklch(46.48% 0.186 272.1)
XYZxyz(13.3990, 9.1663, 50.3433)
Luminance0.0917 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A47BF #BFB23A
analogous
#3A8ABF #3A47BF #703ABF
triadic
#3A47BF #BF3A47 #47BF3A
tetradic
#3A47BF #BF3A8A #BFB23A #3ABF70
square
#3A47BF #BF3A8A #BFB23A #3ABF70
split-complementary
#3A47BF #BF703A #8ABF3A
monochromatic
#1D2461 #2C3690 #3A47BF #6670D0 #959CDF

Accessibility & contrast

On white

7.41
#3A47BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#3A47BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A47BF
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A47BF#FFFFFF#000000##FFFFFF
##3A47BF1.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC3
Deuteranopia (green-blind)
#004FBD
Tritanopia (blue-blind)
#00667C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #3a47bf;
/* rgb */ color: rgb(58, 71, 191);
/* oklch */ color: oklch(46.5% 0.186 272.1);
Tailwind
colors: {
  custom: {
    50: '#817ad3',
    500: '#3a47bf',
    950: '#000000',
  },
}
SCSS
$custom: #3a47bf;
$custom-light: #817ad3;
$custom-dark: #000000;
JSON
{
  "hex": "#3a47bf",
  "rgb": {
    "r": 58,
    "g": 71,
    "b": 191
  },
  "hsl": {
    "h": 234.135,
    "s": 53.414,
    "l": 48.824
  },
  "oklch": {
    "l": 0.46478,
    "c": 0.18624,
    "h": 272.1
  },
  "luminance": 0.09168
}

Semantic roles & 50–950 ramp

primary
#3A47BF
secondary
#CAC48B
accent
#CF4BDD
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #3A47BF

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

Preview Lab → · Contrast checker → · Palette generator →

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