#3A49C8#3A49C8

#3A49C8 is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.6% C 0.196 H 271.5°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#3A49C8
RGBrgb(58, 73, 200)
HSLhsl(234, 56%, 51%)
HSVhsv(234, 71%, 78%)
CMYKcmyk(71%, 63.5%, 0%, 21.6%)
CIE-LABlab(37.54, 36.69, -67.70)
CIE-LCHlch(37.54, 77.00, 298.45°)
OKLaboklab(47.62% 0.005 -0.1956)
OKLCHoklch(47.62% 0.196 271.5)
XYZxyz(14.5493, 9.8333, 55.7636)
Luminance0.0984 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A49C8 #C8B93A
analogous
#3A90C8 #3A49C8 #723AC8
triadic
#3A49C8 #C83A49 #49C83A
tetradic
#3A49C8 #C83A90 #C8B93A #3AC872
square
#3A49C8 #C83A90 #C8B93A #3AC872
split-complementary
#3A49C8 #C8723A #90C83A
monochromatic
#1E266A #2B379A #3A49C8 #6A75D5 #9AA1E3

Accessibility & contrast

On white

7.08
#3A49C8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#3A49C8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A49C8
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A49C8#FFFFFF#000000##FFFFFF
##3A49C81.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCC
Deuteranopia (green-blind)
#0052C6
Tritanopia (blue-blind)
#006A82
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #3a49c8;
/* rgb */ color: rgb(58, 73, 200);
/* oklch */ color: oklch(47.6% 0.196 271.5);
Tailwind
colors: {
  custom: {
    50: '#837cda',
    500: '#3a49c8',
    950: '#000000',
  },
}
SCSS
$custom: #3a49c8;
$custom-light: #837cda;
$custom-dark: #000000;
JSON
{
  "hex": "#3a49c8",
  "rgb": {
    "r": 58,
    "g": 73,
    "b": 200
  },
  "hsl": {
    "h": 233.662,
    "s": 56.349,
    "l": 50.588
  },
  "oklch": {
    "l": 0.47623,
    "c": 0.19562,
    "h": 271.5
  },
  "luminance": 0.09835
}

Semantic roles & 50–950 ramp

primary
#3A49C8
secondary
#CEC88F
accent
#D048E0
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0915
muted
#7D7B83

Preview Lab

Preview with #3A49C8

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

Preview Lab → · Contrast checker → · Palette generator →

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