#3A2E92#3A2E92

#3A2E92 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.1% C 0.157 H 281.4°. Best body text is #FFFFFF at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#3A2E92
RGBrgb(58, 46, 146)
HSLhsl(247, 52%, 38%)
HSVhsv(247, 68%, 57%)
CMYKcmyk(60.3%, 68.5%, 0%, 42.7%)
CIE-LABlab(26.53, 34.97, -53.44)
CIE-LCHlch(26.53, 63.86, 303.20°)
OKLaboklab(38.15% 0.031 -0.1538)
OKLCHoklch(38.15% 0.157 281.4)
XYZxyz(7.9086, 4.9283, 27.7231)
Luminance0.0493 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2E92 #86922E
analogous
#2E5492 #3A2E92 #6C2E92
triadic
#3A2E92 #923A2E #2E923A
tetradic
#3A2E92 #922E54 #86922E #2E926C
square
#3A2E92 #922E54 #86922E #2E926C
split-complementary
#3A2E92 #926C2E #54922E
monochromatic
#151135 #281F63 #3A2E92 #4C3DC1 #766AD0

Accessibility & contrast

On white

10.58
#3A2E92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#3A2E92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2E92
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2E92#FFFFFF#000000##FFFFFF
##3A2E921.0010.581.9910.58
#FFFFFF10.581.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004295
Deuteranopia (green-blind)
#003B90
Tritanopia (blue-blind)
#00485C
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3a2e92;
/* rgb */ color: rgb(58, 46, 146);
/* oklch */ color: oklch(38.1% 0.157 281.4);
Tailwind
colors: {
  custom: {
    50: '#7a68b3',
    500: '#3a2e92',
    950: '#000000',
  },
}
SCSS
$custom: #3a2e92;
$custom-light: #7a68b3;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2e92",
  "rgb": {
    "r": 58,
    "g": 46,
    "b": 146
  },
  "hsl": {
    "h": 247.2,
    "s": 52.083,
    "l": 37.647
  },
  "oklch": {
    "l": 0.3815,
    "c": 0.15694,
    "h": 281.4
  },
  "luminance": 0.04929
}

Semantic roles & 50–950 ramp

primary
#3A2E92
secondary
#ADB765
accent
#DC4CCA
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #3A2E92

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

Preview Lab → · Contrast checker → · Palette generator →

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