#515CD4#515CD4

#515CD4 is a mid, vivid blue. Relative luminance 0.142; OKLCH L 53.4% C 0.182 H 274.5°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#515CD4
RGBrgb(81, 92, 212)
HSLhsl(235, 60%, 57%)
HSVhsv(235, 62%, 83%)
CMYKcmyk(61.8%, 56.6%, 0%, 16.9%)
CIE-LABlab(44.46, 32.28, -63.30)
CIE-LCHlch(44.46, 71.06, 297.02°)
OKLaboklab(53.39% 0.0142 -0.1819)
OKLCHoklch(53.39% 0.182 274.5)
XYZxyz(19.1002, 14.1555, 64.0003)
Luminance0.1416 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515CD4 #D4C951
analogous
#519DD4 #515CD4 #8851D4
triadic
#515CD4 #D4515C #5CD451
tetradic
#515CD4 #D4519D #D4C951 #51D488
square
#515CD4 #D4519D #D4C951 #51D488
split-complementary
#515CD4 #D48851 #9DD451
monochromatic
#222A89 #2E3ABA #515CD4 #828AE0 #B3B8EC

Accessibility & contrast

On white

5.48
#515CD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#515CD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515CD4
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515CD4#FFFFFF#000000##FFFFFF
##515CD41.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FD8
Deuteranopia (green-blind)
#0064D2
Tritanopia (blue-blind)
#00798F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #515cd4;
/* rgb */ color: rgb(81, 92, 212);
/* oklch */ color: oklch(53.4% 0.182 274.5);
Tailwind
colors: {
  custom: {
    50: '#8f8ae2',
    500: '#515cd4',
    950: '#000000',
  },
}
SCSS
$custom: #515cd4;
$custom-light: #8f8ae2;
$custom-dark: #000000;
JSON
{
  "hex": "#515cd4",
  "rgb": {
    "r": 81,
    "g": 92,
    "b": 212
  },
  "hsl": {
    "h": 234.962,
    "s": 60.369,
    "l": 57.451
  },
  "oklch": {
    "l": 0.53389,
    "c": 0.18245,
    "h": 274.5
  },
  "luminance": 0.14157
}

Semantic roles & 50–950 ramp

primary
#515CD4
secondary
#DBD6A6
accent
#D644E4
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #515CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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