#3A519A#3A519A

#3A519A is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.5% C 0.122 H 268.1°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#3A519A
RGBrgb(58, 81, 154)
HSLhsl(226, 45%, 42%)
HSVhsv(226, 62%, 60%)
CMYKcmyk(62.3%, 47.4%, 0%, 39.6%)
CIE-LABlab(36.21, 15.02, -42.64)
CIE-LCHlch(36.21, 45.21, 289.40°)
OKLaboklab(45.55% -0.0039 -0.1218)
OKLCHoklch(45.55% 0.122 268.1)
XYZxyz(10.5181, 9.1166, 31.7710)
Luminance0.0912 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A519A #9A833A
analogous
#3A819A #3A519A #533A9A
triadic
#3A519A #9A3A51 #519A3A
tetradic
#3A519A #9A3A81 #9A833A #3A9A53
square
#3A519A #9A3A81 #9A833A #3A9A53
split-complementary
#3A519A #9A533A #819A3A
monochromatic
#192241 #293A6E #3A519A #536DBE #7F92CF

Accessibility & contrast

On white

7.44
#3A519A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#3A519A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A519A
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A519A#FFFFFF#000000##FFFFFF
##3A519A1.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a519a;
/* rgb */ color: rgb(58, 81, 154);
/* oklch */ color: oklch(45.5% 0.122 268.1);
Tailwind
colors: {
  custom: {
    50: '#7981b8',
    500: '#3a519a',
    950: '#000000',
  },
}
SCSS
$custom: #3a519a;
$custom-light: #7981b8;
$custom-dark: #000000;
JSON
{
  "hex": "#3a519a",
  "rgb": {
    "r": 58,
    "g": 81,
    "b": 154
  },
  "hsl": {
    "h": 225.625,
    "s": 45.283,
    "l": 41.569
  },
  "oklch": {
    "l": 0.45547,
    "c": 0.12186,
    "h": 268.1
  },
  "luminance": 0.09117
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3A519A

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

Preview Lab → · Contrast checker → · Palette generator →

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