#3A46C1#3A46C1

#3A46C1 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 46.5% C 0.190 H 272.3°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#3A46C1
RGBrgb(58, 70, 193)
HSLhsl(235, 54%, 49%)
HSVhsv(235, 70%, 76%)
CMYKcmyk(69.9%, 63.7%, 0%, 24.3%)
CIE-LABlab(36.23, 36.11, -65.76)
CIE-LCHlch(36.23, 75.03, 298.77°)
OKLaboklab(46.48% 0.0075 -0.1899)
OKLCHoklch(46.48% 0.19 272.3)
XYZxyz(13.5575, 9.1288, 51.4893)
Luminance0.0913 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A46C1 #C1B53A
analogous
#3A8AC1 #3A46C1 #723AC1
triadic
#3A46C1 #C13A46 #46C13A
tetradic
#3A46C1 #C13A8A #C1B53A #3AC172
square
#3A46C1 #C13A8A #C1B53A #3AC172
split-complementary
#3A46C1 #C1723A #8AC13A
monochromatic
#1E2463 #2C3592 #3A46C1 #6770D1 #969CDF

Accessibility & contrast

On white

7.43
#3A46C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A46C1
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A46C1#FFFFFF#000000##FFFFFF
##3A46C11.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a46c1;
/* rgb */ color: rgb(58, 70, 193);
/* oklch */ color: oklch(46.5% 0.190 272.3);
Tailwind
colors: {
  custom: {
    50: '#8279d5',
    500: '#3a46c1',
    950: '#000000',
  },
}
SCSS
$custom: #3a46c1;
$custom-light: #8279d5;
$custom-dark: #000000;
JSON
{
  "hex": "#3a46c1",
  "rgb": {
    "r": 58,
    "g": 70,
    "b": 193
  },
  "hsl": {
    "h": 234.667,
    "s": 53.785,
    "l": 49.216
  },
  "oklch": {
    "l": 0.46478,
    "c": 0.19005,
    "h": 272.3
  },
  "luminance": 0.0913
}

Semantic roles & 50–950 ramp

primary
#3A46C1
secondary
#CBC58C
accent
#D04BDD
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #3A46C1

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

Preview Lab → · Contrast checker → · Palette generator →

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