#3A47B9#3A47B9

#3A47B9 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 46.0% C 0.178 H 272.3°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#3A47B9
RGBrgb(58, 71, 185)
HSLhsl(234, 52%, 48%)
HSVhsv(234, 69%, 73%)
CMYKcmyk(68.6%, 61.6%, 0%, 27.5%)
CIE-LABlab(35.81, 32.67, -61.76)
CIE-LCHlch(35.81, 69.87, 297.88°)
OKLaboklab(45.96% 0.0071 -0.1781)
OKLCHoklch(45.96% 0.178 272.3)
XYZxyz(12.7522, 8.9076, 46.9368)
Luminance0.0891 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A47B9 #B9AC3A
analogous
#3A87B9 #3A47B9 #6C3AB9
triadic
#3A47B9 #B93A47 #47B93A
tetradic
#3A47B9 #B93A87 #B9AC3A #3AB96C
square
#3A47B9 #B93A87 #B9AC3A #3AB96C
split-complementary
#3A47B9 #B96C3A #87B93A
monochromatic
#1D235C #2B358A #3A47B9 #626DCE #9199DC

Accessibility & contrast

On white

7.55
#3A47B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#3A47B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A47B9
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A47B9#FFFFFF#000000##FFFFFF
##3A47B91.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABD
Deuteranopia (green-blind)
#004FB7
Tritanopia (blue-blind)
#006479
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3a47b9;
/* rgb */ color: rgb(58, 71, 185);
/* oklch */ color: oklch(46.0% 0.178 272.3);
Tailwind
colors: {
  custom: {
    50: '#807acf',
    500: '#3a47b9',
    950: '#000000',
  },
}
SCSS
$custom: #3a47b9;
$custom-light: #807acf;
$custom-dark: #000000;
JSON
{
  "hex": "#3a47b9",
  "rgb": {
    "r": 58,
    "g": 71,
    "b": 185
  },
  "hsl": {
    "h": 233.858,
    "s": 52.263,
    "l": 47.647
  },
  "oklch": {
    "l": 0.45958,
    "c": 0.17829,
    "h": 272.3
  },
  "luminance": 0.08909
}

Semantic roles & 50–950 ramp

primary
#3A47B9
secondary
#C7C187
accent
#CD4CDC
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0914
muted
#7D7B82

Preview Lab

Preview with #3A47B9

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

Preview Lab → · Contrast checker → · Palette generator →

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