#515FC7#515FC7

#515FC7 is a mid, vivid blue. Relative luminance 0.141; OKLCH L 53.0% C 0.161 H 273.8°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#515FC7
RGBrgb(81, 95, 199)
HSLhsl(233, 51%, 55%)
HSVhsv(233, 59%, 78%)
CMYKcmyk(59.3%, 52.3%, 0%, 22%)
CIE-LABlab(44.31, 26.05, -56.06)
CIE-LCHlch(44.31, 61.81, 294.92°)
OKLaboklab(53% 0.0107 -0.1606)
OKLCHoklch(53% 0.161 273.8)
XYZxyz(17.7910, 14.0559, 55.7973)
Luminance0.1406 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515FC7 #C7B951
analogous
#519AC7 #515FC7 #7E51C7
triadic
#515FC7 #C7515F #5FC751
tetradic
#515FC7 #C7519A #C7B951 #51C77E
square
#515FC7 #C7519A #C7B951 #51C77E
split-complementary
#515FC7 #C77E51 #9AC751
monochromatic
#263077 #3543A6 #515FC7 #7F8AD6 #AEB4E5

Accessibility & contrast

On white

5.51
#515FC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#515FC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515FC7
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515FC7#FFFFFF#000000##FFFFFF
##515FC71.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#226ECB
Deuteranopia (green-blind)
#0064C5
Tritanopia (blue-blind)
#00778A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #515fc7;
/* rgb */ color: rgb(81, 95, 199);
/* oklch */ color: oklch(53.0% 0.161 273.8);
Tailwind
colors: {
  custom: {
    50: '#8c8cd9',
    500: '#515fc7',
    950: '#000000',
  },
}
SCSS
$custom: #515fc7;
$custom-light: #8c8cd9;
$custom-dark: #000000;
JSON
{
  "hex": "#515fc7",
  "rgb": {
    "r": 81,
    "g": 95,
    "b": 199
  },
  "hsl": {
    "h": 232.881,
    "s": 51.304,
    "l": 54.902
  },
  "oklch": {
    "l": 0.52997,
    "c": 0.16092,
    "h": 273.8
  },
  "luminance": 0.14057
}

Semantic roles & 50–950 ramp

primary
#515FC7
secondary
#D3CDA1
accent
#CA4DDB
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #515FC7

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

Preview Lab → · Contrast checker → · Palette generator →

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