#3A46C0#3A46C0

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

Color values

HEX#3A46C0
RGBrgb(58, 70, 192)
HSLhsl(235, 54%, 49%)
HSVhsv(235, 70%, 75%)
CMYKcmyk(69.8%, 63.5%, 0%, 24.7%)
CIE-LABlab(36.15, 35.76, -65.32)
CIE-LCHlch(36.15, 74.47, 298.70°)
OKLaboklab(46.39% 0.0075 -0.1886)
OKLCHoklch(46.39% 0.189 272.3)
XYZxyz(13.4463, 9.0843, 50.9038)
Luminance0.0909 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A46C0 #C0B43A
analogous
#3A89C0 #3A46C0 #713AC0
triadic
#3A46C0 #C03A46 #46C03A
tetradic
#3A46C0 #C03A89 #C0B43A #3AC071
square
#3A46C0 #C03A89 #C0B43A #3AC071
split-complementary
#3A46C0 #C0713A #89C03A
monochromatic
#1E2462 #2C3591 #3A46C0 #6670D1 #959CDF

Accessibility & contrast

On white

7.45
#3A46C0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#3A46C0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A46C0
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A46C0#FFFFFF#000000##FFFFFF
##3A46C01.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC4
Deuteranopia (green-blind)
#004FBE
Tritanopia (blue-blind)
#00657C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #3a46c0;
/* rgb */ color: rgb(58, 70, 192);
/* oklch */ color: oklch(46.4% 0.189 272.3);
Tailwind
colors: {
  custom: {
    50: '#8279d4',
    500: '#3a46c0',
    950: '#000000',
  },
}
SCSS
$custom: #3a46c0;
$custom-light: #8279d4;
$custom-dark: #000000;
JSON
{
  "hex": "#3a46c0",
  "rgb": {
    "r": 58,
    "g": 70,
    "b": 192
  },
  "hsl": {
    "h": 234.627,
    "s": 53.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.46389,
    "c": 0.18874,
    "h": 272.3
  },
  "luminance": 0.09086
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3A46C0

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

Preview Lab → · Contrast checker → · Palette generator →

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