#3A328E#3A328E

#3A328E is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.5% C 0.146 H 280.9°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#3A328E
RGBrgb(58, 50, 142)
HSLhsl(245, 48%, 38%)
HSVhsv(245, 65%, 56%)
CMYKcmyk(59.2%, 64.8%, 0%, 44.3%)
CIE-LABlab(27.11, 31.15, -50.02)
CIE-LCHlch(27.11, 58.92, 301.91°)
OKLaboklab(38.46% 0.0277 -0.1438)
OKLCHoklch(38.46% 0.146 280.9)
XYZxyz(7.7665, 5.1332, 26.1675)
Luminance0.0513 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A328E #868E32
analogous
#32588E #3A328E #68328E
triadic
#3A328E #8E3A32 #328E3A
tetradic
#3A328E #8E3258 #868E32 #328E68
square
#3A328E #8E3258 #868E32 #328E68
split-complementary
#3A328E #8E6832 #588E32
monochromatic
#151233 #282261 #3A328E #4C42BB #766ECC

Accessibility & contrast

On white

10.36
#3A328E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#3A328E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A328E
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A328E#FFFFFF#000000##FFFFFF
##3A328E1.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004391
Deuteranopia (green-blind)
#003D8C
Tritanopia (blue-blind)
#08495B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3a328e;
/* rgb */ color: rgb(58, 50, 142);
/* oklch */ color: oklch(38.5% 0.146 280.9);
Tailwind
colors: {
  custom: {
    50: '#796ab0',
    500: '#3a328e',
    950: '#000000',
  },
}
SCSS
$custom: #3a328e;
$custom-light: #796ab0;
$custom-dark: #000000;
JSON
{
  "hex": "#3a328e",
  "rgb": {
    "r": 58,
    "g": 50,
    "b": 142
  },
  "hsl": {
    "h": 245.217,
    "s": 47.917,
    "l": 37.647
  },
  "oklch": {
    "l": 0.38464,
    "c": 0.14645,
    "h": 280.9
  },
  "luminance": 0.05134
}

Semantic roles & 50–950 ramp

primary
#3A328E
secondary
#ADB468
accent
#D850CC
background
#F7F6FA
surface
#EEEBF5
border
#C9C6CF
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #3A328E

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

Preview Lab → · Contrast checker → · Palette generator →

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