#513CCB#513CCB

#513CCB is a mid, highly saturated blue. Relative luminance 0.093; OKLCH L 47.4% C 0.209 H 281.6°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#513CCB
RGBrgb(81, 60, 203)
HSLhsl(249, 58%, 52%)
HSVhsv(249, 70%, 80%)
CMYKcmyk(60.1%, 70.4%, 0%, 20.4%)
CIE-LABlab(36.54, 48.37, -71.03)
CIE-LCHlch(36.54, 85.93, 304.26°)
OKLaboklab(47.39% 0.0419 -0.2047)
OKLCHoklch(47.39% 0.209 281.6)
XYZxyz(15.7853, 9.2917, 57.4500)
Luminance0.0929 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513CCB #B6CB3C
analogous
#3C6FCB #513CCB #993CCB
triadic
#513CCB #CB513C #3CCB51
tetradic
#513CCB #CB3C6F #B6CB3C #3CCB99
square
#513CCB #CB3C6F #B6CB3C #3CCB99
split-complementary
#513CCB #CB993C #6FCB3C
monochromatic
#2A1E6F #3C2A9F #513CCB #7C6CD8 #A79DE5

Accessibility & contrast

On white

7.35
#513CCB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#513CCB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #513CCB
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513CCB#FFFFFF#000000##FFFFFF
##513CCB1.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BCF
Deuteranopia (green-blind)
#0051C8
Tritanopia (blue-blind)
#00637F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #513ccb;
/* rgb */ color: rgb(81, 60, 203);
/* oklch */ color: oklch(47.4% 0.209 281.6);
Tailwind
colors: {
  custom: {
    50: '#8f74dc',
    500: '#513ccb',
    950: '#000000',
  },
}
SCSS
$custom: #513ccb;
$custom-light: #8f74dc;
$custom-dark: #000000;
JSON
{
  "hex": "#513ccb",
  "rgb": {
    "r": 81,
    "g": 60,
    "b": 203
  },
  "hsl": {
    "h": 248.811,
    "s": 57.895,
    "l": 51.569
  },
  "oklch": {
    "l": 0.47385,
    "c": 0.20894,
    "h": 281.6
  },
  "luminance": 0.09293
}

Semantic roles & 50–950 ramp

primary
#513CCB
secondary
#C8D192
accent
#E147CA
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #513CCB

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

Preview Lab → · Contrast checker → · Palette generator →

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