#3D519A#3D519A

#3D519A is a mid, vivid blue. Relative luminance 0.092; OKLCH L 45.7% C 0.121 H 269.6°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#3D519A
RGBrgb(61, 81, 154)
HSLhsl(227, 43%, 42%)
HSVhsv(227, 60%, 60%)
CMYKcmyk(60.4%, 47.4%, 0%, 39.6%)
CIE-LABlab(36.38, 15.62, -42.35)
CIE-LCHlch(36.38, 45.14, 290.24°)
OKLaboklab(45.73% -0.0008 -0.1209)
OKLCHoklch(45.73% 0.121 269.6)
XYZxyz(10.6977, 9.2092, 31.7794)
Luminance0.0921 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D519A #9A863D
analogous
#3D809A #3D519A #583D9A
triadic
#3D519A #9A3D51 #519A3D
tetradic
#3D519A #9A3D80 #9A863D #3D9A58
square
#3D519A #9A3D80 #9A863D #3D9A58
split-complementary
#3D519A #9A583D #809A3D
monochromatic
#1A2342 #2C3A6E #3D519A #586DBD #8393CE

Accessibility & contrast

On white

7.39
#3D519A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#3D519A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D519A
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D519A#FFFFFF#000000##FFFFFF
##3D519A1.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5A9D
Deuteranopia (green-blind)
#205298
Tritanopia (blue-blind)
#00616E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3d519a;
/* rgb */ color: rgb(61, 81, 154);
/* oklch */ color: oklch(45.7% 0.121 269.6);
Tailwind
colors: {
  custom: {
    50: '#7b81b8',
    500: '#3d519a',
    950: '#000000',
  },
}
SCSS
$custom: #3d519a;
$custom-light: #7b81b8;
$custom-dark: #000000;
JSON
{
  "hex": "#3d519a",
  "rgb": {
    "r": 61,
    "g": 81,
    "b": 154
  },
  "hsl": {
    "h": 227.097,
    "s": 43.256,
    "l": 42.157
  },
  "oklch": {
    "l": 0.45728,
    "c": 0.12088,
    "h": 269.6
  },
  "luminance": 0.0921
}

Semantic roles & 50–950 ramp

primary
#3D519A
secondary
#B8AB7B
accent
#B855D3
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0A11
muted
#7C7C80

Preview Lab

Preview with #3D519A

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

Preview Lab → · Contrast checker → · Palette generator →

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