#3A3AB3#3A3AB3

#3A3AB3 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 43.2% C 0.186 H 275.3°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#3A3AB3
RGBrgb(58, 58, 179)
HSLhsl(240, 51%, 46%)
HSVhsv(240, 68%, 70%)
CMYKcmyk(67.6%, 67.6%, 0%, 29.8%)
CIE-LABlab(32.21, 38.71, -64.09)
CIE-LCHlch(32.21, 74.88, 301.13°)
OKLaboklab(43.17% 0.0172 -0.1851)
OKLCHoklch(43.17% 0.186 275.3)
XYZxyz(11.3920, 7.1793, 43.4245)
Luminance0.0718 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3AB3 #B3B33A
analogous
#3A77B3 #3A3AB3 #773AB3
triadic
#3A3AB3 #B33A3A #3AB33A
tetradic
#3A3AB3 #B33A77 #B3B33A #3AB377
square
#3A3AB3 #B33A77 #B3B33A #3AB377
split-complementary
#3A3AB3 #B3773A #77B33A
monochromatic
#1C1C57 #2B2B85 #3A3AB3 #5F5FCB #8D8DDA

Accessibility & contrast

On white

8.62
#3A3AB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#3A3AB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3AB3
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3AB3#FFFFFF#000000##FFFFFF
##3A3AB31.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a3ab3;
/* rgb */ color: rgb(58, 58, 179);
/* oklch */ color: oklch(43.2% 0.186 275.3);
Tailwind
colors: {
  custom: {
    50: '#8071cb',
    500: '#3a3ab3',
    950: '#000000',
  },
}
SCSS
$custom: #3a3ab3;
$custom-light: #8071cb;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3ab3",
  "rgb": {
    "r": 58,
    "g": 58,
    "b": 179
  },
  "hsl": {
    "h": 240,
    "s": 51.055,
    "l": 46.471
  },
  "oklch": {
    "l": 0.43171,
    "c": 0.18586,
    "h": 275.3
  },
  "luminance": 0.0718
}

Semantic roles & 50–950 ramp

primary
#3A3AB3
secondary
#C5C584
accent
#DB4DDB
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #3A3AB3

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

Preview Lab → · Contrast checker → · Palette generator →

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