#3A2E8A#3A2E8A

#3A2E8A is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.4% C 0.146 H 282.6°. Best body text is #FFFFFF at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#3A2E8A
RGBrgb(58, 46, 138)
HSLhsl(248, 50%, 36%)
HSVhsv(248, 67%, 54%)
CMYKcmyk(58%, 66.7%, 0%, 45.9%)
CIE-LABlab(25.83, 32.32, -49.63)
CIE-LCHlch(25.83, 59.23, 303.08°)
OKLaboklab(37.42% 0.032 -0.1427)
OKLCHoklch(37.42% 0.146 282.6)
XYZxyz(7.3079, 4.6881, 24.5596)
Luminance0.0469 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2E8A #7E8A2E
analogous
#2E508A #3A2E8A #682E8A
triadic
#3A2E8A #8A3A2E #2E8A3A
tetradic
#3A2E8A #8A2E50 #7E8A2E #2E8A68
square
#3A2E8A #8A2E50 #7E8A2E #2E8A68
split-complementary
#3A2E8A #8A682E #508A2E
monochromatic
#130F2E #271F5C #3A2E8A #4D3DB8 #7466CC

Accessibility & contrast

On white

10.84
#3A2E8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#3A2E8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2E8A
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2E8A#FFFFFF#000000##FFFFFF
##3A2E8A1.0010.841.9410.84
#FFFFFF10.841.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408D
Deuteranopia (green-blind)
#003A88
Tritanopia (blue-blind)
#114557
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3a2e8a;
/* rgb */ color: rgb(58, 46, 138);
/* oklch */ color: oklch(37.4% 0.146 282.6);
Tailwind
colors: {
  custom: {
    50: '#7967ad',
    500: '#3a2e8a',
    950: '#000000',
  },
}
SCSS
$custom: #3a2e8a;
$custom-light: #7967ad;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2e8a",
  "rgb": {
    "r": 58,
    "g": 46,
    "b": 138
  },
  "hsl": {
    "h": 247.826,
    "s": 50,
    "l": 36.078
  },
  "oklch": {
    "l": 0.37424,
    "c": 0.14623,
    "h": 282.6
  },
  "luminance": 0.04689
}

Semantic roles & 50–950 ramp

primary
#3A2E8A
secondary
#A8B361
accent
#DA4EC7
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #3A2E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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