#3A389C#3A389C

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

Color values

HEX#3A389C
RGBrgb(58, 56, 156)
HSLhsl(241, 47%, 42%)
HSVhsv(241, 64%, 61%)
CMYKcmyk(62.8%, 64.1%, 0%, 38.8%)
CIE-LABlab(29.73, 32.10, -54.33)
CIE-LCHlch(29.73, 63.10, 300.58°)
OKLaboklab(40.74% 0.021 -0.1564)
OKLCHoklch(40.74% 0.158 277.7)
XYZxyz(9.1579, 6.1275, 32.1462)
Luminance0.0613 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A389C #9A9C38
analogous
#38689C #3A389C #6C389C
triadic
#3A389C #9C3A38 #389C3A
tetradic
#3A389C #9C3868 #9A9C38 #389C6C
square
#3A389C #9C3868 #9A9C38 #389C6C
split-complementary
#3A389C #9C6C38 #689C38
monochromatic
#191842 #29286F #3A389C #5351C0 #7F7ED1

Accessibility & contrast

On white

9.44
#3A389C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#3A389C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A389C
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A389C#FFFFFF#000000##FFFFFF
##3A389C1.009.442.239.44
#FFFFFF9.441.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9F
Deuteranopia (green-blind)
#00429A
Tritanopia (blue-blind)
#005164
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3a389c;
/* rgb */ color: rgb(58, 56, 156);
/* oklch */ color: oklch(40.7% 0.158 277.7);
Tailwind
colors: {
  custom: {
    50: '#7b6fba',
    500: '#3a389c',
    950: '#000000',
  },
}
SCSS
$custom: #3a389c;
$custom-light: #7b6fba;
$custom-dark: #000000;
JSON
{
  "hex": "#3a389c",
  "rgb": {
    "r": 58,
    "g": 56,
    "b": 156
  },
  "hsl": {
    "h": 241.2,
    "s": 47.17,
    "l": 41.569
  },
  "oklch": {
    "l": 0.40745,
    "c": 0.15784,
    "h": 277.7
  },
  "luminance": 0.06128
}

Semantic roles & 50–950 ramp

primary
#3A389C
secondary
#B9BA76
accent
#D751D4
background
#F8F6FB
surface
#EFECF6
border
#CAC7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #3A389C

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

Preview Lab → · Contrast checker → · Palette generator →

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