#513FB8#513FB8

#513FB8 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 46.2% C 0.182 H 283.4°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#513FB8
RGBrgb(81, 63, 184)
HSLhsl(249, 49%, 48%)
HSVhsv(249, 66%, 72%)
CMYKcmyk(56%, 65.8%, 0%, 27.8%)
CIE-LABlab(35.53, 40.83, -61.56)
CIE-LCHlch(35.53, 73.87, 303.55°)
OKLaboklab(46.15% 0.0423 -0.1769)
OKLCHoklch(46.15% 0.182 283.4)
XYZxyz(13.8199, 8.7642, 46.3015)
Luminance0.0877 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513FB8 #A6B83F
analogous
#3F69B8 #513FB8 #8D3FB8
triadic
#513FB8 #B8513F #3FB851
tetradic
#513FB8 #B83F69 #A6B83F #3FB88D
square
#513FB8 #B83F69 #A6B83F #3FB88D
split-complementary
#513FB8 #B88D3F #69B83F
monochromatic
#29205D #3D2F8A #513FB8 #7769CC #A196DB

Accessibility & contrast

On white

7.63
#513FB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#513FB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #513FB8
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513FB8#FFFFFF#000000##FFFFFF
##513FB81.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BC
Deuteranopia (green-blind)
#0050B6
Tritanopia (blue-blind)
#1F5D76
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #513fb8;
/* rgb */ color: rgb(81, 63, 184);
/* oklch */ color: oklch(46.2% 0.182 283.4);
Tailwind
colors: {
  custom: {
    50: '#8c75ce',
    500: '#513fb8',
    950: '#000000',
  },
}
SCSS
$custom: #513fb8;
$custom-light: #8c75ce;
$custom-dark: #000000;
JSON
{
  "hex": "#513fb8",
  "rgb": {
    "r": 81,
    "g": 63,
    "b": 184
  },
  "hsl": {
    "h": 248.926,
    "s": 48.988,
    "l": 48.431
  },
  "oklch": {
    "l": 0.46153,
    "c": 0.18192,
    "h": 283.4
  },
  "luminance": 0.08765
}

Semantic roles & 50–950 ramp

primary
#513FB8
secondary
#BEC78C
accent
#D94FC4
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0814
muted
#7E7B82

Preview Lab

Preview with #513FB8

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

Preview Lab → · Contrast checker → · Palette generator →

#513FB8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva