#3A359F#3A359F

#3A359F is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.5% C 0.166 H 278.1°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#3A359F
RGBrgb(58, 53, 159)
HSLhsl(243, 50%, 42%)
HSVhsv(243, 67%, 62%)
CMYKcmyk(63.5%, 66.7%, 0%, 37.6%)
CIE-LABlab(29.28, 35.01, -56.88)
CIE-LCHlch(29.28, 66.79, 301.61°)
OKLaboklab(40.5% 0.0233 -0.164)
OKLCHoklch(40.5% 0.166 278.1)
XYZxyz(9.2740, 5.9482, 33.4536)
Luminance0.0595 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A359F #9A9F35
analogous
#35659F #3A359F #6F359F
triadic
#3A359F #9F3A35 #359F3A
tetradic
#3A359F #9F3565 #9A9F35 #359F6F
square
#3A359F #9F3565 #9A9F35 #359F6F
split-complementary
#3A359F #9F6F35 #659F35
monochromatic
#191643 #292671 #3A359F #534DC4 #7F7BD3

Accessibility & contrast

On white

9.59
#3A359F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#3A359F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A359F
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A359F#FFFFFF#000000##FFFFFF
##3A359F1.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A2
Deuteranopia (green-blind)
#00419D
Tritanopia (blue-blind)
#005065
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3a359f;
/* rgb */ color: rgb(58, 53, 159);
/* oklch */ color: oklch(40.5% 0.166 278.1);
Tailwind
colors: {
  custom: {
    50: '#7c6dbc',
    500: '#3a359f',
    950: '#000000',
  },
}
SCSS
$custom: #3a359f;
$custom-light: #7c6dbc;
$custom-dark: #000000;
JSON
{
  "hex": "#3a359f",
  "rgb": {
    "r": 58,
    "g": 53,
    "b": 159
  },
  "hsl": {
    "h": 242.83,
    "s": 50,
    "l": 41.569
  },
  "oklch": {
    "l": 0.40497,
    "c": 0.1656,
    "h": 278.1
  },
  "luminance": 0.05949
}

Semantic roles & 50–950 ramp

primary
#3A359F
secondary
#B9BC74
accent
#DA4ED3
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #3A359F

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

Preview Lab → · Contrast checker → · Palette generator →

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