#3A49C6#3A49C6

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

Color values

HEX#3A49C6
RGBrgb(58, 73, 198)
HSLhsl(234, 55%, 50%)
HSVhsv(234, 71%, 78%)
CMYKcmyk(70.7%, 63.1%, 0%, 22.4%)
CIE-LABlab(37.37, 35.98, -66.81)
CIE-LCHlch(37.37, 75.89, 298.30°)
OKLaboklab(47.45% 0.0051 -0.193)
OKLCHoklch(47.45% 0.193 271.5)
XYZxyz(14.3171, 9.7404, 54.5407)
Luminance0.0974 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A49C6 #C6B73A
analogous
#3A8FC6 #3A49C6 #713AC6
triadic
#3A49C6 #C63A49 #49C63A
tetradic
#3A49C6 #C63A8F #C6B73A #3AC671
square
#3A49C6 #C63A8F #C6B73A #3AC671
split-complementary
#3A49C6 #C6713A #8FC63A
monochromatic
#1E2668 #2C3797 #3A49C6 #6975D4 #99A1E1

Accessibility & contrast

On white

7.12
#3A49C6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#3A49C6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A49C6
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A49C6#FFFFFF#000000##FFFFFF
##3A49C61.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCA
Deuteranopia (green-blind)
#0052C4
Tritanopia (blue-blind)
#006981
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #3a49c6;
/* rgb */ color: rgb(58, 73, 198);
/* oklch */ color: oklch(47.4% 0.193 271.5);
Tailwind
colors: {
  custom: {
    50: '#837cd8',
    500: '#3a49c6',
    950: '#000000',
  },
}
SCSS
$custom: #3a49c6;
$custom-light: #837cd8;
$custom-dark: #000000;
JSON
{
  "hex": "#3a49c6",
  "rgb": {
    "r": 58,
    "g": 73,
    "b": 198
  },
  "hsl": {
    "h": 233.571,
    "s": 55.118,
    "l": 50.196
  },
  "oklch": {
    "l": 0.47447,
    "c": 0.19303,
    "h": 271.5
  },
  "luminance": 0.09742
}

Semantic roles & 50–950 ramp

primary
#3A49C6
secondary
#CDC68F
accent
#CE49DE
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0915
muted
#7D7B83

Preview Lab

Preview with #3A49C6

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

Preview Lab → · Contrast checker → · Palette generator →

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