#3A2FBF#3A2FBF

#3A2FBF is a dark, highly saturated blue. Relative luminance 0.067; OKLCH L 42.7% C 0.212 H 275.9°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#3A2FBF
RGBrgb(58, 47, 191)
HSLhsl(245, 61%, 47%)
HSVhsv(245, 75%, 75%)
CMYKcmyk(69.6%, 75.4%, 0%, 25.1%)
CIE-LABlab(31.10, 48.95, -73.03)
CIE-LCHlch(31.10, 87.92, 303.84°)
OKLaboklab(42.73% 0.0219 -0.2111)
OKLCHoklch(42.73% 0.212 275.9)
XYZxyz(12.1623, 6.6930, 49.9310)
Luminance0.0669 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2FBF #B4BF2F
analogous
#2F6CBF #3A2FBF #822FBF
triadic
#3A2FBF #BF3A2F #2FBF3A
tetradic
#3A2FBF #BF2F6C #B4BF2F #2FBF82
square
#3A2FBF #BF2F6C #B4BF2F #2FBF82
split-complementary
#3A2FBF #BF822F #6CBF2F
monochromatic
#1C175D #2B238E #3A2FBF #6056D5 #8E87E1

Accessibility & contrast

On white

8.98
#3A2FBF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#3A2FBF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2FBF
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2FBF#FFFFFF#000000##FFFFFF
##3A2FBF1.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FC3
Deuteranopia (green-blind)
#0043BC
Tritanopia (blue-blind)
#005975
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #3a2fbf;
/* rgb */ color: rgb(58, 47, 191);
/* oklch */ color: oklch(42.7% 0.212 275.9);
Tailwind
colors: {
  custom: {
    50: '#836ad4',
    500: '#3a2fbf',
    950: '#000000',
  },
}
SCSS
$custom: #3a2fbf;
$custom-light: #836ad4;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2fbf",
  "rgb": {
    "r": 58,
    "g": 47,
    "b": 191
  },
  "hsl": {
    "h": 244.583,
    "s": 60.504,
    "l": 46.667
  },
  "oklch": {
    "l": 0.42725,
    "c": 0.21223,
    "h": 275.9
  },
  "luminance": 0.06694
}

Semantic roles & 50–950 ramp

primary
#3A2FBF
secondary
#C5CB7F
accent
#E444D7
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #3A2FBF

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

Preview Lab → · Contrast checker → · Palette generator →

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