#3A359B#3A359B

#3A359B is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.1% C 0.160 H 278.5°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#3A359B
RGBrgb(58, 53, 155)
HSLhsl(243, 49%, 41%)
HSVhsv(243, 66%, 61%)
CMYKcmyk(62.6%, 65.8%, 0%, 39.2%)
CIE-LABlab(28.93, 33.65, -55.02)
CIE-LCHlch(28.93, 64.50, 301.45°)
OKLaboklab(40.14% 0.0238 -0.1585)
OKLCHoklch(40.14% 0.16 278.5)
XYZxyz(8.9325, 5.8116, 31.6550)
Luminance0.0581 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A359B #969B35
analogous
#35639B #3A359B #6D359B
triadic
#3A359B #9B3A35 #359B3A
tetradic
#3A359B #9B3563 #969B35 #359B6D
square
#3A359B #9B3563 #969B35 #359B6D
split-complementary
#3A359B #9B6D35 #639B35
monochromatic
#181640 #29256D #3A359B #514CC2 #7D79D1

Accessibility & contrast

On white

9.71
#3A359B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#3A359B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A359B
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A359B#FFFFFF#000000##FFFFFF
##3A359B1.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489E
Deuteranopia (green-blind)
#004099
Tritanopia (blue-blind)
#004F63
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3a359b;
/* rgb */ color: rgb(58, 53, 155);
/* oklch */ color: oklch(40.1% 0.160 278.5);
Tailwind
colors: {
  custom: {
    50: '#7b6db9',
    500: '#3a359b',
    950: '#000000',
  },
}
SCSS
$custom: #3a359b;
$custom-light: #7b6db9;
$custom-dark: #000000;
JSON
{
  "hex": "#3a359b",
  "rgb": {
    "r": 58,
    "g": 53,
    "b": 155
  },
  "hsl": {
    "h": 242.941,
    "s": 49.038,
    "l": 40.784
  },
  "oklch": {
    "l": 0.40136,
    "c": 0.16026,
    "h": 278.5
  },
  "luminance": 0.05812
}

Semantic roles & 50–950 ramp

primary
#3A359B
secondary
#B6BA72
accent
#D94FD2
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #3A359B

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

Preview Lab → · Contrast checker → · Palette generator →

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