#3A358E#3A358E

#3A358E is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.0% C 0.142 H 280.0°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#3A358E
RGBrgb(58, 53, 142)
HSLhsl(243, 46%, 38%)
HSVhsv(243, 63%, 56%)
CMYKcmyk(59.2%, 62.7%, 0%, 44.3%)
CIE-LABlab(27.84, 29.23, -48.83)
CIE-LCHlch(27.84, 56.91, 300.91°)
OKLaboklab(39% 0.0248 -0.1403)
OKLCHoklch(39% 0.142 280)
XYZxyz(7.8990, 5.3982, 26.2117)
Luminance0.0540 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A358E #898E35
analogous
#355C8E #3A358E #66358E
triadic
#3A358E #8E3A35 #358E3A
tetradic
#3A358E #8E355C #898E35 #358E66
square
#3A358E #8E355C #898E35 #358E66
split-complementary
#3A358E #8E6635 #5C8E35
monochromatic
#161435 #282461 #3A358E #4D46BA #7873CB

Accessibility & contrast

On white

10.10
#3A358E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#3A358E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A358E
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A358E#FFFFFF#000000##FFFFFF
##3A358E1.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004591
Deuteranopia (green-blind)
#003E8C
Tritanopia (blue-blind)
#074B5C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3a358e;
/* rgb */ color: rgb(58, 53, 142);
/* oklch */ color: oklch(39.0% 0.142 280.0);
Tailwind
colors: {
  custom: {
    50: '#796cb0',
    500: '#3a358e',
    950: '#000000',
  },
}
SCSS
$custom: #3a358e;
$custom-light: #796cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#3a358e",
  "rgb": {
    "r": 58,
    "g": 53,
    "b": 142
  },
  "hsl": {
    "h": 243.371,
    "s": 45.641,
    "l": 38.235
  },
  "oklch": {
    "l": 0.38998,
    "c": 0.14247,
    "h": 280
  },
  "luminance": 0.05399
}

Semantic roles & 50–950 ramp

primary
#3A358E
secondary
#AFB36C
accent
#D552CE
background
#F7F6FA
surface
#EEEBF5
border
#C9C6CF
text
#0A0710
muted
#7C7A7F

Preview Lab

Preview with #3A358E

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

Preview Lab → · Contrast checker → · Palette generator →

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