#3A358C#3A358C

#3A358C is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.8% C 0.140 H 280.2°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#3A358C
RGBrgb(58, 53, 140)
HSLhsl(243, 45%, 38%)
HSVhsv(243, 62%, 55%)
CMYKcmyk(58.6%, 62.1%, 0%, 45.1%)
CIE-LABlab(27.68, 28.55, -47.85)
CIE-LCHlch(27.68, 55.72, 300.82°)
OKLaboklab(38.83% 0.0249 -0.1374)
OKLCHoklch(38.83% 0.14 280.2)
XYZxyz(7.7502, 5.3387, 25.4279)
Luminance0.0534 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A358C #878C35
analogous
#355C8C #3A358C #65358C
triadic
#3A358C #8C3A35 #358C3A
tetradic
#3A358C #8C355C #878C35 #358C65
square
#3A358C #8C355C #878C35 #358C65
split-complementary
#3A358C #8C6535 #5C8C35
monochromatic
#151333 #282460 #3A358C #4C46B8 #7772CA

Accessibility & contrast

On white

10.16
#3A358C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A358C
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A358C#FFFFFF#000000##FFFFFF
##3A358C1.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458F
Deuteranopia (green-blind)
#003E8A
Tritanopia (blue-blind)
#0B4A5B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3a358c;
/* rgb */ color: rgb(58, 53, 140);
/* oklch */ color: oklch(38.8% 0.140 280.2);
Tailwind
colors: {
  custom: {
    50: '#796cae',
    500: '#3a358c',
    950: '#000000',
  },
}
SCSS
$custom: #3a358c;
$custom-light: #796cae;
$custom-dark: #000000;
JSON
{
  "hex": "#3a358c",
  "rgb": {
    "r": 58,
    "g": 53,
    "b": 140
  },
  "hsl": {
    "h": 243.448,
    "s": 45.078,
    "l": 37.843
  },
  "oklch": {
    "l": 0.38828,
    "c": 0.13966,
    "h": 280.2
  },
  "luminance": 0.05339
}

Semantic roles & 50–950 ramp

primary
#3A358C
secondary
#AEB26B
accent
#D553CD
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0710
muted
#7C7A7F

Preview Lab

Preview with #3A358C

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

Preview Lab → · Contrast checker → · Palette generator →

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