#3A359A#3A359A

#3A359A is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.0% C 0.159 H 278.6°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#3A359A
RGBrgb(58, 53, 154)
HSLhsl(243, 49%, 41%)
HSVhsv(243, 66%, 60%)
CMYKcmyk(62.3%, 65.6%, 0%, 39.6%)
CIE-LABlab(28.85, 33.31, -54.55)
CIE-LCHlch(28.85, 63.92, 301.41°)
OKLaboklab(40.05% 0.0239 -0.1571)
OKLCHoklch(40.05% 0.159 278.6)
XYZxyz(8.8489, 5.7782, 31.2146)
Luminance0.0578 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A359A #959A35
analogous
#35629A #3A359A #6C359A
triadic
#3A359A #9A3A35 #359A3A
tetradic
#3A359A #9A3562 #959A35 #359A6C
square
#3A359A #9A3562 #959A35 #359A6C
split-complementary
#3A359A #9A6C35 #629A35
monochromatic
#18163F #29256C #3A359A #514BC1 #7D79D1

Accessibility & contrast

On white

9.74
#3A359A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A359A
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A359A#FFFFFF#000000##FFFFFF
##3A359A1.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489D
Deuteranopia (green-blind)
#004098
Tritanopia (blue-blind)
#004F62
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3a359a;
/* rgb */ color: rgb(58, 53, 154);
/* oklch */ color: oklch(40.0% 0.159 278.6);
Tailwind
colors: {
  custom: {
    50: '#7b6db9',
    500: '#3a359a',
    950: '#000000',
  },
}
SCSS
$custom: #3a359a;
$custom-light: #7b6db9;
$custom-dark: #000000;
JSON
{
  "hex": "#3a359a",
  "rgb": {
    "r": 58,
    "g": 53,
    "b": 154
  },
  "hsl": {
    "h": 242.97,
    "s": 48.792,
    "l": 40.588
  },
  "oklch": {
    "l": 0.40046,
    "c": 0.15892,
    "h": 278.6
  },
  "luminance": 0.05779
}

Semantic roles & 50–950 ramp

primary
#3A359A
secondary
#B6B971
accent
#D84FD2
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0A0711
muted
#7C7A80

Preview Lab

Preview with #3A359A

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

Preview Lab → · Contrast checker → · Palette generator →

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