#3A379D#3A379D

#3A379D is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.7% C 0.160 H 277.8°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#3A379D
RGBrgb(58, 55, 157)
HSLhsl(242, 48%, 42%)
HSVhsv(242, 65%, 62%)
CMYKcmyk(63.1%, 65%, 0%, 38.4%)
CIE-LABlab(29.58, 33.08, -55.19)
CIE-LCHlch(29.58, 64.34, 300.94°)
OKLaboklab(40.66% 0.0218 -0.159)
OKLCHoklch(40.66% 0.16 277.8)
XYZxyz(9.1950, 6.0655, 32.5780)
Luminance0.0607 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A379D #9A9D37
analogous
#37679D #3A379D #6D379D
triadic
#3A379D #9D3A37 #379D3A
tetradic
#3A379D #9D3767 #9A9D37 #379D6D
square
#3A379D #9D3767 #9A9D37 #379D6D
split-complementary
#3A379D #9D6D37 #679D37
monochromatic
#191742 #292770 #3A379D #5350C2 #7F7DD1

Accessibility & contrast

On white

9.49
#3A379D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#3A379D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A379D
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A379D#FFFFFF#000000##FFFFFF
##3A379D1.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA0
Deuteranopia (green-blind)
#00419B
Tritanopia (blue-blind)
#005165
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3a379d;
/* rgb */ color: rgb(58, 55, 157);
/* oklch */ color: oklch(40.7% 0.160 277.8);
Tailwind
colors: {
  custom: {
    50: '#7c6ebb',
    500: '#3a379d',
    950: '#000000',
  },
}
SCSS
$custom: #3a379d;
$custom-light: #7c6ebb;
$custom-dark: #000000;
JSON
{
  "hex": "#3a379d",
  "rgb": {
    "r": 58,
    "g": 55,
    "b": 157
  },
  "hsl": {
    "h": 241.765,
    "s": 48.113,
    "l": 41.569
  },
  "oklch": {
    "l": 0.40659,
    "c": 0.16045,
    "h": 277.8
  },
  "luminance": 0.06066
}

Semantic roles & 50–950 ramp

primary
#3A379D
secondary
#B9BB75
accent
#D850D4
background
#F8F6FB
surface
#EFECF6
border
#CAC7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #3A379D

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

Preview Lab → · Contrast checker → · Palette generator →

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