#3A46D2#3A46D2

#3A46D2 is a mid, highly saturated blue. Relative luminance 0.099; OKLCH L 48.0% C 0.212 H 271.7°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#3A46D2
RGBrgb(58, 70, 210)
HSLhsl(235, 63%, 53%)
HSVhsv(235, 72%, 82%)
CMYKcmyk(72.4%, 66.7%, 0%, 17.6%)
CIE-LABlab(37.72, 42.00, -73.20)
CIE-LCHlch(37.72, 84.39, 299.84°)
OKLaboklab(48.02% 0.0062 -0.2117)
OKLCHoklch(48.02% 0.212 271.7)
XYZxyz(15.5640, 9.9314, 62.0570)
Luminance0.0993 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A46D2 #D2C63A
analogous
#3A92D2 #3A46D2 #7A3AD2
triadic
#3A46D2 #D23A46 #46D23A
tetradic
#3A46D2 #D23A92 #D2C63A #3AD27A
square
#3A46D2 #D23A92 #D2C63A #3AD27A
split-complementary
#3A46D2 #D27A3A #92D23A
monochromatic
#1B2277 #2631A8 #3A46D2 #6C75DD #9EA4E9

Accessibility & contrast

On white

7.03
#3A46D2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#3A46D2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A46D2
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A46D2#FFFFFF#000000##FFFFFF
##3A46D21.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D6
Deuteranopia (green-blind)
#0052CF
Tritanopia (blue-blind)
#006C86
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #3a46d2;
/* rgb */ color: rgb(58, 70, 210);
/* oklch */ color: oklch(48.0% 0.212 271.7);
Tailwind
colors: {
  custom: {
    50: '#867ae1',
    500: '#3a46d2',
    950: '#000000',
  },
}
SCSS
$custom: #3a46d2;
$custom-light: #867ae1;
$custom-dark: #000000;
JSON
{
  "hex": "#3a46d2",
  "rgb": {
    "r": 58,
    "g": 70,
    "b": 210
  },
  "hsl": {
    "h": 235.263,
    "s": 62.81,
    "l": 52.549
  },
  "oklch": {
    "l": 0.48021,
    "c": 0.21176,
    "h": 271.7
  },
  "luminance": 0.09933
}

Semantic roles & 50–950 ramp

primary
#3A46D2
secondary
#D5D093
accent
#D942E6
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #3A46D2

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

Preview Lab → · Contrast checker → · Palette generator →

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