#515FC6#515FC6

#515FC6 is a mid, vivid blue. Relative luminance 0.140; OKLCH L 52.9% C 0.160 H 273.8°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#515FC6
RGBrgb(81, 95, 198)
HSLhsl(233, 51%, 55%)
HSVhsv(233, 59%, 78%)
CMYKcmyk(59.1%, 52%, 0%, 22.4%)
CIE-LABlab(44.25, 25.71, -55.59)
CIE-LCHlch(44.25, 61.25, 294.82°)
OKLaboklab(52.93% 0.0107 -0.1592)
OKLCHoklch(52.93% 0.16 273.8)
XYZxyz(17.6753, 14.0096, 55.1878)
Luminance0.1401 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515FC6 #C6B851
analogous
#5199C6 #515FC6 #7E51C6
triadic
#515FC6 #C6515F #5FC651
tetradic
#515FC6 #C65199 #C6B851 #51C67E
square
#515FC6 #C65199 #C6B851 #51C67E
split-complementary
#515FC6 #C67E51 #99C651
monochromatic
#273076 #3643A4 #515FC6 #7F89D5 #ADB4E4

Accessibility & contrast

On white

5.52
#515FC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#515FC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515FC6
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515FC6#FFFFFF#000000##FFFFFF
##515FC61.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#246ECA
Deuteranopia (green-blind)
#0064C4
Tritanopia (blue-blind)
#007789
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #515fc6;
/* rgb */ color: rgb(81, 95, 198);
/* oklch */ color: oklch(52.9% 0.160 273.8);
Tailwind
colors: {
  custom: {
    50: '#8c8cd8',
    500: '#515fc6',
    950: '#000000',
  },
}
SCSS
$custom: #515fc6;
$custom-light: #8c8cd8;
$custom-dark: #000000;
JSON
{
  "hex": "#515fc6",
  "rgb": {
    "r": 81,
    "g": 95,
    "b": 198
  },
  "hsl": {
    "h": 232.821,
    "s": 50.649,
    "l": 54.706
  },
  "oklch": {
    "l": 0.52926,
    "c": 0.15954,
    "h": 273.8
  },
  "luminance": 0.14011
}

Semantic roles & 50–950 ramp

primary
#515FC6
secondary
#D2CCA1
accent
#C94EDA
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0C14
muted
#7E7D83

Preview Lab

Preview with #515FC6

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

Preview Lab → · Contrast checker → · Palette generator →

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