#3A3ABD#3A3ABD

#3A3ABD is a dark, vivid blue. Relative luminance 0.076; OKLCH L 44.1% C 0.199 H 274.6°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#3A3ABD
RGBrgb(58, 58, 189)
HSLhsl(240, 53%, 48%)
HSVhsv(240, 69%, 74%)
CMYKcmyk(69.3%, 69.3%, 0%, 25.9%)
CIE-LABlab(33.13, 42.09, -68.50)
CIE-LCHlch(33.13, 80.39, 301.57°)
OKLaboklab(44.12% 0.0159 -0.1979)
OKLCHoklch(44.12% 0.199 274.6)
XYZxyz(12.4402, 7.5986, 48.9453)
Luminance0.0760 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3ABD #BDBD3A
analogous
#3A7BBD #3A3ABD #7B3ABD
triadic
#3A3ABD #BD3A3A #3ABD3A
tetradic
#3A3ABD #BD3A7B #BDBD3A #3ABD7B
square
#3A3ABD #BD3A7B #BDBD3A #3ABD7B
split-complementary
#3A3ABD #BD7B3A #7BBD3A
monochromatic
#1D1D5F #2C2C8E #3A3ABD #6565D0 #9393DE

Accessibility & contrast

On white

8.33
#3A3ABD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#3A3ABD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3ABD
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3ABD#FFFFFF#000000##FFFFFF
##3A3ABD1.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C1
Deuteranopia (green-blind)
#0048BB
Tritanopia (blue-blind)
#005E77
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3a3abd;
/* rgb */ color: rgb(58, 58, 189);
/* oklch */ color: oklch(44.1% 0.199 274.6);
Tailwind
colors: {
  custom: {
    50: '#8271d2',
    500: '#3a3abd',
    950: '#000000',
  },
}
SCSS
$custom: #3a3abd;
$custom-light: #8271d2;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3abd",
  "rgb": {
    "r": 58,
    "g": 58,
    "b": 189
  },
  "hsl": {
    "h": 240,
    "s": 53.036,
    "l": 48.431
  },
  "oklch": {
    "l": 0.44116,
    "c": 0.19858,
    "h": 274.6
  },
  "luminance": 0.076
}

Semantic roles & 50–950 ramp

primary
#3A3ABD
secondary
#C9C98A
accent
#DC4BDC
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #3A3ABD

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

Preview Lab → · Contrast checker → · Palette generator →

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