#513FCB#513FCB

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

Color values

HEX#513FCB
RGBrgb(81, 63, 203)
HSLhsl(248, 57%, 52%)
HSVhsv(248, 69%, 80%)
CMYKcmyk(60.1%, 69%, 0%, 20.4%)
CIE-LABlab(37.14, 46.71, -70.04)
CIE-LCHlch(37.14, 84.18, 303.70°)
OKLaboklab(47.82% 0.0396 -0.2018)
OKLCHoklch(47.82% 0.206 281.1)
XYZxyz(15.9470, 9.6150, 57.5039)
Luminance0.0962 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513FCB #B9CB3F
analogous
#3F73CB #513FCB #973FCB
triadic
#513FCB #CB513F #3FCB51
tetradic
#513FCB #CB3F73 #B9CB3F #3FCB97
square
#513FCB #CB3F73 #B9CB3F #3FCB97
split-complementary
#513FCB #CB973F #73CB3F
monochromatic
#291F71 #3B2CA1 #513FCB #7D6FD8 #A89FE5

Accessibility & contrast

On white

7.18
#513FCB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#513FCB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #513FCB
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513FCB#FFFFFF#000000##FFFFFF
##513FCB1.007.182.927.18
#FFFFFF7.181.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CCF
Deuteranopia (green-blind)
#0052C8
Tritanopia (blue-blind)
#006480
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #513fcb;
/* rgb */ color: rgb(81, 63, 203);
/* oklch */ color: oklch(47.8% 0.206 281.1);
Tailwind
colors: {
  custom: {
    50: '#8f76dc',
    500: '#513fcb',
    950: '#000000',
  },
}
SCSS
$custom: #513fcb;
$custom-light: #8f76dc;
$custom-dark: #000000;
JSON
{
  "hex": "#513fcb",
  "rgb": {
    "r": 81,
    "g": 63,
    "b": 203
  },
  "hsl": {
    "h": 247.714,
    "s": 57.377,
    "l": 52.157
  },
  "oklch": {
    "l": 0.47816,
    "c": 0.20566,
    "h": 281.1
  },
  "luminance": 0.09616
}

Semantic roles & 50–950 ramp

primary
#513FCB
secondary
#CAD194
accent
#E147CD
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #513FCB

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

Preview Lab → · Contrast checker → · Palette generator →

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