#3A46AB#3A46AB

#3A46AB is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.6% C 0.161 H 272.9°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#3A46AB
RGBrgb(58, 70, 171)
HSLhsl(234, 49%, 45%)
HSVhsv(234, 66%, 67%)
CMYKcmyk(66.1%, 59.1%, 0%, 32.9%)
CIE-LABlab(34.44, 28.34, -55.70)
CIE-LCHlch(34.44, 62.49, 296.97°)
OKLaboklab(44.59% 0.0081 -0.1603)
OKLCHoklch(44.59% 0.161 272.9)
XYZxyz(11.2833, 8.2191, 39.5120)
Luminance0.0822 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A46AB #AB9F3A
analogous
#3A7FAB #3A46AB #663AAB
triadic
#3A46AB #AB3A46 #46AB3A
tetradic
#3A46AB #AB3A7F #AB9F3A #3AAB66
square
#3A46AB #AB3A7F #AB9F3A #3AAB66
split-complementary
#3A46AB #AB663A #7FAB3A
monochromatic
#1B2150 #2A337D #3A46AB #5B66C7 #8991D7

Accessibility & contrast

On white

7.94
#3A46AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#3A46AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A46AB
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A46AB#FFFFFF#000000##FFFFFF
##3A46AB1.007.942.647.94
#FFFFFF7.941.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AE
Deuteranopia (green-blind)
#004CA9
Tritanopia (blue-blind)
#005F71
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3a46ab;
/* rgb */ color: rgb(58, 70, 171);
/* oklch */ color: oklch(44.6% 0.161 272.9);
Tailwind
colors: {
  custom: {
    50: '#7d79c5',
    500: '#3a46ab',
    950: '#000000',
  },
}
SCSS
$custom: #3a46ab;
$custom-light: #7d79c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3a46ab",
  "rgb": {
    "r": 58,
    "g": 70,
    "b": 171
  },
  "hsl": {
    "h": 233.628,
    "s": 49.345,
    "l": 44.902
  },
  "oklch": {
    "l": 0.44593,
    "c": 0.16056,
    "h": 272.9
  },
  "luminance": 0.0822
}

Semantic roles & 50–950 ramp

primary
#3A46AB
secondary
#C1BA80
accent
#CA4FD9
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3A46AB

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

Preview Lab → · Contrast checker → · Palette generator →

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