#3A46C7#3A46C7

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

Color values

HEX#3A46C7
RGBrgb(58, 70, 199)
HSLhsl(235, 56%, 50%)
HSVhsv(235, 71%, 78%)
CMYKcmyk(70.9%, 64.8%, 0%, 22%)
CIE-LABlab(36.75, 38.20, -68.42)
CIE-LCHlch(36.75, 78.36, 299.18°)
OKLaboklab(47.01% 0.0071 -0.1977)
OKLCHoklch(47.01% 0.198 272.1)
XYZxyz(14.2404, 9.4020, 55.0860)
Luminance0.0940 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A46C7 #C7BB3A
analogous
#3A8CC7 #3A46C7 #753AC7
triadic
#3A46C7 #C73A46 #46C73A
tetradic
#3A46C7 #C73A8C #C7BB3A #3AC775
square
#3A46C7 #C73A8C #C7BB3A #3AC775
split-complementary
#3A46C7 #C7753A #8CC73A
monochromatic
#1E2469 #2B3598 #3A46C7 #6A73D5 #99A0E2

Accessibility & contrast

On white

7.29
#3A46C7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#3A46C7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A46C7
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A46C7#FFFFFF#000000##FFFFFF
##3A46C71.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a46c7;
/* rgb */ color: rgb(58, 70, 199);
/* oklch */ color: oklch(47.0% 0.198 272.1);
Tailwind
colors: {
  custom: {
    50: '#8379d9',
    500: '#3a46c7',
    950: '#000000',
  },
}
SCSS
$custom: #3a46c7;
$custom-light: #8379d9;
$custom-dark: #000000;
JSON
{
  "hex": "#3a46c7",
  "rgb": {
    "r": 58,
    "g": 70,
    "b": 199
  },
  "hsl": {
    "h": 234.894,
    "s": 55.731,
    "l": 50.392
  },
  "oklch": {
    "l": 0.47014,
    "c": 0.19781,
    "h": 272.1
  },
  "luminance": 0.09403
}

Semantic roles & 50–950 ramp

primary
#3A46C7
secondary
#CEC88F
accent
#D249DF
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0C0915
muted
#7D7B83

Preview Lab

Preview with #3A46C7

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

Preview Lab → · Contrast checker → · Palette generator →

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