#3A47D2#3A47D2

#3A47D2 is a mid, highly saturated blue. Relative luminance 0.101; OKLCH L 48.2% C 0.211 H 271.5°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#3A47D2
RGBrgb(58, 71, 210)
HSLhsl(235, 63%, 53%)
HSVhsv(235, 72%, 82%)
CMYKcmyk(72.4%, 66.2%, 0%, 17.6%)
CIE-LABlab(37.95, 41.39, -72.83)
CIE-LCHlch(37.95, 83.77, 299.61°)
OKLaboklab(48.19% 0.0056 -0.2106)
OKLCHoklch(48.19% 0.211 271.5)
XYZxyz(15.6271, 10.0576, 62.0780)
Luminance0.1006 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A47D2 #D2C53A
analogous
#3A93D2 #3A47D2 #793AD2
triadic
#3A47D2 #D23A47 #47D23A
tetradic
#3A47D2 #D23A93 #D2C53A #3AD279
square
#3A47D2 #D23A93 #D2C53A #3AD279
split-complementary
#3A47D2 #D2793A #93D23A
monochromatic
#1B2377 #2632A8 #3A47D2 #6C76DD #9EA4E9

Accessibility & contrast

On white

6.97
#3A47D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#3A47D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A47D2
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A47D2#FFFFFF#000000##FFFFFF
##3A47D21.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D6
Deuteranopia (green-blind)
#0052CF
Tritanopia (blue-blind)
#006C86
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #3a47d2;
/* rgb */ color: rgb(58, 71, 210);
/* oklch */ color: oklch(48.2% 0.211 271.5);
Tailwind
colors: {
  custom: {
    50: '#867ae1',
    500: '#3a47d2',
    950: '#000000',
  },
}
SCSS
$custom: #3a47d2;
$custom-light: #867ae1;
$custom-dark: #000000;
JSON
{
  "hex": "#3a47d2",
  "rgb": {
    "r": 58,
    "g": 71,
    "b": 210
  },
  "hsl": {
    "h": 234.868,
    "s": 62.81,
    "l": 52.549
  },
  "oklch": {
    "l": 0.48185,
    "c": 0.21065,
    "h": 271.5
  },
  "luminance": 0.10059
}

Semantic roles & 50–950 ramp

primary
#3A47D2
secondary
#D5CF93
accent
#D842E6
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #3A47D2

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

Preview Lab → · Contrast checker → · Palette generator →

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