#3A46C6#3A46C6

#3A46C6 is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.9% C 0.197 H 272.1°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#3A46C6
RGBrgb(58, 70, 198)
HSLhsl(235, 55%, 50%)
HSVhsv(235, 71%, 78%)
CMYKcmyk(70.7%, 64.6%, 0%, 22.4%)
CIE-LABlab(36.66, 37.86, -67.98)
CIE-LCHlch(36.66, 77.81, 299.11°)
OKLaboklab(46.92% 0.0072 -0.1964)
OKLCHoklch(46.92% 0.197 272.1)
XYZxyz(14.1247, 9.3557, 54.4766)
Luminance0.0936 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A46C6 #C6BA3A
analogous
#3A8CC6 #3A46C6 #743AC6
triadic
#3A46C6 #C63A46 #46C63A
tetradic
#3A46C6 #C63A8C #C6BA3A #3AC674
square
#3A46C6 #C63A8C #C6BA3A #3AC674
split-complementary
#3A46C6 #C6743A #8CC63A
monochromatic
#1E2468 #2C3597 #3A46C6 #6973D4 #999FE1

Accessibility & contrast

On white

7.31
#3A46C6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#3A46C6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A46C6
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A46C6#FFFFFF#000000##FFFFFF
##3A46C61.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DCA
Deuteranopia (green-blind)
#0050C4
Tritanopia (blue-blind)
#006880
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3a46c6;
/* rgb */ color: rgb(58, 70, 198);
/* oklch */ color: oklch(46.9% 0.197 272.1);
Tailwind
colors: {
  custom: {
    50: '#8379d8',
    500: '#3a46c6',
    950: '#000000',
  },
}
SCSS
$custom: #3a46c6;
$custom-light: #8379d8;
$custom-dark: #000000;
JSON
{
  "hex": "#3a46c6",
  "rgb": {
    "r": 58,
    "g": 70,
    "b": 198
  },
  "hsl": {
    "h": 234.857,
    "s": 55.118,
    "l": 50.196
  },
  "oklch": {
    "l": 0.46924,
    "c": 0.19652,
    "h": 272.1
  },
  "luminance": 0.09357
}

Semantic roles & 50–950 ramp

primary
#3A46C6
secondary
#CDC88F
accent
#D249DE
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0C0915
muted
#7D7B83

Preview Lab

Preview with #3A46C6

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

Preview Lab → · Contrast checker → · Palette generator →

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