#515CCD#515CCD

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

Color values

HEX#515CCD
RGBrgb(81, 92, 205)
HSLhsl(235, 55%, 56%)
HSVhsv(235, 60%, 80%)
CMYKcmyk(60.5%, 55.1%, 0%, 19.6%)
CIE-LABlab(43.96, 29.94, -60.09)
CIE-LCHlch(43.96, 67.13, 296.48°)
OKLaboklab(52.86% 0.014 -0.1724)
OKLCHoklch(52.86% 0.173 274.6)
XYZxyz(18.2363, 13.8100, 59.4504)
Luminance0.1381 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515CCD #CDC251
analogous
#519ACD #515CCD #8451CD
triadic
#515CCD #CD515C #5CCD51
tetradic
#515CCD #CD519A #CDC251 #51CD84
square
#515CCD #CD519A #CDC251 #51CD84
split-complementary
#515CCD #CD8451 #9ACD51
monochromatic
#252D7F #323DAF #515CCD #8189DB #B0B5E8

Accessibility & contrast

On white

5.58
#515CCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#515CCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515CCD
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515CCD#FFFFFF#000000##FFFFFF
##515CCD1.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD1
Deuteranopia (green-blind)
#0063CB
Tritanopia (blue-blind)
#00778B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #515ccd;
/* rgb */ color: rgb(81, 92, 205);
/* oklch */ color: oklch(52.9% 0.173 274.6);
Tailwind
colors: {
  custom: {
    50: '#8d8add',
    500: '#515ccd',
    950: '#000000',
  },
}
SCSS
$custom: #515ccd;
$custom-light: #8d8add;
$custom-dark: #000000;
JSON
{
  "hex": "#515ccd",
  "rgb": {
    "r": 81,
    "g": 92,
    "b": 205
  },
  "hsl": {
    "h": 234.677,
    "s": 55.357,
    "l": 56.078
  },
  "oklch": {
    "l": 0.52862,
    "c": 0.17302,
    "h": 274.6
  },
  "luminance": 0.13811
}

Semantic roles & 50–950 ramp

primary
#515CCD
secondary
#D7D2A3
accent
#D149DF
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #515CCD

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

Preview Lab → · Contrast checker → · Palette generator →

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