#3A2F92#3A2F92

#3A2F92 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.3% C 0.156 H 281.1°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#3A2F92
RGBrgb(58, 47, 146)
HSLhsl(247, 51%, 38%)
HSVhsv(247, 68%, 57%)
CMYKcmyk(60.3%, 67.8%, 0%, 42.7%)
CIE-LABlab(26.76, 34.36, -53.07)
CIE-LCHlch(26.76, 63.22, 302.92°)
OKLaboklab(38.31% 0.0301 -0.1528)
OKLCHoklch(38.31% 0.156 281.1)
XYZxyz(7.9481, 5.0073, 27.7362)
Luminance0.0501 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2F92 #87922F
analogous
#2F5592 #3A2F92 #6C2F92
triadic
#3A2F92 #923A2F #2F923A
tetradic
#3A2F92 #922F55 #87922F #2F926C
square
#3A2F92 #922F55 #87922F #2F926C
split-complementary
#3A2F92 #926C2F #55922F
monochromatic
#151135 #282064 #3A2F92 #4C3EC0 #776CD0

Accessibility & contrast

On white

10.49
#3A2F92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#3A2F92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2F92
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2F92#FFFFFF#000000##FFFFFF
##3A2F921.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a2f92;
/* rgb */ color: rgb(58, 47, 146);
/* oklch */ color: oklch(38.3% 0.156 281.1);
Tailwind
colors: {
  custom: {
    50: '#7a68b3',
    500: '#3a2f92',
    950: '#000000',
  },
}
SCSS
$custom: #3a2f92;
$custom-light: #7a68b3;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2f92",
  "rgb": {
    "r": 58,
    "g": 47,
    "b": 146
  },
  "hsl": {
    "h": 246.667,
    "s": 51.295,
    "l": 37.843
  },
  "oklch": {
    "l": 0.38313,
    "c": 0.1557,
    "h": 281.1
  },
  "luminance": 0.05008
}

Semantic roles & 50–950 ramp

primary
#3A2F92
secondary
#AEB766
accent
#DB4DCB
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #3A2F92

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

Preview Lab → · Contrast checker → · Palette generator →

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