#3A3ABB#3A3ABB

#3A3ABB is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.9% C 0.196 H 274.7°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#3A3ABB
RGBrgb(58, 58, 187)
HSLhsl(240, 53%, 48%)
HSVhsv(240, 69%, 73%)
CMYKcmyk(69%, 69%, 0%, 26.7%)
CIE-LABlab(32.95, 41.41, -67.62)
CIE-LCHlch(32.95, 79.30, 301.48°)
OKLaboklab(43.93% 0.0162 -0.1954)
OKLCHoklch(43.93% 0.196 274.7)
XYZxyz(12.2247, 7.5124, 47.8099)
Luminance0.0751 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3ABB #BBBB3A
analogous
#3A7ABB #3A3ABB #7A3ABB
triadic
#3A3ABB #BB3A3A #3ABB3A
tetradic
#3A3ABB #BB3A7A #BBBB3A #3ABB7A
square
#3A3ABB #BB3A7A #BBBB3A #3ABB7A
split-complementary
#3A3ABB #BB7A3A #7ABB3A
monochromatic
#1D1D5E #2C2C8C #3A3ABB #6363CF #9292DD

Accessibility & contrast

On white

8.39
#3A3ABB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#3A3ABB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3ABB
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3ABB#FFFFFF#000000##FFFFFF
##3A3ABB1.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BF
Deuteranopia (green-blind)
#0047B9
Tritanopia (blue-blind)
#005D76
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3a3abb;
/* rgb */ color: rgb(58, 58, 187);
/* oklch */ color: oklch(43.9% 0.196 274.7);
Tailwind
colors: {
  custom: {
    50: '#8271d1',
    500: '#3a3abb',
    950: '#000000',
  },
}
SCSS
$custom: #3a3abb;
$custom-light: #8271d1;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3abb",
  "rgb": {
    "r": 58,
    "g": 58,
    "b": 187
  },
  "hsl": {
    "h": 240,
    "s": 52.653,
    "l": 48.039
  },
  "oklch": {
    "l": 0.43925,
    "c": 0.19606,
    "h": 274.7
  },
  "luminance": 0.07514
}

Semantic roles & 50–950 ramp

primary
#3A3ABB
secondary
#C8C888
accent
#DC4CDC
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #3A3ABB

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

Preview Lab → · Contrast checker → · Palette generator →

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