#3A2FBE#3A2FBE

#3A2FBE is a dark, highly saturated blue. Relative luminance 0.067; OKLCH L 42.6% C 0.211 H 276.0°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#3A2FBE
RGBrgb(58, 47, 190)
HSLhsl(245, 60%, 46%)
HSVhsv(245, 75%, 75%)
CMYKcmyk(69.5%, 75.3%, 0%, 25.5%)
CIE-LABlab(30.99, 48.64, -72.61)
CIE-LCHlch(30.99, 87.39, 303.82°)
OKLaboklab(42.62% 0.0221 -0.2099)
OKLCHoklch(42.62% 0.211 276)
XYZxyz(12.0527, 6.6492, 49.3535)
Luminance0.0665 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2FBE #B3BE2F
analogous
#2F6CBE #3A2FBE #822FBE
triadic
#3A2FBE #BE3A2F #2FBE3A
tetradic
#3A2FBE #BE2F6C #B3BE2F #2FBE82
square
#3A2FBE #BE2F6C #B3BE2F #2FBE82
split-complementary
#3A2FBE #BE822F #6CBE2F
monochromatic
#1C175C #2B238D #3A2FBE #5F55D5 #8D86E1

Accessibility & contrast

On white

9.01
#3A2FBE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#3A2FBE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2FBE
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2FBE#FFFFFF#000000##FFFFFF
##3A2FBE1.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a2fbe;
/* rgb */ color: rgb(58, 47, 190);
/* oklch */ color: oklch(42.6% 0.211 276.0);
Tailwind
colors: {
  custom: {
    50: '#836ad3',
    500: '#3a2fbe',
    950: '#000000',
  },
}
SCSS
$custom: #3a2fbe;
$custom-light: #836ad3;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2fbe",
  "rgb": {
    "r": 58,
    "g": 47,
    "b": 190
  },
  "hsl": {
    "h": 244.615,
    "s": 60.338,
    "l": 46.471
  },
  "oklch": {
    "l": 0.42622,
    "c": 0.21104,
    "h": 276
  },
  "luminance": 0.0665
}

Semantic roles & 50–950 ramp

primary
#3A2FBE
secondary
#C5CB7E
accent
#E344D7
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #3A2FBE

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

Preview Lab → · Contrast checker → · Palette generator →

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