#3E519D#3E519D

#3E519D is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.0% C 0.125 H 270.3°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#3E519D
RGBrgb(62, 81, 157)
HSLhsl(228, 43%, 43%)
HSVhsv(228, 61%, 62%)
CMYKcmyk(60.5%, 48.4%, 0%, 38.4%)
CIE-LABlab(36.64, 16.88, -43.75)
CIE-LCHlch(36.64, 46.89, 291.10°)
OKLaboklab(46% 0.0007 -0.125)
OKLCHoklch(46% 0.125 270.3)
XYZxyz(11.0128, 9.3424, 33.1147)
Luminance0.0934 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E519D #9D8A3E
analogous
#3E809D #3E519D #5A3E9D
triadic
#3E519D #9D3E51 #519D3E
tetradic
#3E519D #9D3E80 #9D8A3E #3E9D5A
square
#3E519D #9D3E80 #9D8A3E #3E9D5A
split-complementary
#3E519D #9D5A3E #809D3E
monochromatic
#1B2445 #2D3A71 #3E519D #5A6EBE #8695CF

Accessibility & contrast

On white

7.32
#3E519D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#3E519D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E519D
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E519D#FFFFFF#000000##FFFFFF
##3E519D1.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5BA0
Deuteranopia (green-blind)
#1C529B
Tritanopia (blue-blind)
#00626F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3e519d;
/* rgb */ color: rgb(62, 81, 157);
/* oklch */ color: oklch(46.0% 0.125 270.3);
Tailwind
colors: {
  custom: {
    50: '#7c81ba',
    500: '#3e519d',
    950: '#000000',
  },
}
SCSS
$custom: #3e519d;
$custom-light: #7c81ba;
$custom-dark: #000000;
JSON
{
  "hex": "#3e519d",
  "rgb": {
    "r": 62,
    "g": 81,
    "b": 157
  },
  "hsl": {
    "h": 228,
    "s": 43.379,
    "l": 42.941
  },
  "oklch": {
    "l": 0.45998,
    "c": 0.12497,
    "h": 270.3
  },
  "luminance": 0.09343
}

Semantic roles & 50–950 ramp

primary
#3E519D
secondary
#BAAE7D
accent
#BA55D3
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #3E519D

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

Preview Lab → · Contrast checker → · Palette generator →

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