#3A49B3#3A49B3

#3A49B3 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.8% C 0.168 H 271.9°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#3A49B3
RGBrgb(58, 73, 179)
HSLhsl(233, 51%, 46%)
HSVhsv(233, 68%, 70%)
CMYKcmyk(67.6%, 59.2%, 0%, 29.8%)
CIE-LABlab(35.83, 29.25, -58.19)
CIE-LCHlch(35.83, 65.13, 296.69°)
OKLaboklab(45.82% 0.0056 -0.1676)
OKLCHoklch(45.82% 0.168 271.9)
XYZxyz(12.2614, 8.9182, 43.7143)
Luminance0.0892 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A49B3 #B3A43A
analogous
#3A86B3 #3A49B3 #683AB3
triadic
#3A49B3 #B33A49 #49B33A
tetradic
#3A49B3 #B33A86 #B3A43A #3AB368
square
#3A49B3 #B33A86 #B3A43A #3AB368
split-complementary
#3A49B3 #B3683A #86B33A
monochromatic
#1C2357 #2B3685 #3A49B3 #5F6CCB #8D97DA

Accessibility & contrast

On white

7.54
#3A49B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A49B3
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A49B3#FFFFFF#000000##FFFFFF
##3A49B31.007.542.787.54
#FFFFFF7.541.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB7
Deuteranopia (green-blind)
#004FB1
Tritanopia (blue-blind)
#006377
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3a49b3;
/* rgb */ color: rgb(58, 73, 179);
/* oklch */ color: oklch(45.8% 0.168 271.9);
Tailwind
colors: {
  custom: {
    50: '#7f7bcb',
    500: '#3a49b3',
    950: '#000000',
  },
}
SCSS
$custom: #3a49b3;
$custom-light: #7f7bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#3a49b3",
  "rgb": {
    "r": 58,
    "g": 73,
    "b": 179
  },
  "hsl": {
    "h": 232.562,
    "s": 51.055,
    "l": 46.471
  },
  "oklch": {
    "l": 0.45823,
    "c": 0.16772,
    "h": 271.9
  },
  "luminance": 0.08919
}

Semantic roles & 50–950 ramp

primary
#3A49B3
secondary
#C5BD84
accent
#C94DDB
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3A49B3

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

Preview Lab → · Contrast checker → · Palette generator →

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