#3A3AB0#3A3AB0

#3A3AB0 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.9% C 0.182 H 275.5°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#3A3AB0
RGBrgb(58, 58, 176)
HSLhsl(240, 50%, 46%)
HSVhsv(240, 67%, 69%)
CMYKcmyk(67%, 67%, 0%, 31%)
CIE-LABlab(31.94, 37.69, -62.75)
CIE-LCHlch(31.94, 73.20, 300.99°)
OKLaboklab(42.89% 0.0175 -0.1811)
OKLCHoklch(42.89% 0.182 275.5)
XYZxyz(11.0919, 7.0593, 41.8439)
Luminance0.0706 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3AB0 #B0B03A
analogous
#3A75B0 #3A3AB0 #753AB0
triadic
#3A3AB0 #B03A3A #3AB03A
tetradic
#3A3AB0 #B03A75 #B0B03A #3AB075
square
#3A3AB0 #B03A75 #B0B03A #3AB075
split-complementary
#3A3AB0 #B0753A #75B03A
monochromatic
#1C1C54 #2B2B82 #3A3AB0 #5D5DCA #8B8BD9

Accessibility & contrast

On white

8.71
#3A3AB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#3A3AB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3AB0
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3AB0#FFFFFF#000000##FFFFFF
##3A3AB01.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B4
Deuteranopia (green-blind)
#0046AE
Tritanopia (blue-blind)
#005970
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3a3ab0;
/* rgb */ color: rgb(58, 58, 176);
/* oklch */ color: oklch(42.9% 0.182 275.5);
Tailwind
colors: {
  custom: {
    50: '#7f71c9',
    500: '#3a3ab0',
    950: '#000000',
  },
}
SCSS
$custom: #3a3ab0;
$custom-light: #7f71c9;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3ab0",
  "rgb": {
    "r": 58,
    "g": 58,
    "b": 176
  },
  "hsl": {
    "h": 240,
    "s": 50.427,
    "l": 45.882
  },
  "oklch": {
    "l": 0.42892,
    "c": 0.18198,
    "h": 275.5
  },
  "luminance": 0.0706
}

Semantic roles & 50–950 ramp

primary
#3A3AB0
secondary
#C3C382
accent
#DA4EDA
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3A3AB0

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

Preview Lab → · Contrast checker → · Palette generator →

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