#3A3ABA#3A3ABA

#3A3ABA is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.8% C 0.195 H 274.8°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#3A3ABA
RGBrgb(58, 58, 186)
HSLhsl(240, 52%, 48%)
HSVhsv(240, 69%, 73%)
CMYKcmyk(68.8%, 68.8%, 0%, 27.1%)
CIE-LABlab(32.85, 41.08, -67.19)
CIE-LCHlch(32.85, 78.75, 301.44°)
OKLaboklab(43.83% 0.0163 -0.1941)
OKLCHoklch(43.83% 0.195 274.8)
XYZxyz(12.1180, 7.4697, 47.2480)
Luminance0.0747 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3ABA #BABA3A
analogous
#3A7ABA #3A3ABA #7A3ABA
triadic
#3A3ABA #BA3A3A #3ABA3A
tetradic
#3A3ABA #BA3A7A #BABA3A #3ABA7A
square
#3A3ABA #BA3A7A #BABA3A #3ABA7A
split-complementary
#3A3ABA #BA7A3A #7ABA3A
monochromatic
#1D1D5D #2B2B8B #3A3ABA #6363CE #9292DD

Accessibility & contrast

On white

8.42
#3A3ABA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#3A3ABA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3ABA
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3ABA#FFFFFF#000000##FFFFFF
##3A3ABA1.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BE
Deuteranopia (green-blind)
#0047B8
Tritanopia (blue-blind)
#005D75
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3a3aba;
/* rgb */ color: rgb(58, 58, 186);
/* oklch */ color: oklch(43.8% 0.195 274.8);
Tailwind
colors: {
  custom: {
    50: '#8171d0',
    500: '#3a3aba',
    950: '#000000',
  },
}
SCSS
$custom: #3a3aba;
$custom-light: #8171d0;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3aba",
  "rgb": {
    "r": 58,
    "g": 58,
    "b": 186
  },
  "hsl": {
    "h": 240,
    "s": 52.459,
    "l": 47.843
  },
  "oklch": {
    "l": 0.4383,
    "c": 0.1948,
    "h": 274.8
  },
  "luminance": 0.07471
}

Semantic roles & 50–950 ramp

primary
#3A3ABA
secondary
#C8C888
accent
#DC4CDC
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0814
muted
#7D7B82

Preview Lab

Preview with #3A3ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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