#3A2FBC#3A2FBC

#3A2FBC is a dark, highly saturated blue. Relative luminance 0.066; OKLCH L 42.4% C 0.209 H 276.2°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#3A2FBC
RGBrgb(58, 47, 188)
HSLhsl(245, 60%, 46%)
HSVhsv(245, 75%, 74%)
CMYKcmyk(69.1%, 75%, 0%, 26.3%)
CIE-LABlab(30.79, 48.01, -71.77)
CIE-LCHlch(30.79, 86.34, 303.78°)
OKLaboklab(42.42% 0.0226 -0.2074)
OKLCHoklch(42.42% 0.209 276.2)
XYZxyz(11.8356, 6.5623, 48.2101)
Luminance0.0656 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2FBC #B1BC2F
analogous
#2F6ABC #3A2FBC #802FBC
triadic
#3A2FBC #BC3A2F #2FBC3A
tetradic
#3A2FBC #BC2F6A #B1BC2F #2FBC80
square
#3A2FBC #BC2F6A #B1BC2F #2FBC80
split-complementary
#3A2FBC #BC802F #6ABC2F
monochromatic
#1C175A #2B238B #3A2FBC #5E54D4 #8C85E0

Accessibility & contrast

On white

9.08
#3A2FBC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#3A2FBC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2FBC
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2FBC#FFFFFF#000000##FFFFFF
##3A2FBC1.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EC0
Deuteranopia (green-blind)
#0042B9
Tritanopia (blue-blind)
#005873
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3a2fbc;
/* rgb */ color: rgb(58, 47, 188);
/* oklch */ color: oklch(42.4% 0.209 276.2);
Tailwind
colors: {
  custom: {
    50: '#836ad1',
    500: '#3a2fbc',
    950: '#000000',
  },
}
SCSS
$custom: #3a2fbc;
$custom-light: #836ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2fbc",
  "rgb": {
    "r": 58,
    "g": 47,
    "b": 188
  },
  "hsl": {
    "h": 244.681,
    "s": 60,
    "l": 46.078
  },
  "oklch": {
    "l": 0.42415,
    "c": 0.20865,
    "h": 276.2
  },
  "luminance": 0.06563
}

Semantic roles & 50–950 ramp

primary
#3A2FBC
secondary
#C4CA7D
accent
#E345D7
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #3A2FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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