#3A49B7#3A49B7

#3A49B7 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 46.2% C 0.173 H 271.8°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#3A49B7
RGBrgb(58, 73, 183)
HSLhsl(233, 52%, 47%)
HSVhsv(233, 68%, 72%)
CMYKcmyk(68.3%, 60.1%, 0%, 28.2%)
CIE-LABlab(36.14, 30.68, -60.04)
CIE-LCHlch(36.14, 67.42, 297.07°)
OKLaboklab(46.16% 0.0056 -0.1731)
OKLCHoklch(46.16% 0.173 271.8)
XYZxyz(12.6718, 9.0823, 45.8758)
Luminance0.0908 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A49B7 #B7A83A
analogous
#3A88B7 #3A49B7 #6A3AB7
triadic
#3A49B7 #B73A49 #49B73A
tetradic
#3A49B7 #B73A88 #B7A83A #3AB76A
square
#3A49B7 #B73A88 #B7A83A #3AB76A
split-complementary
#3A49B7 #B76A3A #88B73A
monochromatic
#1D245A #2B3689 #3A49B7 #616ECD #9099DC

Accessibility & contrast

On white

7.46
#3A49B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#3A49B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A49B7
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A49B7#FFFFFF#000000##FFFFFF
##3A49B71.007.462.827.46
#FFFFFF7.461.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBB
Deuteranopia (green-blind)
#004FB5
Tritanopia (blue-blind)
#006479
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #3a49b7;
/* rgb */ color: rgb(58, 73, 183);
/* oklch */ color: oklch(46.2% 0.173 271.8);
Tailwind
colors: {
  custom: {
    50: '#807bcd',
    500: '#3a49b7',
    950: '#000000',
  },
}
SCSS
$custom: #3a49b7;
$custom-light: #807bcd;
$custom-dark: #000000;
JSON
{
  "hex": "#3a49b7",
  "rgb": {
    "r": 58,
    "g": 73,
    "b": 183
  },
  "hsl": {
    "h": 232.8,
    "s": 51.867,
    "l": 47.255
  },
  "oklch": {
    "l": 0.46157,
    "c": 0.17315,
    "h": 271.8
  },
  "luminance": 0.09084
}

Semantic roles & 50–950 ramp

primary
#3A49B7
secondary
#C7BF86
accent
#CA4CDB
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #3A49B7

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

Preview Lab → · Contrast checker → · Palette generator →

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