#513CC3#513CC3

#513CC3 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 46.7% C 0.199 H 282.5°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#513CC3
RGBrgb(81, 60, 195)
HSLhsl(249, 53%, 50%)
HSVhsv(249, 69%, 76%)
CMYKcmyk(58.5%, 69.2%, 0%, 23.5%)
CIE-LABlab(35.83, 45.93, -67.53)
CIE-LCHlch(35.83, 81.67, 304.22°)
OKLaboklab(46.66% 0.0433 -0.1945)
OKLCHoklch(46.66% 0.199 282.5)
XYZxyz(14.8565, 8.9202, 52.5581)
Luminance0.0892 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513CC3 #AEC33C
analogous
#3C6BC3 #513CC3 #943CC3
triadic
#513CC3 #C3513C #3CC351
tetradic
#513CC3 #C33C6B #AEC33C #3CC394
square
#513CC3 #C33C6B #AEC33C #3CC394
split-complementary
#513CC3 #C3943C #6BC33C
monochromatic
#2A1F65 #3E2E94 #513CC3 #7B6BD1 #A59AE0

Accessibility & contrast

On white

7.54
#513CC3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#513CC3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #513CC3
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513CC3#FFFFFF#000000##FFFFFF
##513CC31.007.542.787.54
#FFFFFF7.541.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C7
Deuteranopia (green-blind)
#0050C0
Tritanopia (blue-blind)
#07607B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #513cc3;
/* rgb */ color: rgb(81, 60, 195);
/* oklch */ color: oklch(46.7% 0.199 282.5);
Tailwind
colors: {
  custom: {
    50: '#8e74d6',
    500: '#513cc3',
    950: '#000000',
  },
}
SCSS
$custom: #513cc3;
$custom-light: #8e74d6;
$custom-dark: #000000;
JSON
{
  "hex": "#513cc3",
  "rgb": {
    "r": 81,
    "g": 60,
    "b": 195
  },
  "hsl": {
    "h": 249.333,
    "s": 52.941,
    "l": 50
  },
  "oklch": {
    "l": 0.46661,
    "c": 0.19921,
    "h": 282.5
  },
  "luminance": 0.08921
}

Semantic roles & 50–950 ramp

primary
#513CC3
secondary
#C2CC8F
accent
#DC4BC6
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0D0814
muted
#7E7B83

Preview Lab

Preview with #513CC3

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

Preview Lab → · Contrast checker → · Palette generator →

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