#3A47BE#3A47BE

#3A47BE is a mid, vivid blue. Relative luminance 0.091; OKLCH L 46.4% C 0.185 H 272.1°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#3A47BE
RGBrgb(58, 71, 190)
HSLhsl(234, 53%, 49%)
HSVhsv(234, 69%, 75%)
CMYKcmyk(69.5%, 62.6%, 0%, 25.5%)
CIE-LABlab(36.22, 34.43, -64.03)
CIE-LCHlch(36.22, 72.70, 298.27°)
OKLaboklab(46.39% 0.0069 -0.1848)
OKLCHoklch(46.39% 0.185 272.1)
XYZxyz(13.2893, 9.1224, 49.7657)
Luminance0.0912 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A47BE #BEB13A
analogous
#3A89BE #3A47BE #6F3ABE
triadic
#3A47BE #BE3A47 #47BE3A
tetradic
#3A47BE #BE3A89 #BEB13A #3ABE6F
square
#3A47BE #BE3A89 #BEB13A #3ABE6F
split-complementary
#3A47BE #BE6F3A #89BE3A
monochromatic
#1D2460 #2C358F #3A47BE #6570D0 #949BDE

Accessibility & contrast

On white

7.43
#3A47BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#3A47BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A47BE
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A47BE#FFFFFF#000000##FFFFFF
##3A47BE1.007.432.827.43
#FFFFFF7.431.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC2
Deuteranopia (green-blind)
#004FBC
Tritanopia (blue-blind)
#00657C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #3a47be;
/* rgb */ color: rgb(58, 71, 190);
/* oklch */ color: oklch(46.4% 0.185 272.1);
Tailwind
colors: {
  custom: {
    50: '#817ad3',
    500: '#3a47be',
    950: '#000000',
  },
}
SCSS
$custom: #3a47be;
$custom-light: #817ad3;
$custom-dark: #000000;
JSON
{
  "hex": "#3a47be",
  "rgb": {
    "r": 58,
    "g": 71,
    "b": 190
  },
  "hsl": {
    "h": 234.091,
    "s": 53.226,
    "l": 48.627
  },
  "oklch": {
    "l": 0.46391,
    "c": 0.18493,
    "h": 272.1
  },
  "luminance": 0.09124
}

Semantic roles & 50–950 ramp

primary
#3A47BE
secondary
#CAC38A
accent
#CE4BDD
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #3A47BE

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

Preview Lab → · Contrast checker → · Palette generator →

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