#3A3AB2#3A3AB2

#3A3AB2 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 43.1% C 0.185 H 275.4°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#3A3AB2
RGBrgb(58, 58, 178)
HSLhsl(240, 51%, 46%)
HSVhsv(240, 67%, 70%)
CMYKcmyk(67.4%, 67.4%, 0%, 30.2%)
CIE-LABlab(32.12, 38.37, -63.65)
CIE-LCHlch(32.12, 74.32, 301.09°)
OKLaboklab(43.08% 0.0173 -0.1837)
OKLCHoklch(43.08% 0.185 275.4)
XYZxyz(11.2912, 7.1390, 42.8938)
Luminance0.0714 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3AB2 #B2B23A
analogous
#3A76B2 #3A3AB2 #763AB2
triadic
#3A3AB2 #B23A3A #3AB23A
tetradic
#3A3AB2 #B23A76 #B2B23A #3AB276
square
#3A3AB2 #B23A76 #B2B23A #3AB276
split-complementary
#3A3AB2 #B2763A #76B23A
monochromatic
#1C1C56 #2B2B84 #3A3AB2 #5F5FCB #8D8DDA

Accessibility & contrast

On white

8.65
#3A3AB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#3A3AB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3AB2
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3AB2#FFFFFF#000000##FFFFFF
##3A3AB21.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B6
Deuteranopia (green-blind)
#0046B0
Tritanopia (blue-blind)
#005A71
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3a3ab2;
/* rgb */ color: rgb(58, 58, 178);
/* oklch */ color: oklch(43.1% 0.185 275.4);
Tailwind
colors: {
  custom: {
    50: '#8071ca',
    500: '#3a3ab2',
    950: '#000000',
  },
}
SCSS
$custom: #3a3ab2;
$custom-light: #8071ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3ab2",
  "rgb": {
    "r": 58,
    "g": 58,
    "b": 178
  },
  "hsl": {
    "h": 240,
    "s": 50.847,
    "l": 46.275
  },
  "oklch": {
    "l": 0.43078,
    "c": 0.18456,
    "h": 275.4
  },
  "luminance": 0.0714
}

Semantic roles & 50–950 ramp

primary
#3A3AB2
secondary
#C4C483
accent
#DA4DDA
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3A3AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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