#3A379B#3A379B

#3A379B is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.5% C 0.158 H 278.0°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#3A379B
RGBrgb(58, 55, 155)
HSLhsl(242, 48%, 41%)
HSVhsv(242, 65%, 61%)
CMYKcmyk(62.6%, 64.5%, 0%, 39.2%)
CIE-LABlab(29.41, 32.39, -54.25)
CIE-LCHlch(29.41, 63.18, 300.84°)
OKLaboklab(40.48% 0.022 -0.1562)
OKLCHoklch(40.48% 0.158 278)
XYZxyz(9.0256, 5.9978, 31.6861)
Luminance0.0600 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A379B #989B37
analogous
#37669B #3A379B #6C379B
triadic
#3A379B #9B3A37 #379B3A
tetradic
#3A379B #9B3766 #989B37 #379B6C
square
#3A379B #9B3766 #989B37 #379B6C
split-complementary
#3A379B #9B6C37 #669B37
monochromatic
#181741 #29276E #3A379B #524FC0 #7E7CD0

Accessibility & contrast

On white

9.55
#3A379B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#3A379B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A379B
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A379B#FFFFFF#000000##FFFFFF
##3A379B1.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499E
Deuteranopia (green-blind)
#004199
Tritanopia (blue-blind)
#005064
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3a379b;
/* rgb */ color: rgb(58, 55, 155);
/* oklch */ color: oklch(40.5% 0.158 278.0);
Tailwind
colors: {
  custom: {
    50: '#7b6eb9',
    500: '#3a379b',
    950: '#000000',
  },
}
SCSS
$custom: #3a379b;
$custom-light: #7b6eb9;
$custom-dark: #000000;
JSON
{
  "hex": "#3a379b",
  "rgb": {
    "r": 58,
    "g": 55,
    "b": 155
  },
  "hsl": {
    "h": 241.8,
    "s": 47.619,
    "l": 41.176
  },
  "oklch": {
    "l": 0.40482,
    "c": 0.15775,
    "h": 278
  },
  "luminance": 0.05998
}

Semantic roles & 50–950 ramp

primary
#3A379B
secondary
#B8BA74
accent
#D751D3
background
#F8F6FB
surface
#EFECF6
border
#CAC7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #3A379B

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

Preview Lab → · Contrast checker → · Palette generator →

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