#3A47C0#3A47C0

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

Color values

HEX#3A47C0
RGBrgb(58, 71, 192)
HSLhsl(234, 54%, 49%)
HSVhsv(234, 70%, 75%)
CMYKcmyk(69.8%, 63%, 0%, 24.7%)
CIE-LABlab(36.39, 35.13, -64.92)
CIE-LCHlch(36.39, 73.82, 298.42°)
OKLaboklab(46.57% 0.0068 -0.1874)
OKLCHoklch(46.57% 0.188 272.1)
XYZxyz(13.5094, 9.2105, 50.9248)
Luminance0.0921 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A47C0 #C0B33A
analogous
#3A8AC0 #3A47C0 #703AC0
triadic
#3A47C0 #C03A47 #47C03A
tetradic
#3A47C0 #C03A8A #C0B33A #3AC070
square
#3A47C0 #C03A8A #C0B33A #3AC070
split-complementary
#3A47C0 #C0703A #8AC03A
monochromatic
#1E2462 #2C3691 #3A47C0 #6671D1 #959CDF

Accessibility & contrast

On white

7.39
#3A47C0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#3A47C0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A47C0
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A47C0#FFFFFF#000000##FFFFFF
##3A47C01.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC4
Deuteranopia (green-blind)
#0050BE
Tritanopia (blue-blind)
#00667D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3a47c0;
/* rgb */ color: rgb(58, 71, 192);
/* oklch */ color: oklch(46.6% 0.188 272.1);
Tailwind
colors: {
  custom: {
    50: '#827ad4',
    500: '#3a47c0',
    950: '#000000',
  },
}
SCSS
$custom: #3a47c0;
$custom-light: #827ad4;
$custom-dark: #000000;
JSON
{
  "hex": "#3a47c0",
  "rgb": {
    "r": 58,
    "g": 71,
    "b": 192
  },
  "hsl": {
    "h": 234.179,
    "s": 53.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.46566,
    "c": 0.18755,
    "h": 272.1
  },
  "luminance": 0.09212
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3A47C0

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

Preview Lab → · Contrast checker → · Palette generator →

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