#3A46C4#3A46C4

#3A46C4 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.7% C 0.194 H 272.2°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#3A46C4
RGBrgb(58, 70, 196)
HSLhsl(235, 54%, 50%)
HSVhsv(235, 70%, 77%)
CMYKcmyk(70.4%, 64.3%, 0%, 23.1%)
CIE-LABlab(36.49, 37.16, -67.10)
CIE-LCHlch(36.49, 76.70, 298.98°)
OKLaboklab(46.75% 0.0073 -0.1938)
OKLCHoklch(46.75% 0.194 272.2)
XYZxyz(13.8955, 9.2640, 53.2697)
Luminance0.0926 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A46C4 #C4B83A
analogous
#3A8BC4 #3A46C4 #733AC4
triadic
#3A46C4 #C43A46 #46C43A
tetradic
#3A46C4 #C43A8B #C4B83A #3AC473
square
#3A46C4 #C43A8B #C4B83A #3AC473
split-complementary
#3A46C4 #C4733A #8BC43A
monochromatic
#1E2466 #2C3595 #3A46C4 #6972D3 #989EE0

Accessibility & contrast

On white

7.36
#3A46C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#3A46C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A46C4
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A46C4#FFFFFF#000000##FFFFFF
##3A46C41.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC8
Deuteranopia (green-blind)
#0050C2
Tritanopia (blue-blind)
#00677E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3a46c4;
/* rgb */ color: rgb(58, 70, 196);
/* oklch */ color: oklch(46.7% 0.194 272.2);
Tailwind
colors: {
  custom: {
    50: '#8379d7',
    500: '#3a46c4',
    950: '#000000',
  },
}
SCSS
$custom: #3a46c4;
$custom-light: #8379d7;
$custom-dark: #000000;
JSON
{
  "hex": "#3a46c4",
  "rgb": {
    "r": 58,
    "g": 70,
    "b": 196
  },
  "hsl": {
    "h": 234.783,
    "s": 54.331,
    "l": 49.804
  },
  "oklch": {
    "l": 0.46745,
    "c": 0.19394,
    "h": 272.2
  },
  "luminance": 0.09265
}

Semantic roles & 50–950 ramp

primary
#3A46C4
secondary
#CCC78E
accent
#D14ADE
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #3A46C4

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

Preview Lab → · Contrast checker → · Palette generator →

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