#3A49C5#3A49C5

#3A49C5 is a mid, vivid blue. Relative luminance 0.097; OKLCH L 47.4% C 0.192 H 271.5°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#3A49C5
RGBrgb(58, 73, 197)
HSLhsl(234, 55%, 50%)
HSVhsv(234, 71%, 77%)
CMYKcmyk(70.6%, 62.9%, 0%, 22.7%)
CIE-LABlab(37.29, 35.63, -66.37)
CIE-LCHlch(37.29, 75.33, 298.23°)
OKLaboklab(47.36% 0.0052 -0.1916)
OKLCHoklch(47.36% 0.192 271.5)
XYZxyz(14.2021, 9.6944, 53.9352)
Luminance0.0970 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A49C5 #C5B63A
analogous
#3A8FC5 #3A49C5 #703AC5
triadic
#3A49C5 #C53A49 #49C53A
tetradic
#3A49C5 #C53A8F #C5B63A #3AC570
square
#3A49C5 #C53A8F #C5B63A #3AC570
split-complementary
#3A49C5 #C5703A #8FC53A
monochromatic
#1E2666 #2C3796 #3A49C5 #6975D3 #99A0E1

Accessibility & contrast

On white

7.14
#3A49C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#3A49C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A49C5
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A49C5#FFFFFF#000000##FFFFFF
##3A49C51.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC9
Deuteranopia (green-blind)
#0051C3
Tritanopia (blue-blind)
#006980
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #3a49c5;
/* rgb */ color: rgb(58, 73, 197);
/* oklch */ color: oklch(47.4% 0.192 271.5);
Tailwind
colors: {
  custom: {
    50: '#837bd8',
    500: '#3a49c5',
    950: '#000000',
  },
}
SCSS
$custom: #3a49c5;
$custom-light: #837bd8;
$custom-dark: #000000;
JSON
{
  "hex": "#3a49c5",
  "rgb": {
    "r": 58,
    "g": 73,
    "b": 197
  },
  "hsl": {
    "h": 233.525,
    "s": 54.51,
    "l": 50
  },
  "oklch": {
    "l": 0.47359,
    "c": 0.19172,
    "h": 271.5
  },
  "luminance": 0.09696
}

Semantic roles & 50–950 ramp

primary
#3A49C5
secondary
#CDC68E
accent
#CE4ADE
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0915
muted
#7D7B83

Preview Lab

Preview with #3A49C5

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

Preview Lab → · Contrast checker → · Palette generator →

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