#3A46C5#3A46C5

#3A46C5 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.8% C 0.195 H 272.1°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#3A46C5
RGBrgb(58, 70, 197)
HSLhsl(235, 55%, 50%)
HSVhsv(235, 71%, 77%)
CMYKcmyk(70.6%, 64.5%, 0%, 22.7%)
CIE-LABlab(36.57, 37.51, -67.54)
CIE-LCHlch(36.57, 77.26, 299.05°)
OKLaboklab(46.84% 0.0072 -0.1951)
OKLCHoklch(46.84% 0.195 272.1)
XYZxyz(14.0097, 9.3097, 53.8711)
Luminance0.0931 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A46C5 #C5B93A
analogous
#3A8CC5 #3A46C5 #733AC5
triadic
#3A46C5 #C53A46 #46C53A
tetradic
#3A46C5 #C53A8C #C5B93A #3AC573
square
#3A46C5 #C53A8C #C5B93A #3AC573
split-complementary
#3A46C5 #C5733A #8CC53A
monochromatic
#1E2466 #2C3596 #3A46C5 #6972D3 #999FE1

Accessibility & contrast

On white

7.34
#3A46C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#3A46C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A46C5
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A46C5#FFFFFF#000000##FFFFFF
##3A46C51.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC9
Deuteranopia (green-blind)
#0050C3
Tritanopia (blue-blind)
#00677F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3a46c5;
/* rgb */ color: rgb(58, 70, 197);
/* oklch */ color: oklch(46.8% 0.195 272.1);
Tailwind
colors: {
  custom: {
    50: '#8379d8',
    500: '#3a46c5',
    950: '#000000',
  },
}
SCSS
$custom: #3a46c5;
$custom-light: #8379d8;
$custom-dark: #000000;
JSON
{
  "hex": "#3a46c5",
  "rgb": {
    "r": 58,
    "g": 70,
    "b": 197
  },
  "hsl": {
    "h": 234.82,
    "s": 54.51,
    "l": 50
  },
  "oklch": {
    "l": 0.46835,
    "c": 0.19523,
    "h": 272.1
  },
  "luminance": 0.09311
}

Semantic roles & 50–950 ramp

primary
#3A46C5
secondary
#CDC78E
accent
#D14ADE
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0915
muted
#7D7B83

Preview Lab

Preview with #3A46C5

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

Preview Lab → · Contrast checker → · Palette generator →

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