#515DC5#515DC5

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

Color values

HEX#515DC5
RGBrgb(81, 93, 197)
HSLhsl(234, 50%, 55%)
HSVhsv(234, 59%, 77%)
CMYKcmyk(58.9%, 52.8%, 0%, 22.7%)
CIE-LABlab(43.67, 26.63, -55.95)
CIE-LCHlch(43.67, 61.96, 295.45°)
OKLaboklab(52.47% 0.0126 -0.1603)
OKLCHoklch(52.47% 0.161 274.5)
XYZxyz(17.3824, 13.6079, 54.5231)
Luminance0.1361 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515DC5 #C5B951
analogous
#5197C5 #515DC5 #7F51C5
triadic
#515DC5 #C5515D #5DC551
tetradic
#515DC5 #C55197 #C5B951 #51C57F
square
#515DC5 #C55197 #C5B951 #51C57F
split-complementary
#515DC5 #C57F51 #97C551
monochromatic
#272F75 #3641A3 #515DC5 #7F88D4 #ADB2E4

Accessibility & contrast

On white

5.64
#515DC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#515DC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515DC5
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515DC5#FFFFFF#000000##FFFFFF
##515DC51.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F6CC9
Deuteranopia (green-blind)
#0062C3
Tritanopia (blue-blind)
#007588
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #515dc5;
/* rgb */ color: rgb(81, 93, 197);
/* oklch */ color: oklch(52.5% 0.161 274.5);
Tailwind
colors: {
  custom: {
    50: '#8c8ad7',
    500: '#515dc5',
    950: '#000000',
  },
}
SCSS
$custom: #515dc5;
$custom-light: #8c8ad7;
$custom-dark: #000000;
JSON
{
  "hex": "#515dc5",
  "rgb": {
    "r": 81,
    "g": 93,
    "b": 197
  },
  "hsl": {
    "h": 233.793,
    "s": 50,
    "l": 54.51
  },
  "oklch": {
    "l": 0.52467,
    "c": 0.16076,
    "h": 274.5
  },
  "luminance": 0.13609
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #515DC5

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

Preview Lab → · Contrast checker → · Palette generator →

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