#515FC3#515FC3

#515FC3 is a mid, vivid blue. Relative luminance 0.139; OKLCH L 52.7% C 0.155 H 273.8°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#515FC3
RGBrgb(81, 95, 195)
HSLhsl(233, 49%, 54%)
HSVhsv(233, 58%, 76%)
CMYKcmyk(58.5%, 51.3%, 0%, 23.5%)
CIE-LABlab(44.05, 24.70, -54.17)
CIE-LCHlch(44.05, 59.54, 294.51°)
OKLaboklab(52.71% 0.0104 -0.155)
OKLCHoklch(52.71% 0.155 273.8)
XYZxyz(17.3327, 13.8726, 53.3835)
Luminance0.1387 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515FC3 #C3B551
analogous
#5198C3 #515FC3 #7C51C3
triadic
#515FC3 #C3515F #5FC351
tetradic
#515FC3 #C35198 #C3B551 #51C37C
square
#515FC3 #C35198 #C3B551 #51C37C
split-complementary
#515FC3 #C37C51 #98C351
monochromatic
#273172 #3744A0 #515FC3 #7F89D3 #ACB3E2

Accessibility & contrast

On white

5.56
#515FC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#515FC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515FC3
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515FC3#FFFFFF#000000##FFFFFF
##515FC31.005.563.775.56
#FFFFFF5.561.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#286DC7
Deuteranopia (green-blind)
#0E63C1
Tritanopia (blue-blind)
#007688
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #515fc3;
/* rgb */ color: rgb(81, 95, 195);
/* oklch */ color: oklch(52.7% 0.155 273.8);
Tailwind
colors: {
  custom: {
    50: '#8c8cd6',
    500: '#515fc3',
    950: '#000000',
  },
}
SCSS
$custom: #515fc3;
$custom-light: #8c8cd6;
$custom-dark: #000000;
JSON
{
  "hex": "#515fc3",
  "rgb": {
    "r": 81,
    "g": 95,
    "b": 195
  },
  "hsl": {
    "h": 232.632,
    "s": 48.718,
    "l": 54.118
  },
  "oklch": {
    "l": 0.52714,
    "c": 0.15536,
    "h": 273.8
  },
  "luminance": 0.13874
}

Semantic roles & 50–950 ramp

primary
#515FC3
secondary
#D0CAA0
accent
#C750D8
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0C14
muted
#7E7D83

Preview Lab

Preview with #515FC3

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

Preview Lab → · Contrast checker → · Palette generator →

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