#515DC0#515DC0

#515DC0 is a mid, vivid blue. Relative luminance 0.134; OKLCH L 52.1% C 0.154 H 274.6°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#515DC0
RGBrgb(81, 93, 192)
HSLhsl(234, 47%, 54%)
HSVhsv(234, 58%, 75%)
CMYKcmyk(57.8%, 51.6%, 0%, 24.7%)
CIE-LABlab(43.33, 24.96, -53.58)
CIE-LCHlch(43.33, 59.11, 294.98°)
OKLaboklab(52.11% 0.0122 -0.1533)
OKLCHoklch(52.11% 0.154 274.6)
XYZxyz(16.8190, 13.3826, 51.5557)
Luminance0.1338 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515DC0 #C0B451
analogous
#5194C0 #515DC0 #7C51C0
triadic
#515DC0 #C0515D #5DC051
tetradic
#515DC0 #C05194 #C0B451 #51C07C
square
#515DC0 #C05194 #C0B451 #51C07C
split-complementary
#515DC0 #C07C51 #94C051
monochromatic
#28306F #38439B #515DC0 #7E87D0 #ABB1E1

Accessibility & contrast

On white

5.71
#515DC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#515DC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515DC0
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515DC0#FFFFFF#000000##FFFFFF
##515DC01.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#266BC4
Deuteranopia (green-blind)
#0E62BE
Tritanopia (blue-blind)
#027485
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #515dc0;
/* rgb */ color: rgb(81, 93, 192);
/* oklch */ color: oklch(52.1% 0.154 274.6);
Tailwind
colors: {
  custom: {
    50: '#8b8ad4',
    500: '#515dc0',
    950: '#000000',
  },
}
SCSS
$custom: #515dc0;
$custom-light: #8b8ad4;
$custom-dark: #000000;
JSON
{
  "hex": "#515dc0",
  "rgb": {
    "r": 81,
    "g": 93,
    "b": 192
  },
  "hsl": {
    "h": 233.514,
    "s": 46.835,
    "l": 53.529
  },
  "oklch": {
    "l": 0.52112,
    "c": 0.15379,
    "h": 274.6
  },
  "luminance": 0.13384
}

Semantic roles & 50–950 ramp

primary
#515DC0
secondary
#CEC99F
accent
#C851D6
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0B14
muted
#7E7C83

Preview Lab

Preview with #515DC0

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

Preview Lab → · Contrast checker → · Palette generator →

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