#3A399D#3A399D

#3A399D is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.0% C 0.158 H 277.3°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#3A399D
RGBrgb(58, 57, 157)
HSLhsl(241, 47%, 42%)
HSVhsv(241, 64%, 62%)
CMYKcmyk(63.1%, 63.7%, 0%, 38.4%)
CIE-LABlab(30.06, 31.81, -54.40)
CIE-LCHlch(30.06, 63.02, 300.32°)
OKLaboklab(41.01% 0.0201 -0.1567)
OKLCHoklch(41.01% 0.158 277.3)
XYZxyz(9.2919, 6.2594, 32.6103)
Luminance0.0626 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A399D #9C9D39
analogous
#396A9D #3A399D #6C399D
triadic
#3A399D #9D3A39 #399D3A
tetradic
#3A399D #9D396A #9C9D39 #399D6C
square
#3A399D #9D396A #9C9D39 #399D6C
split-complementary
#3A399D #9D6C39 #6A9D39
monochromatic
#191843 #292970 #3A399D #5453C0 #8080D1

Accessibility & contrast

On white

9.33
#3A399D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#3A399D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A399D
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A399D#FFFFFF#000000##FFFFFF
##3A399D1.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA0
Deuteranopia (green-blind)
#00439B
Tritanopia (blue-blind)
#005265
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3a399d;
/* rgb */ color: rgb(58, 57, 157);
/* oklch */ color: oklch(41.0% 0.158 277.3);
Tailwind
colors: {
  custom: {
    50: '#7c6fbb',
    500: '#3a399d',
    950: '#000000',
  },
}
SCSS
$custom: #3a399d;
$custom-light: #7c6fbb;
$custom-dark: #000000;
JSON
{
  "hex": "#3a399d",
  "rgb": {
    "r": 58,
    "g": 57,
    "b": 157
  },
  "hsl": {
    "h": 240.6,
    "s": 46.729,
    "l": 41.961
  },
  "oklch": {
    "l": 0.4101,
    "c": 0.15793,
    "h": 277.3
  },
  "luminance": 0.0626
}

Semantic roles & 50–950 ramp

primary
#3A399D
secondary
#BABA78
accent
#D651D5
background
#F8F6FB
surface
#EFECF6
border
#CAC7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #3A399D

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

Preview Lab → · Contrast checker → · Palette generator →

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