#3A2EBC#3A2EBC

#3A2EBC is a dark, highly saturated blue. Relative luminance 0.065; OKLCH L 42.3% C 0.210 H 276.3°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#3A2EBC
RGBrgb(58, 46, 188)
HSLhsl(245, 61%, 46%)
HSVhsv(245, 76%, 74%)
CMYKcmyk(69.1%, 75.5%, 0%, 26.3%)
CIE-LABlab(30.60, 48.54, -72.08)
CIE-LCHlch(30.60, 86.90, 303.96°)
OKLaboklab(42.28% 0.0231 -0.2083)
OKLCHoklch(42.28% 0.21 276.3)
XYZxyz(11.7960, 6.4833, 48.1970)
Luminance0.0648 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2EBC #B0BC2E
analogous
#2E69BC #3A2EBC #812EBC
triadic
#3A2EBC #BC3A2E #2EBC3A
tetradic
#3A2EBC #BC2E69 #B0BC2E #2EBC81
square
#3A2EBC #BC2E69 #B0BC2E #2EBC81
split-complementary
#3A2EBC #BC812E #69BC2E
monochromatic
#1C165A #2B228B #3A2EBC #5D52D5 #8B84E1

Accessibility & contrast

On white

9.14
#3A2EBC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A2EBC
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2EBC#FFFFFF#000000##FFFFFF
##3A2EBC1.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a2ebc;
/* rgb */ color: rgb(58, 46, 188);
/* oklch */ color: oklch(42.3% 0.210 276.3);
Tailwind
colors: {
  custom: {
    50: '#8369d1',
    500: '#3a2ebc',
    950: '#000000',
  },
}
SCSS
$custom: #3a2ebc;
$custom-light: #8369d1;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2ebc",
  "rgb": {
    "r": 58,
    "g": 46,
    "b": 188
  },
  "hsl": {
    "h": 245.07,
    "s": 60.684,
    "l": 45.882
  },
  "oklch": {
    "l": 0.42282,
    "c": 0.2096,
    "h": 276.3
  },
  "luminance": 0.06484
}

Semantic roles & 50–950 ramp

primary
#3A2EBC
secondary
#C3CA7C
accent
#E444D6
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #3A2EBC

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

Preview Lab → · Contrast checker → · Palette generator →

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