#515FC0#515FC0

#515FC0 is a mid, vivid blue. Relative luminance 0.137; OKLCH L 52.5% C 0.151 H 273.8°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#515FC0
RGBrgb(81, 95, 192)
HSLhsl(232, 47%, 54%)
HSVhsv(232, 58%, 75%)
CMYKcmyk(57.8%, 50.5%, 0%, 24.7%)
CIE-LABlab(43.86, 23.70, -52.75)
CIE-LCHlch(43.86, 57.82, 294.19°)
OKLaboklab(52.51% 0.0101 -0.1508)
OKLCHoklch(52.51% 0.151 273.8)
XYZxyz(16.9969, 13.7383, 51.6150)
Luminance0.1374 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515FC0 #C0B251
analogous
#5196C0 #515FC0 #7A51C0
triadic
#515FC0 #C0515F #5FC051
tetradic
#515FC0 #C05196 #C0B251 #51C07A
square
#515FC0 #C05196 #C0B251 #51C07A
split-complementary
#515FC0 #C07A51 #96C051
monochromatic
#28316F #38459B #515FC0 #7E88D0 #ABB2E1

Accessibility & contrast

On white

5.60
#515FC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#515FC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515FC0
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515FC0#FFFFFF#000000##FFFFFF
##515FC01.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C6DC3
Deuteranopia (green-blind)
#1763BE
Tritanopia (blue-blind)
#017586
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #515fc0;
/* rgb */ color: rgb(81, 95, 192);
/* oklch */ color: oklch(52.5% 0.151 273.8);
Tailwind
colors: {
  custom: {
    50: '#8b8cd4',
    500: '#515fc0',
    950: '#000000',
  },
}
SCSS
$custom: #515fc0;
$custom-light: #8b8cd4;
$custom-dark: #000000;
JSON
{
  "hex": "#515fc0",
  "rgb": {
    "r": 81,
    "g": 95,
    "b": 192
  },
  "hsl": {
    "h": 232.432,
    "s": 46.835,
    "l": 53.529
  },
  "oklch": {
    "l": 0.52505,
    "c": 0.15116,
    "h": 273.8
  },
  "luminance": 0.1374
}

Semantic roles & 50–950 ramp

primary
#515FC0
secondary
#CEC89F
accent
#C651D6
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0C14
muted
#7E7D83

Preview Lab

Preview with #515FC0

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

Preview Lab → · Contrast checker → · Palette generator →

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