#513EC0#513EC0

#513EC0 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 46.7% C 0.193 H 282.6°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#513EC0
RGBrgb(81, 62, 192)
HSLhsl(249, 51%, 50%)
HSVhsv(249, 68%, 75%)
CMYKcmyk(57.8%, 67.7%, 0%, 24.7%)
CIE-LABlab(35.98, 43.88, -65.52)
CIE-LCHlch(35.98, 78.86, 303.81°)
OKLaboklab(46.69% 0.0421 -0.1886)
OKLCHoklch(46.69% 0.193 282.6)
XYZxyz(14.6274, 8.9994, 50.8252)
Luminance0.0900 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513EC0 #ADC03E
analogous
#3E6CC0 #513EC0 #923EC0
triadic
#513EC0 #C0513E #3EC051
tetradic
#513EC0 #C03E6C #ADC03E #3EC092
square
#513EC0 #C03E6C #ADC03E #3EC092
split-complementary
#513EC0 #C0923E #6CC03E
monochromatic
#2A2063 #3D2F92 #513EC0 #7A6CCF #A49ADE

Accessibility & contrast

On white

7.50
#513EC0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#513EC0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #513EC0
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513EC0#FFFFFF#000000##FFFFFF
##513EC01.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C4
Deuteranopia (green-blind)
#0050BD
Tritanopia (blue-blind)
#10607A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #513ec0;
/* rgb */ color: rgb(81, 62, 192);
/* oklch */ color: oklch(46.7% 0.193 282.6);
Tailwind
colors: {
  custom: {
    50: '#8d75d4',
    500: '#513ec0',
    950: '#000000',
  },
}
SCSS
$custom: #513ec0;
$custom-light: #8d75d4;
$custom-dark: #000000;
JSON
{
  "hex": "#513ec0",
  "rgb": {
    "r": 81,
    "g": 62,
    "b": 192
  },
  "hsl": {
    "h": 248.769,
    "s": 51.181,
    "l": 49.804
  },
  "oklch": {
    "l": 0.46691,
    "c": 0.19321,
    "h": 282.6
  },
  "luminance": 0.09
}

Semantic roles & 50–950 ramp

primary
#513EC0
secondary
#C2CA8F
accent
#DB4DC6
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0D0814
muted
#7E7B83

Preview Lab

Preview with #513EC0

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

Preview Lab → · Contrast checker → · Palette generator →

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