#3A47BB#3A47BB

#3A47BB is a mid, vivid blue. Relative luminance 0.090; OKLCH L 46.1% C 0.181 H 272.2°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#3A47BB
RGBrgb(58, 71, 187)
HSLhsl(234, 53%, 48%)
HSVhsv(234, 69%, 73%)
CMYKcmyk(69%, 62%, 0%, 26.7%)
CIE-LABlab(35.97, 33.37, -62.67)
CIE-LCHlch(35.97, 71.00, 298.04°)
OKLaboklab(46.13% 0.007 -0.1808)
OKLCHoklch(46.13% 0.181 272.2)
XYZxyz(12.9648, 8.9926, 48.0566)
Luminance0.0899 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A47BB #BBAE3A
analogous
#3A88BB #3A47BB #6D3ABB
triadic
#3A47BB #BB3A47 #47BB3A
tetradic
#3A47BB #BB3A88 #BBAE3A #3ABB6D
square
#3A47BB #BB3A88 #BBAE3A #3ABB6D
split-complementary
#3A47BB #BB6D3A #88BB3A
monochromatic
#1D245E #2C358C #3A47BB #636ECF #929ADD

Accessibility & contrast

On white

7.50
#3A47BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#3A47BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A47BB
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A47BB#FFFFFF#000000##FFFFFF
##3A47BB1.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBF
Deuteranopia (green-blind)
#004FB9
Tritanopia (blue-blind)
#00647A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #3a47bb;
/* rgb */ color: rgb(58, 71, 187);
/* oklch */ color: oklch(46.1% 0.181 272.2);
Tailwind
colors: {
  custom: {
    50: '#817ad0',
    500: '#3a47bb',
    950: '#000000',
  },
}
SCSS
$custom: #3a47bb;
$custom-light: #817ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#3a47bb",
  "rgb": {
    "r": 58,
    "g": 71,
    "b": 187
  },
  "hsl": {
    "h": 233.953,
    "s": 52.653,
    "l": 48.039
  },
  "oklch": {
    "l": 0.4613,
    "c": 0.18096,
    "h": 272.2
  },
  "luminance": 0.08994
}

Semantic roles & 50–950 ramp

primary
#3A47BB
secondary
#C8C288
accent
#CE4CDC
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0914
muted
#7D7B82

Preview Lab

Preview with #3A47BB

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

Preview Lab → · Contrast checker → · Palette generator →

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