#513CCF#513CCF

#513CCF is a mid, highly saturated blue. Relative luminance 0.095; OKLCH L 47.8% C 0.214 H 281.1°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#513CCF
RGBrgb(81, 60, 207)
HSLhsl(249, 60%, 52%)
HSVhsv(249, 71%, 81%)
CMYKcmyk(60.9%, 71%, 0%, 18.8%)
CIE-LABlab(36.90, 49.59, -72.75)
CIE-LCHlch(36.90, 88.04, 304.28°)
OKLaboklab(47.75% 0.0411 -0.2098)
OKLCHoklch(47.75% 0.214 281.1)
XYZxyz(16.2681, 9.4849, 59.9929)
Luminance0.0949 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513CCF #BACF3C
analogous
#3C71CF #513CCF #9A3CCF
triadic
#513CCF #CF513C #3CCF51
tetradic
#513CCF #CF3C71 #BACF3C #3CCF9A
square
#513CCF #CF3C71 #BACF3C #3CCF9A
split-complementary
#513CCF #CF9A3C #71CF3C
monochromatic
#291D74 #3A29A5 #513CCF #7D6DDB #A99EE7

Accessibility & contrast

On white

7.25
#513CCF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#513CCF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #513CCF
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513CCF#FFFFFF#000000##FFFFFF
##513CCF1.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #513ccf;
/* rgb */ color: rgb(81, 60, 207);
/* oklch */ color: oklch(47.8% 0.214 281.1);
Tailwind
colors: {
  custom: {
    50: '#9074df',
    500: '#513ccf',
    950: '#000000',
  },
}
SCSS
$custom: #513ccf;
$custom-light: #9074df;
$custom-dark: #000000;
JSON
{
  "hex": "#513ccf",
  "rgb": {
    "r": 81,
    "g": 60,
    "b": 207
  },
  "hsl": {
    "h": 248.571,
    "s": 60.494,
    "l": 52.353
  },
  "oklch": {
    "l": 0.47753,
    "c": 0.21375,
    "h": 281.1
  },
  "luminance": 0.09486
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #513CCF

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

Preview Lab → · Contrast checker → · Palette generator →

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