#3A3BB4#3A3BB4

#3A3BB4 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 43.4% C 0.186 H 275.1°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#3A3BB4
RGBrgb(58, 59, 180)
HSLhsl(240, 51%, 47%)
HSVhsv(240, 68%, 71%)
CMYKcmyk(67.8%, 67.2%, 0%, 29.4%)
CIE-LABlab(32.53, 38.44, -64.17)
CIE-LCHlch(32.53, 74.80, 300.93°)
OKLaboklab(43.43% 0.0164 -0.1853)
OKLCHoklch(43.43% 0.186 275.1)
XYZxyz(11.5444, 7.3217, 43.9760)
Luminance0.0732 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3BB4 #B4B33A
analogous
#3A78B4 #3A3BB4 #763AB4
triadic
#3A3BB4 #B43A3B #3BB43A
tetradic
#3A3BB4 #B43A78 #B4B33A #3AB476
square
#3A3BB4 #B43A78 #B4B33A #3AB476
split-complementary
#3A3BB4 #B4763A #78B43A
monochromatic
#1C1D57 #2B2C86 #3A3BB4 #6060CC #8E8EDB

Accessibility & contrast

On white

8.52
#3A3BB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#3A3BB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3BB4
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3BB4#FFFFFF#000000##FFFFFF
##3A3BB41.008.522.468.52
#FFFFFF8.521.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B8
Deuteranopia (green-blind)
#0047B2
Tritanopia (blue-blind)
#005B72
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3a3bb4;
/* rgb */ color: rgb(58, 59, 180);
/* oklch */ color: oklch(43.4% 0.186 275.1);
Tailwind
colors: {
  custom: {
    50: '#8071cc',
    500: '#3a3bb4',
    950: '#000000',
  },
}
SCSS
$custom: #3a3bb4;
$custom-light: #8071cc;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3bb4",
  "rgb": {
    "r": 58,
    "g": 59,
    "b": 180
  },
  "hsl": {
    "h": 239.508,
    "s": 51.261,
    "l": 46.667
  },
  "oklch": {
    "l": 0.43428,
    "c": 0.18599,
    "h": 275.1
  },
  "luminance": 0.07323
}

Semantic roles & 50–950 ramp

primary
#3A3BB4
secondary
#C5C585
accent
#DA4DDB
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #3A3BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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