#3E519E#3E519E

#3E519E is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.1% C 0.126 H 270.4°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#3E519E
RGBrgb(62, 81, 158)
HSLhsl(228, 44%, 43%)
HSVhsv(228, 61%, 62%)
CMYKcmyk(60.8%, 48.7%, 0%, 38%)
CIE-LABlab(36.70, 17.23, -44.25)
CIE-LCHlch(36.70, 47.48, 291.28°)
OKLaboklab(46.07% 0.0008 -0.1264)
OKLCHoklch(46.07% 0.126 270.4)
XYZxyz(11.0985, 9.3767, 33.5661)
Luminance0.0938 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E519E #9E8B3E
analogous
#3E819E #3E519E #5B3E9E
triadic
#3E519E #9E3E51 #519E3E
tetradic
#3E519E #9E3E81 #9E8B3E #3E9E5B
square
#3E519E #9E3E81 #9E8B3E #3E9E5B
split-complementary
#3E519E #9E5B3E #819E3E
monochromatic
#1C2446 #2D3A72 #3E519E #5B6EBF #8795D0

Accessibility & contrast

On white

7.30
#3E519E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#3E519E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E519E
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E519E#FFFFFF#000000##FFFFFF
##3E519E1.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5BA1
Deuteranopia (green-blind)
#1A529C
Tritanopia (blue-blind)
#006270
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3e519e;
/* rgb */ color: rgb(62, 81, 158);
/* oklch */ color: oklch(46.1% 0.126 270.4);
Tailwind
colors: {
  custom: {
    50: '#7c81bb',
    500: '#3e519e',
    950: '#000000',
  },
}
SCSS
$custom: #3e519e;
$custom-light: #7c81bb;
$custom-dark: #000000;
JSON
{
  "hex": "#3e519e",
  "rgb": {
    "r": 62,
    "g": 81,
    "b": 158
  },
  "hsl": {
    "h": 228.125,
    "s": 43.636,
    "l": 43.137
  },
  "oklch": {
    "l": 0.46067,
    "c": 0.12643,
    "h": 270.4
  },
  "luminance": 0.09378
}

Semantic roles & 50–950 ramp

primary
#3E519E
secondary
#BAAE7E
accent
#BA54D3
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #3E519E

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

Preview Lab → · Contrast checker → · Palette generator →

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