#515BCE#515BCE

#515BCE is a mid, vivid blue. Relative luminance 0.137; OKLCH L 52.8% C 0.176 H 274.9°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#515BCE
RGBrgb(81, 91, 206)
HSLhsl(235, 56%, 56%)
HSVhsv(235, 61%, 81%)
CMYKcmyk(60.7%, 55.8%, 0%, 19.2%)
CIE-LABlab(43.78, 30.90, -60.95)
CIE-LCHlch(43.78, 68.34, 296.88°)
OKLaboklab(52.75% 0.015 -0.175)
OKLCHoklch(52.75% 0.176 274.9)
XYZxyz(18.2714, 13.6863, 60.0594)
Luminance0.1369 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515BCE #CEC451
analogous
#519ACE #515BCE #8651CE
triadic
#515BCE #CE515B #5BCE51
tetradic
#515BCE #CE519A #CEC451 #51CE86
square
#515BCE #CE519A #CEC451 #51CE86
split-complementary
#515BCE #CE8651 #9ACE51
monochromatic
#242C80 #323CB0 #515BCE #8188DB #B1B5E9

Accessibility & contrast

On white

5.62
#515BCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#515BCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515BCE
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515BCE#FFFFFF#000000##FFFFFF
##515BCE1.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD2
Deuteranopia (green-blind)
#0062CC
Tritanopia (blue-blind)
#00768C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #515bce;
/* rgb */ color: rgb(81, 91, 206);
/* oklch */ color: oklch(52.8% 0.176 274.9);
Tailwind
colors: {
  custom: {
    50: '#8e89de',
    500: '#515bce',
    950: '#000000',
  },
}
SCSS
$custom: #515bce;
$custom-light: #8e89de;
$custom-dark: #000000;
JSON
{
  "hex": "#515bce",
  "rgb": {
    "r": 81,
    "g": 91,
    "b": 206
  },
  "hsl": {
    "h": 235.2,
    "s": 56.054,
    "l": 56.275
  },
  "oklch": {
    "l": 0.5275,
    "c": 0.17565,
    "h": 274.9
  },
  "luminance": 0.13688
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #515BCE

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

Preview Lab → · Contrast checker → · Palette generator →

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