#3A3BAD#3A3BAD

#3A3BAD is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.8% C 0.177 H 275.5°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#3A3BAD
RGBrgb(58, 59, 173)
HSLhsl(239, 50%, 45%)
HSVhsv(239, 66%, 68%)
CMYKcmyk(66.5%, 65.9%, 0%, 32.2%)
CIE-LABlab(31.91, 36.05, -61.02)
CIE-LCHlch(31.91, 70.87, 300.58°)
OKLaboklab(42.79% 0.0171 -0.1761)
OKLCHoklch(42.79% 0.177 275.5)
XYZxyz(10.8492, 7.0437, 40.3149)
Luminance0.0704 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3BAD #ADAC3A
analogous
#3A75AD #3A3BAD #723AAD
triadic
#3A3BAD #AD3A3B #3BAD3A
tetradic
#3A3BAD #AD3A75 #ADAC3A #3AAD72
square
#3A3BAD #AD3A75 #ADAC3A #3AAD72
split-complementary
#3A3BAD #AD723A #75AD3A
monochromatic
#1B1C51 #2B2B7F #3A3BAD #5C5DC8 #8A8AD8

Accessibility & contrast

On white

8.72
#3A3BAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A3BAD
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3BAD#FFFFFF#000000##FFFFFF
##3A3BAD1.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B1
Deuteranopia (green-blind)
#0046AB
Tritanopia (blue-blind)
#00596E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3a3bad;
/* rgb */ color: rgb(58, 59, 173);
/* oklch */ color: oklch(42.8% 0.177 275.5);
Tailwind
colors: {
  custom: {
    50: '#7f71c6',
    500: '#3a3bad',
    950: '#000000',
  },
}
SCSS
$custom: #3a3bad;
$custom-light: #7f71c6;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3bad",
  "rgb": {
    "r": 58,
    "g": 59,
    "b": 173
  },
  "hsl": {
    "h": 239.478,
    "s": 49.784,
    "l": 45.294
  },
  "oklch": {
    "l": 0.42785,
    "c": 0.17688,
    "h": 275.5
  },
  "luminance": 0.07045
}

Semantic roles & 50–950 ramp

primary
#3A3BAD
secondary
#C2C181
accent
#D84ED9
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3A3BAD

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

Preview Lab → · Contrast checker → · Palette generator →

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