#3A46C2#3A46C2

#3A46C2 is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.6% C 0.191 H 272.2°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#3A46C2
RGBrgb(58, 70, 194)
HSLhsl(235, 54%, 49%)
HSVhsv(235, 70%, 76%)
CMYKcmyk(70.1%, 63.9%, 0%, 23.9%)
CIE-LABlab(36.32, 36.46, -66.21)
CIE-LCHlch(36.32, 75.58, 298.84°)
OKLaboklab(46.57% 0.0074 -0.1912)
OKLCHoklch(46.57% 0.191 272.2)
XYZxyz(13.6694, 9.1736, 52.0788)
Luminance0.0917 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A46C2 #C2B63A
analogous
#3A8AC2 #3A46C2 #723AC2
triadic
#3A46C2 #C23A46 #46C23A
tetradic
#3A46C2 #C23A8A #C2B63A #3AC272
square
#3A46C2 #C23A8A #C2B63A #3AC272
split-complementary
#3A46C2 #C2723A #8AC23A
monochromatic
#1E2464 #2C3593 #3A46C2 #6771D2 #979DE0

Accessibility & contrast

On white

7.41
#3A46C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#3A46C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A46C2
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A46C2#FFFFFF#000000##FFFFFF
##3A46C21.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC6
Deuteranopia (green-blind)
#004FC0
Tritanopia (blue-blind)
#00667D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #3a46c2;
/* rgb */ color: rgb(58, 70, 194);
/* oklch */ color: oklch(46.6% 0.191 272.2);
Tailwind
colors: {
  custom: {
    50: '#8279d5',
    500: '#3a46c2',
    950: '#000000',
  },
}
SCSS
$custom: #3a46c2;
$custom-light: #8279d5;
$custom-dark: #000000;
JSON
{
  "hex": "#3a46c2",
  "rgb": {
    "r": 58,
    "g": 70,
    "b": 194
  },
  "hsl": {
    "h": 234.706,
    "s": 53.968,
    "l": 49.412
  },
  "oklch": {
    "l": 0.46567,
    "c": 0.19134,
    "h": 272.2
  },
  "luminance": 0.09175
}

Semantic roles & 50–950 ramp

primary
#3A46C2
secondary
#CBC68D
accent
#D04ADD
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #3A46C2

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

Preview Lab → · Contrast checker → · Palette generator →

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