#3A358D#3A358D

#3A358D is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.9% C 0.141 H 280.1°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#3A358D
RGBrgb(58, 53, 141)
HSLhsl(243, 45%, 38%)
HSVhsv(243, 62%, 55%)
CMYKcmyk(58.9%, 62.4%, 0%, 44.7%)
CIE-LABlab(27.76, 28.89, -48.34)
CIE-LCHlch(27.76, 56.32, 300.86°)
OKLaboklab(38.91% 0.0248 -0.1389)
OKLCHoklch(38.91% 0.141 280.1)
XYZxyz(7.8242, 5.3683, 25.8180)
Luminance0.0537 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A358D #888D35
analogous
#355C8D #3A358D #66358D
triadic
#3A358D #8D3A35 #358D3A
tetradic
#3A358D #8D355C #888D35 #358D66
square
#3A358D #8D355C #888D35 #358D66
split-complementary
#3A358D #8D6635 #5C8D35
monochromatic
#151434 #282461 #3A358D #4C46B9 #7772CA

Accessibility & contrast

On white

10.13
#3A358D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#3A358D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A358D
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A358D#FFFFFF#000000##FFFFFF
##3A358D1.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004590
Deuteranopia (green-blind)
#003E8B
Tritanopia (blue-blind)
#094A5B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3a358d;
/* rgb */ color: rgb(58, 53, 141);
/* oklch */ color: oklch(38.9% 0.141 280.1);
Tailwind
colors: {
  custom: {
    50: '#796caf',
    500: '#3a358d',
    950: '#000000',
  },
}
SCSS
$custom: #3a358d;
$custom-light: #796caf;
$custom-dark: #000000;
JSON
{
  "hex": "#3a358d",
  "rgb": {
    "r": 58,
    "g": 53,
    "b": 141
  },
  "hsl": {
    "h": 243.409,
    "s": 45.361,
    "l": 38.039
  },
  "oklch": {
    "l": 0.38913,
    "c": 0.14107,
    "h": 280.1
  },
  "luminance": 0.05369
}

Semantic roles & 50–950 ramp

primary
#3A358D
secondary
#AEB26B
accent
#D553CE
background
#F7F6FA
surface
#EEEBF5
border
#C9C6CF
text
#0A0710
muted
#7C7A7F

Preview Lab

Preview with #3A358D

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

Preview Lab → · Contrast checker → · Palette generator →

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