#513FDB#513FDB

#513FDB is a mid, highly saturated blue. Relative luminance 0.104; OKLCH L 49.3% C 0.225 H 279.4°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#513FDB
RGBrgb(81, 63, 219)
HSLhsl(247, 68%, 55%)
HSVhsv(247, 71%, 86%)
CMYKcmyk(63%, 71.2%, 0%, 14.1%)
CIE-LABlab(38.58, 51.62, -76.91)
CIE-LCHlch(38.58, 92.62, 303.87°)
OKLaboklab(49.28% 0.0368 -0.2219)
OKLCHoklch(49.28% 0.225 279.4)
XYZxyz(17.9529, 10.4174, 68.0688)
Luminance0.1042 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513FDB #C9DB3F
analogous
#3F7BDB #513FDB #9F3FDB
triadic
#513FDB #DB513F #3FDB51
tetradic
#513FDB #DB3F7B #C9DB3F #3FDB9F
square
#513FDB #DB3F7B #C9DB3F #3FDB9F
split-complementary
#513FDB #DB9F3F #7BDB3F
monochromatic
#261986 #3423BA #513FDB #8073E5 #AEA6EE

Accessibility & contrast

On white

6.81
#513FDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#513FDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #513FDB
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513FDB#FFFFFF#000000##FFFFFF
##513FDB1.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061E0
Deuteranopia (green-blind)
#0055D8
Tritanopia (blue-blind)
#006A89
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #513fdb;
/* rgb */ color: rgb(81, 63, 219);
/* oklch */ color: oklch(49.3% 0.225 279.4);
Tailwind
colors: {
  custom: {
    50: '#9276e7',
    500: '#513fdb',
    950: '#000000',
  },
}
SCSS
$custom: #513fdb;
$custom-light: #9276e7;
$custom-dark: #000000;
JSON
{
  "hex": "#513fdb",
  "rgb": {
    "r": 81,
    "g": 63,
    "b": 219
  },
  "hsl": {
    "h": 246.923,
    "s": 68.421,
    "l": 55.294
  },
  "oklch": {
    "l": 0.49282,
    "c": 0.22494,
    "h": 279.4
  },
  "luminance": 0.10419
}

Semantic roles & 50–950 ramp

primary
#513FDB
secondary
#D4DC9A
accent
#EB3DD7
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #513FDB

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

Preview Lab → · Contrast checker → · Palette generator →

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