#515CCE#515CCE

#515CCE is a mid, vivid blue. Relative luminance 0.139; OKLCH L 52.9% C 0.174 H 274.6°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#515CCE
RGBrgb(81, 92, 206)
HSLhsl(235, 56%, 56%)
HSVhsv(235, 61%, 81%)
CMYKcmyk(60.7%, 55.3%, 0%, 19.2%)
CIE-LABlab(44.03, 30.27, -60.55)
CIE-LCHlch(44.03, 67.70, 296.56°)
OKLaboklab(52.94% 0.014 -0.1738)
OKLCHoklch(52.94% 0.174 274.6)
XYZxyz(18.3574, 13.8584, 60.0881)
Luminance0.1386 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515CCE #CEC351
analogous
#519BCE #515CCE #8551CE
triadic
#515CCE #CE515C #5CCE51
tetradic
#515CCE #CE519B #CEC351 #51CE85
square
#515CCE #CE519B #CEC351 #51CE85
split-complementary
#515CCE #CE8551 #9BCE51
monochromatic
#242C80 #323DB0 #515CCE #8189DB #B1B5E9

Accessibility & contrast

On white

5.57
#515CCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#515CCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515CCE
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515CCE#FFFFFF#000000##FFFFFF
##515CCE1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED2
Deuteranopia (green-blind)
#0063CC
Tritanopia (blue-blind)
#00778C
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #515cce;
/* rgb */ color: rgb(81, 92, 206);
/* oklch */ color: oklch(52.9% 0.174 274.6);
Tailwind
colors: {
  custom: {
    50: '#8e8ade',
    500: '#515cce',
    950: '#000000',
  },
}
SCSS
$custom: #515cce;
$custom-light: #8e8ade;
$custom-dark: #000000;
JSON
{
  "hex": "#515cce",
  "rgb": {
    "r": 81,
    "g": 92,
    "b": 206
  },
  "hsl": {
    "h": 234.72,
    "s": 56.054,
    "l": 56.275
  },
  "oklch": {
    "l": 0.52936,
    "c": 0.17438,
    "h": 274.6
  },
  "luminance": 0.1386
}

Semantic roles & 50–950 ramp

primary
#515CCE
secondary
#D7D3A4
accent
#D248DF
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #515CCE

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

Preview Lab → · Contrast checker → · Palette generator →

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