#515BCA#515BCA

#515BCA is a mid, vivid blue. Relative luminance 0.135; OKLCH L 52.5% C 0.170 H 275.0°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#515BCA
RGBrgb(81, 91, 202)
HSLhsl(235, 53%, 55%)
HSVhsv(235, 60%, 79%)
CMYKcmyk(59.9%, 55%, 0%, 20.8%)
CIE-LABlab(43.50, 29.56, -59.11)
CIE-LCHlch(43.50, 66.08, 296.57°)
OKLaboklab(52.45% 0.0149 -0.1696)
OKLCHoklch(52.45% 0.17 275)
XYZxyz(17.7916, 13.4944, 57.5328)
Luminance0.1350 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515BCA #CAC051
analogous
#5198CA #515BCA #8351CA
triadic
#515BCA #CA515B #5BCA51
tetradic
#515BCA #CA5198 #CAC051 #51CA83
square
#515BCA #CA5198 #CAC051 #51CA83
split-complementary
#515BCA #CA8351 #98CA51
monochromatic
#252D7B #343EAA #515BCA #8087D8 #AFB3E7

Accessibility & contrast

On white

5.68
#515BCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#515BCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515BCA
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515BCA#FFFFFF#000000##FFFFFF
##515BCA1.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#056CCE
Deuteranopia (green-blind)
#0062C8
Tritanopia (blue-blind)
#00758A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #515bca;
/* rgb */ color: rgb(81, 91, 202);
/* oklch */ color: oklch(52.5% 0.170 275.0);
Tailwind
colors: {
  custom: {
    50: '#8d89db',
    500: '#515bca',
    950: '#000000',
  },
}
SCSS
$custom: #515bca;
$custom-light: #8d89db;
$custom-dark: #000000;
JSON
{
  "hex": "#515bca",
  "rgb": {
    "r": 81,
    "g": 91,
    "b": 202
  },
  "hsl": {
    "h": 235.041,
    "s": 53.304,
    "l": 55.49
  },
  "oklch": {
    "l": 0.52451,
    "c": 0.17022,
    "h": 275
  },
  "luminance": 0.13496
}

Semantic roles & 50–950 ramp

primary
#515BCA
secondary
#D5D0A2
accent
#D14BDD
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #515BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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