#3A358B#3A358B

#3A358B is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.7% C 0.138 H 280.4°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#3A358B
RGBrgb(58, 53, 139)
HSLhsl(243, 45%, 38%)
HSVhsv(243, 62%, 55%)
CMYKcmyk(58.3%, 61.9%, 0%, 45.5%)
CIE-LABlab(27.60, 28.21, -47.37)
CIE-LCHlch(27.60, 55.13, 300.77°)
OKLaboklab(38.74% 0.0249 -0.136)
OKLCHoklch(38.74% 0.138 280.4)
XYZxyz(7.6768, 5.3093, 25.0414)
Luminance0.0531 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A358B #868B35
analogous
#355B8B #3A358B #65358B
triadic
#3A358B #8B3A35 #358B3A
tetradic
#3A358B #8B355B #868B35 #358B65
square
#3A358B #8B355B #868B35 #358B65
split-complementary
#3A358B #8B6535 #5B8B35
monochromatic
#151332 #28245F #3A358B #4C46B7 #7671C9

Accessibility & contrast

On white

10.18
#3A358B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#3A358B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A358B
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A358B#FFFFFF#000000##FFFFFF
##3A358B1.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448E
Deuteranopia (green-blind)
#003E89
Tritanopia (blue-blind)
#0E4A5A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3a358b;
/* rgb */ color: rgb(58, 53, 139);
/* oklch */ color: oklch(38.7% 0.138 280.4);
Tailwind
colors: {
  custom: {
    50: '#786cae',
    500: '#3a358b',
    950: '#000000',
  },
}
SCSS
$custom: #3a358b;
$custom-light: #786cae;
$custom-dark: #000000;
JSON
{
  "hex": "#3a358b",
  "rgb": {
    "r": 58,
    "g": 53,
    "b": 139
  },
  "hsl": {
    "h": 243.488,
    "s": 44.792,
    "l": 37.647
  },
  "oklch": {
    "l": 0.38744,
    "c": 0.13826,
    "h": 280.4
  },
  "luminance": 0.0531
}

Semantic roles & 50–950 ramp

primary
#3A358B
secondary
#ADB16A
accent
#D453CD
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0710
muted
#7C7A7F

Preview Lab

Preview with #3A358B

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

Preview Lab → · Contrast checker → · Palette generator →

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