#3D519E#3D519E

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

Color values

HEX#3D519E
RGBrgb(61, 81, 158)
HSLhsl(228, 44%, 43%)
HSVhsv(228, 61%, 62%)
CMYKcmyk(61.4%, 48.7%, 0%, 38%)
CIE-LABlab(36.64, 17.04, -44.34)
CIE-LCHlch(36.64, 47.50, 291.01°)
OKLaboklab(46.01% -0.0003 -0.1267)
OKLCHoklch(46.01% 0.127 269.9)
XYZxyz(11.0364, 9.3447, 33.5632)
Luminance0.0935 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D519E #9E8A3D
analogous
#3D819E #3D519E #593D9E
triadic
#3D519E #9E3D51 #519E3D
tetradic
#3D519E #9E3D81 #9E8A3D #3D9E59
square
#3D519E #9E3D81 #9E8A3D #3D9E59
split-complementary
#3D519E #9E593D #819E3D
monochromatic
#1B2446 #2C3A72 #3D519E #596EBF #8595D0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3D519E#FFFFFF#000000##FFFFFF
##3D519E1.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)
#2B5BA1
Deuteranopia (green-blind)
#19529C
Tritanopia (blue-blind)
#006270
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3d519e;
/* rgb */ color: rgb(61, 81, 158);
/* oklch */ color: oklch(46.0% 0.127 269.9);
Tailwind
colors: {
  custom: {
    50: '#7c81bb',
    500: '#3d519e',
    950: '#000000',
  },
}
SCSS
$custom: #3d519e;
$custom-light: #7c81bb;
$custom-dark: #000000;
JSON
{
  "hex": "#3d519e",
  "rgb": {
    "r": 61,
    "g": 81,
    "b": 158
  },
  "hsl": {
    "h": 227.629,
    "s": 44.292,
    "l": 42.941
  },
  "oklch": {
    "l": 0.46006,
    "c": 0.12675,
    "h": 269.9
  },
  "luminance": 0.09346
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3D519E

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

Preview Lab → · Contrast checker → · Palette generator →

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