#3D519D#3D519D

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

Color values

HEX#3D519D
RGBrgb(61, 81, 157)
HSLhsl(228, 44%, 43%)
HSVhsv(228, 61%, 62%)
CMYKcmyk(61.1%, 48.4%, 0%, 38.4%)
CIE-LABlab(36.58, 16.68, -43.85)
CIE-LCHlch(36.58, 46.91, 290.83°)
OKLaboklab(45.94% -0.0004 -0.1253)
OKLCHoklch(45.94% 0.125 269.8)
XYZxyz(10.9507, 9.3104, 33.1118)
Luminance0.0931 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D519D #9D893D
analogous
#3D819D #3D519D #593D9D
triadic
#3D519D #9D3D51 #519D3D
tetradic
#3D519D #9D3D81 #9D893D #3D9D59
square
#3D519D #9D3D81 #9D893D #3D9D59
split-complementary
#3D519D #9D593D #819D3D
monochromatic
#1B2445 #2C3A71 #3D519D #596EBE #8594D0

Accessibility & contrast

On white

7.34
#3D519D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#3D519D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D519D
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D519D#FFFFFF#000000##FFFFFF
##3D519D1.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3d519d;
/* rgb */ color: rgb(61, 81, 157);
/* oklch */ color: oklch(45.9% 0.125 269.8);
Tailwind
colors: {
  custom: {
    50: '#7b81ba',
    500: '#3d519d',
    950: '#000000',
  },
}
SCSS
$custom: #3d519d;
$custom-light: #7b81ba;
$custom-dark: #000000;
JSON
{
  "hex": "#3d519d",
  "rgb": {
    "r": 61,
    "g": 81,
    "b": 157
  },
  "hsl": {
    "h": 227.5,
    "s": 44.037,
    "l": 42.745
  },
  "oklch": {
    "l": 0.45936,
    "c": 0.12528,
    "h": 269.8
  },
  "luminance": 0.09311
}

Semantic roles & 50–950 ramp

primary
#3D519D
secondary
#BAAD7C
accent
#B954D4
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #3D519D

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

Preview Lab → · Contrast checker → · Palette generator →

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