#3A32B5#3A32B5

#3A32B5 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 42.1% C 0.197 H 276.5°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#3A32B5
RGBrgb(58, 50, 181)
HSLhsl(244, 57%, 45%)
HSVhsv(244, 72%, 71%)
CMYKcmyk(68%, 72.4%, 0%, 29%)
CIE-LABlab(30.68, 44.10, -67.80)
CIE-LCHlch(30.68, 80.88, 303.04°)
OKLaboklab(42.13% 0.0222 -0.1959)
OKLCHoklch(42.13% 0.197 276.5)
XYZxyz(11.2233, 6.5159, 44.3733)
Luminance0.0652 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A32B5 #ADB532
analogous
#326BB5 #3A32B5 #7B32B5
triadic
#3A32B5 #B53A32 #32B53A
tetradic
#3A32B5 #B5326B #ADB532 #32B57B
square
#3A32B5 #B5326B #ADB532 #32B57B
split-complementary
#3A32B5 #B57B32 #6BB532
monochromatic
#1B1855 #2B2585 #3A32B5 #5C54D0 #8A84DD

Accessibility & contrast

On white

9.12
#3A32B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#3A32B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A32B5
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A32B5#FFFFFF#000000##FFFFFF
##3A32B51.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB9
Deuteranopia (green-blind)
#0042B3
Tritanopia (blue-blind)
#005770
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3a32b5;
/* rgb */ color: rgb(58, 50, 181);
/* oklch */ color: oklch(42.1% 0.197 276.5);
Tailwind
colors: {
  custom: {
    50: '#816ccc',
    500: '#3a32b5',
    950: '#000000',
  },
}
SCSS
$custom: #3a32b5;
$custom-light: #816ccc;
$custom-dark: #000000;
JSON
{
  "hex": "#3a32b5",
  "rgb": {
    "r": 58,
    "g": 50,
    "b": 181
  },
  "hsl": {
    "h": 243.664,
    "s": 56.71,
    "l": 45.294
  },
  "oklch": {
    "l": 0.42127,
    "c": 0.19715,
    "h": 276.5
  },
  "luminance": 0.06517
}

Semantic roles & 50–950 ramp

primary
#3A32B5
secondary
#C2C77C
accent
#E048D7
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #3A32B5

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

Preview Lab → · Contrast checker → · Palette generator →

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