#3A519B#3A519B

#3A519B is a mid, vivid blue. Relative luminance 0.092; OKLCH L 45.6% C 0.123 H 268.2°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#3A519B
RGBrgb(58, 81, 155)
HSLhsl(226, 46%, 42%)
HSVhsv(226, 63%, 61%)
CMYKcmyk(62.6%, 47.7%, 0%, 39.2%)
CIE-LABlab(36.27, 15.38, -43.14)
CIE-LCHlch(36.27, 45.80, 289.62°)
OKLaboklab(45.62% -0.0038 -0.1233)
OKLCHoklch(45.62% 0.123 268.2)
XYZxyz(10.6017, 9.1501, 32.2114)
Luminance0.0915 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A519B #9B843A
analogous
#3A829B #3A519B #543A9B
triadic
#3A519B #9B3A51 #519B3A
tetradic
#3A519B #9B3A82 #9B843A #3A9B54
square
#3A519B #9B3A82 #9B843A #3A9B54
split-complementary
#3A519B #9B543A #829B3A
monochromatic
#192242 #293A6E #3A519B #536DBF #8093CF

Accessibility & contrast

On white

7.42
#3A519B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#3A519B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A519B
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A519B#FFFFFF#000000##FFFFFF
##3A519B1.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5A9E
Deuteranopia (green-blind)
#1C5199
Tritanopia (blue-blind)
#00626E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #3a519b;
/* rgb */ color: rgb(58, 81, 155);
/* oklch */ color: oklch(45.6% 0.123 268.2);
Tailwind
colors: {
  custom: {
    50: '#7a81b9',
    500: '#3a519b',
    950: '#000000',
  },
}
SCSS
$custom: #3a519b;
$custom-light: #7a81b9;
$custom-dark: #000000;
JSON
{
  "hex": "#3a519b",
  "rgb": {
    "r": 58,
    "g": 81,
    "b": 155
  },
  "hsl": {
    "h": 225.773,
    "s": 45.54,
    "l": 41.765
  },
  "oklch": {
    "l": 0.45616,
    "c": 0.12333,
    "h": 268.2
  },
  "luminance": 0.09151
}

Semantic roles & 50–950 ramp

primary
#3A519B
secondary
#B9AA78
accent
#B653D5
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0A11
muted
#7C7C80

Preview Lab

Preview with #3A519B

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

Preview Lab → · Contrast checker → · Palette generator →

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