#3A359E#3A359E

#3A359E is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.4% C 0.164 H 278.2°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#3A359E
RGBrgb(58, 53, 158)
HSLhsl(243, 50%, 41%)
HSVhsv(243, 66%, 62%)
CMYKcmyk(63.3%, 66.5%, 0%, 38%)
CIE-LABlab(29.19, 34.67, -56.42)
CIE-LCHlch(29.19, 66.22, 301.57°)
OKLaboklab(40.41% 0.0235 -0.1626)
OKLCHoklch(40.41% 0.164 278.2)
XYZxyz(9.1876, 5.9137, 32.9984)
Luminance0.0591 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A359E #999E35
analogous
#35659E #3A359E #6F359E
triadic
#3A359E #9E3A35 #359E3A
tetradic
#3A359E #9E3565 #999E35 #359E6F
square
#3A359E #9E3565 #999E35 #359E6F
split-complementary
#3A359E #9E6F35 #659E35
monochromatic
#181642 #292670 #3A359E #534DC3 #7F7BD3

Accessibility & contrast

On white

9.62
#3A359E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A359E
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A359E#FFFFFF#000000##FFFFFF
##3A359E1.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a359e;
/* rgb */ color: rgb(58, 53, 158);
/* oklch */ color: oklch(40.4% 0.164 278.2);
Tailwind
colors: {
  custom: {
    50: '#7c6dbc',
    500: '#3a359e',
    950: '#000000',
  },
}
SCSS
$custom: #3a359e;
$custom-light: #7c6dbc;
$custom-dark: #000000;
JSON
{
  "hex": "#3a359e",
  "rgb": {
    "r": 58,
    "g": 53,
    "b": 158
  },
  "hsl": {
    "h": 242.857,
    "s": 49.763,
    "l": 41.373
  },
  "oklch": {
    "l": 0.40406,
    "c": 0.16427,
    "h": 278.2
  },
  "luminance": 0.05914
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3A359E

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

Preview Lab → · Contrast checker → · Palette generator →

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