#3A49AB#3A49AB

#3A49AB is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.2% C 0.157 H 272.0°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#3A49AB
RGBrgb(58, 73, 171)
HSLhsl(232, 49%, 45%)
HSVhsv(232, 66%, 67%)
CMYKcmyk(66.1%, 57.3%, 0%, 32.9%)
CIE-LABlab(35.21, 26.39, -54.44)
CIE-LCHlch(35.21, 60.50, 295.86°)
OKLaboklab(45.17% 0.0055 -0.1566)
OKLCHoklch(45.17% 0.157 272)
XYZxyz(11.4757, 8.6039, 39.5761)
Luminance0.0861 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A49AB #AB9C3A
analogous
#3A82AB #3A49AB #633AAB
triadic
#3A49AB #AB3A49 #49AB3A
tetradic
#3A49AB #AB3A82 #AB9C3A #3AAB63
square
#3A49AB #AB3A82 #AB9C3A #3AAB63
split-complementary
#3A49AB #AB633A #82AB3A
monochromatic
#1B2250 #2A357D #3A49AB #5B69C7 #8993D7

Accessibility & contrast

On white

7.72
#3A49AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#3A49AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A49AB
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A49AB#FFFFFF#000000##FFFFFF
##3A49AB1.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AE
Deuteranopia (green-blind)
#004EA9
Tritanopia (blue-blind)
#006173
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3a49ab;
/* rgb */ color: rgb(58, 73, 171);
/* oklch */ color: oklch(45.2% 0.157 272.0);
Tailwind
colors: {
  custom: {
    50: '#7d7bc5',
    500: '#3a49ab',
    950: '#000000',
  },
}
SCSS
$custom: #3a49ab;
$custom-light: #7d7bc5;
$custom-dark: #000000;
JSON
{
  "hex": "#3a49ab",
  "rgb": {
    "r": 58,
    "g": 73,
    "b": 171
  },
  "hsl": {
    "h": 232.035,
    "s": 49.345,
    "l": 44.902
  },
  "oklch": {
    "l": 0.45171,
    "c": 0.15671,
    "h": 272
  },
  "luminance": 0.08605
}

Semantic roles & 50–950 ramp

primary
#3A49AB
secondary
#C1B880
accent
#C74FD9
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3A49AB

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

Preview Lab → · Contrast checker → · Palette generator →

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