#3A359D#3A359D

#3A359D is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.3% C 0.163 H 278.3°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#3A359D
RGBrgb(58, 53, 157)
HSLhsl(243, 50%, 41%)
HSVhsv(243, 66%, 62%)
CMYKcmyk(63.1%, 66.2%, 0%, 38.4%)
CIE-LABlab(29.11, 34.33, -55.96)
CIE-LCHlch(29.11, 65.65, 301.53°)
OKLaboklab(40.32% 0.0236 -0.1612)
OKLCHoklch(40.32% 0.163 278.3)
XYZxyz(9.1019, 5.8794, 32.5469)
Luminance0.0588 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A359D #989D35
analogous
#35649D #3A359D #6E359D
triadic
#3A359D #9D3A35 #359D3A
tetradic
#3A359D #9D3564 #989D35 #359D6E
square
#3A359D #9D3564 #989D35 #359D6E
split-complementary
#3A359D #9D6E35 #649D35
monochromatic
#181641 #29266F #3A359D #524CC3 #7E7AD2

Accessibility & contrast

On white

9.65
#3A359D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#3A359D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A359D
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A359D#FFFFFF#000000##FFFFFF
##3A359D1.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A0
Deuteranopia (green-blind)
#00409B
Tritanopia (blue-blind)
#005064
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3a359d;
/* rgb */ color: rgb(58, 53, 157);
/* oklch */ color: oklch(40.3% 0.163 278.3);
Tailwind
colors: {
  custom: {
    50: '#7c6dbb',
    500: '#3a359d',
    950: '#000000',
  },
}
SCSS
$custom: #3a359d;
$custom-light: #7c6dbb;
$custom-dark: #000000;
JSON
{
  "hex": "#3a359d",
  "rgb": {
    "r": 58,
    "g": 53,
    "b": 157
  },
  "hsl": {
    "h": 242.885,
    "s": 49.524,
    "l": 41.176
  },
  "oklch": {
    "l": 0.40316,
    "c": 0.16294,
    "h": 278.3
  },
  "luminance": 0.0588
}

Semantic roles & 50–950 ramp

primary
#3A359D
secondary
#B8BB73
accent
#D94FD2
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #3A359D

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

Preview Lab → · Contrast checker → · Palette generator →

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