#513BDA#513BDA

#513BDA is a mid, highly saturated blue. Relative luminance 0.099; OKLCH L 48.6% C 0.228 H 280.0°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#513BDA
RGBrgb(81, 59, 218)
HSLhsl(248, 68%, 54%)
HSVhsv(248, 73%, 85%)
CMYKcmyk(62.8%, 72.9%, 0%, 14.5%)
CIE-LABlab(37.73, 53.44, -77.73)
CIE-LCHlch(37.73, 94.33, 304.51°)
OKLaboklab(48.65% 0.0396 -0.2243)
OKLCHoklch(48.65% 0.228 280)
XYZxyz(17.6082, 9.9379, 67.3064)
Luminance0.0994 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513BDA #C4DA3B
analogous
#3B75DA #513BDA #A13BDA
triadic
#513BDA #DA513B #3BDA51
tetradic
#513BDA #DA3B75 #C4DA3B #3BDAA1
square
#513BDA #DA3B75 #C4DA3B #3BDAA1
split-complementary
#513BDA #DAA13B #75DA3B
monochromatic
#271982 #3722B6 #513BDA #7F6EE4 #ACA2ED

Accessibility & contrast

On white

7.03
#513BDA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#513BDA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #513BDA
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513BDA#FFFFFF#000000##FFFFFF
##513BDA1.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FDF
Deuteranopia (green-blind)
#0053D7
Tritanopia (blue-blind)
#006887
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #513bda;
/* rgb */ color: rgb(81, 59, 218);
/* oklch */ color: oklch(48.6% 0.228 280.0);
Tailwind
colors: {
  custom: {
    50: '#9274e7',
    500: '#513bda',
    950: '#000000',
  },
}
SCSS
$custom: #513bda;
$custom-light: #9274e7;
$custom-dark: #000000;
JSON
{
  "hex": "#513bda",
  "rgb": {
    "r": 81,
    "g": 59,
    "b": 218
  },
  "hsl": {
    "h": 248.302,
    "s": 68.24,
    "l": 54.314
  },
  "oklch": {
    "l": 0.4865,
    "c": 0.22778,
    "h": 280
  },
  "luminance": 0.09939
}

Semantic roles & 50–950 ramp

primary
#513BDA
secondary
#D1DA97
accent
#EB3DD3
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0816
muted
#7E7B84

Preview Lab

Preview with #513BDA

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

Preview Lab → · Contrast checker → · Palette generator →

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