#3A358F#3A358F

#3A358F is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.1% C 0.144 H 279.9°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#3A358F
RGBrgb(58, 53, 143)
HSLhsl(243, 46%, 38%)
HSVhsv(243, 63%, 56%)
CMYKcmyk(59.4%, 62.9%, 0%, 43.9%)
CIE-LABlab(27.92, 29.57, -49.31)
CIE-LCHlch(27.92, 57.50, 300.95°)
OKLaboklab(39.08% 0.0247 -0.1417)
OKLCHoklch(39.08% 0.144 279.9)
XYZxyz(7.9744, 5.4284, 26.6088)
Luminance0.0543 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A358F #8A8F35
analogous
#355D8F #3A358F #67358F
triadic
#3A358F #8F3A35 #358F3A
tetradic
#3A358F #8F355D #8A8F35 #358F67
square
#3A358F #8F355D #8A8F35 #358F67
split-complementary
#3A358F #8F6735 #5D8F35
monochromatic
#161436 #282462 #3A358F #4D47BB #7873CB

Accessibility & contrast

On white

10.07
#3A358F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#3A358F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A358F
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A358F#FFFFFF#000000##FFFFFF
##3A358F1.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004592
Deuteranopia (green-blind)
#003E8D
Tritanopia (blue-blind)
#044B5D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3a358f;
/* rgb */ color: rgb(58, 53, 143);
/* oklch */ color: oklch(39.1% 0.144 279.9);
Tailwind
colors: {
  custom: {
    50: '#796cb1',
    500: '#3a358f',
    950: '#000000',
  },
}
SCSS
$custom: #3a358f;
$custom-light: #796cb1;
$custom-dark: #000000;
JSON
{
  "hex": "#3a358f",
  "rgb": {
    "r": 58,
    "g": 53,
    "b": 143
  },
  "hsl": {
    "h": 243.333,
    "s": 45.918,
    "l": 38.431
  },
  "oklch": {
    "l": 0.39083,
    "c": 0.14386,
    "h": 279.9
  },
  "luminance": 0.05429
}

Semantic roles & 50–950 ramp

primary
#3A358F
secondary
#B0B46C
accent
#D652CE
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0711
muted
#7C7A80

Preview Lab

Preview with #3A358F

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

Preview Lab → · Contrast checker → · Palette generator →

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