#515BCC#515BCC

#515BCC is a mid, vivid blue. Relative luminance 0.136; OKLCH L 52.6% C 0.173 H 274.9°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#515BCC
RGBrgb(81, 91, 204)
HSLhsl(235, 55%, 56%)
HSVhsv(235, 60%, 80%)
CMYKcmyk(60.3%, 55.4%, 0%, 20%)
CIE-LABlab(43.64, 30.23, -60.03)
CIE-LCHlch(43.64, 67.21, 296.73°)
OKLaboklab(52.6% 0.0149 -0.1723)
OKLCHoklch(52.6% 0.173 274.9)
XYZxyz(18.0299, 13.5897, 58.7880)
Luminance0.1359 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515BCC #CCC251
analogous
#5198CC #515BCC #8451CC
triadic
#515BCC #CC515B #5BCC51
tetradic
#515BCC #CC5198 #CCC251 #51CC84
square
#515BCC #CC5198 #CCC251 #51CC84
split-complementary
#515BCC #CC8451 #98CC51
monochromatic
#252C7E #333DAD #515BCC #8088DA #B0B4E8

Accessibility & contrast

On white

5.65
#515BCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#515BCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515BCC
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515BCC#FFFFFF#000000##FFFFFF
##515BCC1.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD0
Deuteranopia (green-blind)
#0062CA
Tritanopia (blue-blind)
#00768B
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #515bcc;
/* rgb */ color: rgb(81, 91, 204);
/* oklch */ color: oklch(52.6% 0.173 274.9);
Tailwind
colors: {
  custom: {
    50: '#8d89dc',
    500: '#515bcc',
    950: '#000000',
  },
}
SCSS
$custom: #515bcc;
$custom-light: #8d89dc;
$custom-dark: #000000;
JSON
{
  "hex": "#515bcc",
  "rgb": {
    "r": 81,
    "g": 91,
    "b": 204
  },
  "hsl": {
    "h": 235.122,
    "s": 54.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.526,
    "c": 0.17293,
    "h": 274.9
  },
  "luminance": 0.13591
}

Semantic roles & 50–950 ramp

primary
#515BCC
secondary
#D6D2A3
accent
#D24ADE
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #515BCC

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

Preview Lab → · Contrast checker → · Palette generator →

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