#513BCF#513BCF

#513BCF is a mid, highly saturated blue. Relative luminance 0.094; OKLCH L 47.6% C 0.215 H 281.2°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#513BCF
RGBrgb(81, 59, 207)
HSLhsl(249, 61%, 52%)
HSVhsv(249, 71%, 81%)
CMYKcmyk(60.9%, 71.5%, 0%, 18.8%)
CIE-LABlab(36.71, 50.13, -73.07)
CIE-LCHlch(36.71, 88.61, 304.45°)
OKLaboklab(47.62% 0.0418 -0.2107)
OKLCHoklch(47.62% 0.215 281.2)
XYZxyz(16.2162, 9.3811, 59.9756)
Luminance0.0938 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513BCF #B9CF3B
analogous
#3B6FCF #513BCF #9B3BCF
triadic
#513BCF #CF513B #3BCF51
tetradic
#513BCF #CF3B6F #B9CF3B #3BCF9B
square
#513BCF #CF3B6F #B9CF3B #3BCF9B
split-complementary
#513BCF #CF9B3B #6FCF3B
monochromatic
#291C73 #3B28A5 #513BCF #7D6CDB #A89DE7

Accessibility & contrast

On white

7.30
#513BCF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#513BCF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #513BCF
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513BCF#FFFFFF#000000##FFFFFF
##513BCF1.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BD3
Deuteranopia (green-blind)
#0051CC
Tritanopia (blue-blind)
#006481
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #513bcf;
/* rgb */ color: rgb(81, 59, 207);
/* oklch */ color: oklch(47.6% 0.215 281.2);
Tailwind
colors: {
  custom: {
    50: '#9073df',
    500: '#513bcf',
    950: '#000000',
  },
}
SCSS
$custom: #513bcf;
$custom-light: #9073df;
$custom-dark: #000000;
JSON
{
  "hex": "#513bcf",
  "rgb": {
    "r": 81,
    "g": 59,
    "b": 207
  },
  "hsl": {
    "h": 248.919,
    "s": 60.656,
    "l": 52.157
  },
  "oklch": {
    "l": 0.47615,
    "c": 0.21479,
    "h": 281.2
  },
  "luminance": 0.09382
}

Semantic roles & 50–950 ramp

primary
#513BCF
secondary
#CAD393
accent
#E444CC
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #513BCF

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

Preview Lab → · Contrast checker → · Palette generator →

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