#515CDF#515CDF

#515CDF is a mid, vivid blue. Relative luminance 0.147; OKLCH L 54.2% C 0.197 H 274.1°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#515CDF
RGBrgb(81, 92, 223)
HSLhsl(235, 69%, 60%)
HSVhsv(235, 64%, 87%)
CMYKcmyk(63.7%, 58.7%, 0%, 12.5%)
CIE-LABlab(45.26, 35.97, -68.26)
CIE-LCHlch(45.26, 77.16, 297.78°)
OKLaboklab(54.24% 0.0142 -0.1965)
OKLCHoklch(54.24% 0.197 274.1)
XYZxyz(20.5354, 14.7296, 71.5586)
Luminance0.1473 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515CDF #DFD451
analogous
#51A3DF #515CDF #8D51DF
triadic
#515CDF #DF515C #5CDF51
tetradic
#515CDF #DF51A3 #DFD451 #51DF8D
square
#515CDF #DF51A3 #DFD451 #51DF8D
split-complementary
#515CDF #DF8D51 #A3DF51
monochromatic
#1C2699 #2633CD #515CDF #858CE9 #B8BDF2

Accessibility & contrast

On white

5.32
#515CDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#515CDF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515CDF
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515CDF#FFFFFF#000000##FFFFFF
##515CDF1.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E3
Deuteranopia (green-blind)
#0065DC
Tritanopia (blue-blind)
#007C95
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #515cdf;
/* rgb */ color: rgb(81, 92, 223);
/* oklch */ color: oklch(54.2% 0.197 274.1);
Tailwind
colors: {
  custom: {
    50: '#908aea',
    500: '#515cdf',
    950: '#000000',
  },
}
SCSS
$custom: #515cdf;
$custom-light: #908aea;
$custom-dark: #000000;
JSON
{
  "hex": "#515cdf",
  "rgb": {
    "r": 81,
    "g": 92,
    "b": 223
  },
  "hsl": {
    "h": 235.352,
    "s": 68.932,
    "l": 59.608
  },
  "oklch": {
    "l": 0.54241,
    "c": 0.197,
    "h": 274.1
  },
  "luminance": 0.14731
}

Semantic roles & 50–950 ramp

primary
#515CDF
secondary
#E1DDAA
accent
#DE3CEC
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #515CDF

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

Preview Lab → · Contrast checker → · Palette generator →

#515CDF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva