#3A46C3#3A46C3

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

Color values

HEX#3A46C3
RGBrgb(58, 70, 195)
HSLhsl(235, 54%, 50%)
HSVhsv(235, 70%, 76%)
CMYKcmyk(70.3%, 64.1%, 0%, 23.5%)
CIE-LABlab(36.40, 36.81, -66.65)
CIE-LCHlch(36.40, 76.14, 298.91°)
OKLaboklab(46.66% 0.0074 -0.1925)
OKLCHoklch(46.66% 0.193 272.2)
XYZxyz(13.7821, 9.2186, 52.6722)
Luminance0.0922 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A46C3 #C3B73A
analogous
#3A8AC3 #3A46C3 #733AC3
triadic
#3A46C3 #C33A46 #46C33A
tetradic
#3A46C3 #C33A8A #C3B73A #3AC373
square
#3A46C3 #C33A8A #C3B73A #3AC373
split-complementary
#3A46C3 #C3733A #8AC33A
monochromatic
#1E2465 #2C3594 #3A46C3 #6871D2 #979EE0

Accessibility & contrast

On white

7.38
#3A46C3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#3A46C3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A46C3
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A46C3#FFFFFF#000000##FFFFFF
##3A46C31.007.382.847.38
#FFFFFF7.381.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC7
Deuteranopia (green-blind)
#004FC1
Tritanopia (blue-blind)
#00667E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3a46c3;
/* rgb */ color: rgb(58, 70, 195);
/* oklch */ color: oklch(46.7% 0.193 272.2);
Tailwind
colors: {
  custom: {
    50: '#8279d6',
    500: '#3a46c3',
    950: '#000000',
  },
}
SCSS
$custom: #3a46c3;
$custom-light: #8279d6;
$custom-dark: #000000;
JSON
{
  "hex": "#3a46c3",
  "rgb": {
    "r": 58,
    "g": 70,
    "b": 195
  },
  "hsl": {
    "h": 234.745,
    "s": 54.15,
    "l": 49.608
  },
  "oklch": {
    "l": 0.46656,
    "c": 0.19265,
    "h": 272.2
  },
  "luminance": 0.0922
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3A46C3

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

Preview Lab → · Contrast checker → · Palette generator →

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