#515DC4#515DC4

#515DC4 is a mid, vivid blue. Relative luminance 0.136; OKLCH L 52.4% C 0.159 H 274.5°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#515DC4
RGBrgb(81, 93, 196)
HSLhsl(234, 49%, 54%)
HSVhsv(234, 59%, 77%)
CMYKcmyk(58.7%, 52.6%, 0%, 23.1%)
CIE-LABlab(43.60, 26.30, -55.48)
CIE-LCHlch(43.60, 61.39, 295.36°)
OKLaboklab(52.4% 0.0125 -0.1589)
OKLCHoklch(52.4% 0.159 274.5)
XYZxyz(17.2682, 13.5623, 53.9217)
Luminance0.1356 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515DC4 #C4B851
analogous
#5197C4 #515DC4 #7F51C4
triadic
#515DC4 #C4515D #5DC451
tetradic
#515DC4 #C45197 #C4B851 #51C47F
square
#515DC4 #C45197 #C4B851 #51C47F
split-complementary
#515DC4 #C47F51 #97C451
monochromatic
#272F73 #3742A1 #515DC4 #7F88D3 #ACB2E3

Accessibility & contrast

On white

5.66
#515DC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #515DC4
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515DC4#FFFFFF#000000##FFFFFF
##515DC41.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#206CC8
Deuteranopia (green-blind)
#0062C2
Tritanopia (blue-blind)
#007587
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #515dc4;
/* rgb */ color: rgb(81, 93, 196);
/* oklch */ color: oklch(52.4% 0.159 274.5);
Tailwind
colors: {
  custom: {
    50: '#8c8ad6',
    500: '#515dc4',
    950: '#000000',
  },
}
SCSS
$custom: #515dc4;
$custom-light: #8c8ad6;
$custom-dark: #000000;
JSON
{
  "hex": "#515dc4",
  "rgb": {
    "r": 81,
    "g": 93,
    "b": 196
  },
  "hsl": {
    "h": 233.739,
    "s": 49.356,
    "l": 54.314
  },
  "oklch": {
    "l": 0.52396,
    "c": 0.15936,
    "h": 274.5
  },
  "luminance": 0.13564
}

Semantic roles & 50–950 ramp

primary
#515DC4
secondary
#D1CCA0
accent
#CA4FD9
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0B14
muted
#7E7C83

Preview Lab

Preview with #515DC4

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

Preview Lab → · Contrast checker → · Palette generator →

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