#515CC8#515CC8

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

Color values

HEX#515CC8
RGBrgb(81, 92, 200)
HSLhsl(234, 52%, 55%)
HSVhsv(234, 60%, 78%)
CMYKcmyk(59.5%, 54%, 0%, 21.6%)
CIE-LABlab(43.61, 28.26, -57.77)
CIE-LCHlch(43.61, 64.31, 296.07°)
OKLaboklab(52.49% 0.0138 -0.1656)
OKLCHoklch(52.49% 0.166 274.8)
XYZxyz(17.6424, 13.5724, 56.3224)
Luminance0.1357 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515CC8 #C8BD51
analogous
#5197C8 #515CC8 #8251C8
triadic
#515CC8 #C8515C #5CC851
tetradic
#515CC8 #C85197 #C8BD51 #51C882
square
#515CC8 #C85197 #C8BD51 #51C882
split-complementary
#515CC8 #C88251 #97C851
monochromatic
#262E79 #353FA7 #515CC8 #8088D7 #AEB3E5

Accessibility & contrast

On white

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

On black

3.71
#515CC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##515CC8#FFFFFF#000000##FFFFFF
##515CC81.005.653.715.65
#FFFFFF5.651.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#146CCC
Deuteranopia (green-blind)
#0062C6
Tritanopia (blue-blind)
#007589
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #515cc8;
/* rgb */ color: rgb(81, 92, 200);
/* oklch */ color: oklch(52.5% 0.166 274.8);
Tailwind
colors: {
  custom: {
    50: '#8d8ad9',
    500: '#515cc8',
    950: '#000000',
  },
}
SCSS
$custom: #515cc8;
$custom-light: #8d8ad9;
$custom-dark: #000000;
JSON
{
  "hex": "#515cc8",
  "rgb": {
    "r": 81,
    "g": 92,
    "b": 200
  },
  "hsl": {
    "h": 234.454,
    "s": 51.965,
    "l": 55.098
  },
  "oklch": {
    "l": 0.52493,
    "c": 0.16619,
    "h": 274.8
  },
  "luminance": 0.13574
}

Semantic roles & 50–950 ramp

primary
#515CC8
secondary
#D3CFA1
accent
#CE4CDB
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #515CC8

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

Preview Lab → · Contrast checker → · Palette generator →

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