#513FC9#513FC9

#513FC9 is a mid, highly saturated blue. Relative luminance 0.095; OKLCH L 47.6% C 0.203 H 281.3°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#513FC9
RGBrgb(81, 63, 201)
HSLhsl(248, 56%, 52%)
HSVhsv(248, 69%, 79%)
CMYKcmyk(59.7%, 68.7%, 0%, 21.2%)
CIE-LABlab(36.97, 46.09, -69.16)
CIE-LCHlch(36.97, 83.11, 303.68°)
OKLaboklab(47.64% 0.0399 -0.1992)
OKLCHoklch(47.64% 0.203 281.3)
XYZxyz(15.7102, 9.5203, 56.2568)
Luminance0.0952 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513FC9 #B7C93F
analogous
#3F72C9 #513FC9 #963FC9
triadic
#513FC9 #C9513F #3FC951
tetradic
#513FC9 #C93F72 #B7C93F #3FC996
square
#513FC9 #C93F72 #B7C93F #3FC996
split-complementary
#513FC9 #C9963F #72C93F
monochromatic
#291F6F #3B2D9E #513FC9 #7C6FD6 #A89FE4

Accessibility & contrast

On white

7.23
#513FC9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #513FC9
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513FC9#FFFFFF#000000##FFFFFF
##513FC91.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CCD
Deuteranopia (green-blind)
#0052C6
Tritanopia (blue-blind)
#00637F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #513fc9;
/* rgb */ color: rgb(81, 63, 201);
/* oklch */ color: oklch(47.6% 0.203 281.3);
Tailwind
colors: {
  custom: {
    50: '#8f76db',
    500: '#513fc9',
    950: '#000000',
  },
}
SCSS
$custom: #513fc9;
$custom-light: #8f76db;
$custom-dark: #000000;
JSON
{
  "hex": "#513fc9",
  "rgb": {
    "r": 81,
    "g": 63,
    "b": 201
  },
  "hsl": {
    "h": 247.826,
    "s": 56.098,
    "l": 51.765
  },
  "oklch": {
    "l": 0.47637,
    "c": 0.2032,
    "h": 281.3
  },
  "luminance": 0.09521
}

Semantic roles & 50–950 ramp

primary
#513FC9
secondary
#C8D094
accent
#DF48CC
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #513FC9

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

Preview Lab → · Contrast checker → · Palette generator →

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