#3A46AA#3A46AA

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

Color values

HEX#3A46AA
RGBrgb(58, 70, 170)
HSLhsl(234, 49%, 45%)
HSVhsv(234, 66%, 67%)
CMYKcmyk(65.9%, 58.8%, 0%, 33.3%)
CIE-LABlab(34.36, 27.99, -55.23)
CIE-LCHlch(34.36, 61.91, 296.88°)
OKLaboklab(44.51% 0.0081 -0.159)
OKLCHoklch(44.51% 0.159 272.9)
XYZxyz(11.1884, 8.1811, 39.0119)
Luminance0.0818 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A46AA #AA9E3A
analogous
#3A7EAA #3A46AA #663AAA
triadic
#3A46AA #AA3A46 #46AA3A
tetradic
#3A46AA #AA3A7E #AA9E3A #3AAA66
square
#3A46AA #AA3A7E #AA9E3A #3AAA66
split-complementary
#3A46AA #AA663A #7EAA3A
monochromatic
#1B204F #2A337C #3A46AA #5A66C7 #8890D6

Accessibility & contrast

On white

7.97
#3A46AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A46AA
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A46AA#FFFFFF#000000##FFFFFF
##3A46AA1.007.972.647.97
#FFFFFF7.971.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AD
Deuteranopia (green-blind)
#004CA8
Tritanopia (blue-blind)
#005E71
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3a46aa;
/* rgb */ color: rgb(58, 70, 170);
/* oklch */ color: oklch(44.5% 0.159 272.9);
Tailwind
colors: {
  custom: {
    50: '#7d79c4',
    500: '#3a46aa',
    950: '#000000',
  },
}
SCSS
$custom: #3a46aa;
$custom-light: #7d79c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3a46aa",
  "rgb": {
    "r": 58,
    "g": 70,
    "b": 170
  },
  "hsl": {
    "h": 233.571,
    "s": 49.123,
    "l": 44.706
  },
  "oklch": {
    "l": 0.44511,
    "c": 0.15918,
    "h": 272.9
  },
  "luminance": 0.08182
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3A46AA

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

Preview Lab → · Contrast checker → · Palette generator →

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