#3A2D94#3A2D94

#3A2D94 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.2% C 0.161 H 281.3°. Best body text is #FFFFFF at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#3A2D94
RGBrgb(58, 45, 148)
HSLhsl(248, 53%, 38%)
HSVhsv(248, 70%, 58%)
CMYKcmyk(60.8%, 69.6%, 0%, 42%)
CIE-LABlab(26.49, 36.23, -54.74)
CIE-LCHlch(26.49, 65.64, 303.50°)
OKLaboklab(38.18% 0.0316 -0.1577)
OKLCHoklch(38.18% 0.161 281.3)
XYZxyz(8.0269, 4.9139, 28.5367)
Luminance0.0491 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2D94 #87942D
analogous
#2D5394 #3A2D94 #6D2D94
triadic
#3A2D94 #943A2D #2D943A
tetradic
#3A2D94 #942D53 #87942D #2D946D
square
#3A2D94 #942D53 #87942D #2D946D
split-complementary
#3A2D94 #946D2D #53942D
monochromatic
#151036 #281F65 #3A2D94 #4C3BC3 #776AD2

Accessibility & contrast

On white

10.59
#3A2D94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#3A2D94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2D94
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2D94#FFFFFF#000000##FFFFFF
##3A2D941.0010.591.9810.59
#FFFFFF10.591.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004297
Deuteranopia (green-blind)
#003B92
Tritanopia (blue-blind)
#00485D
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3a2d94;
/* rgb */ color: rgb(58, 45, 148);
/* oklch */ color: oklch(38.2% 0.161 281.3);
Tailwind
colors: {
  custom: {
    50: '#7b67b4',
    500: '#3a2d94',
    950: '#000000',
  },
}
SCSS
$custom: #3a2d94;
$custom-light: #7b67b4;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2d94",
  "rgb": {
    "r": 58,
    "g": 45,
    "b": 148
  },
  "hsl": {
    "h": 247.573,
    "s": 53.368,
    "l": 37.843
  },
  "oklch": {
    "l": 0.38176,
    "c": 0.16079,
    "h": 281.3
  },
  "luminance": 0.04914
}

Semantic roles & 50–950 ramp

primary
#3A2D94
secondary
#AEB864
accent
#DD4BCA
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #3A2D94

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

Preview Lab → · Contrast checker → · Palette generator →

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