#515AC7#515AC7

#515AC7 is a mid, vivid blue. Relative luminance 0.132; OKLCH L 52.0% C 0.167 H 275.4°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#515AC7
RGBrgb(81, 90, 199)
HSLhsl(235, 51%, 55%)
HSVhsv(235, 59%, 78%)
CMYKcmyk(59.3%, 54.8%, 0%, 22%)
CIE-LABlab(43.04, 29.18, -58.12)
CIE-LCHlch(43.04, 65.03, 296.66°)
OKLaboklab(52.04% 0.0157 -0.1667)
OKLCHoklch(52.04% 0.167 275.4)
XYZxyz(17.3550, 13.1839, 55.6520)
Luminance0.1318 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515AC7 #C7BE51
analogous
#5195C7 #515AC7 #8351C7
triadic
#515AC7 #C7515A #5AC751
tetradic
#515AC7 #C75195 #C7BE51 #51C783
square
#515AC7 #C75195 #C7BE51 #51C783
split-complementary
#515AC7 #C78351 #95C751
monochromatic
#262D77 #353EA6 #515AC7 #7F86D6 #AEB2E5

Accessibility & contrast

On white

5.77
#515AC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#515AC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515AC7
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515AC7#FFFFFF#000000##FFFFFF
##515AC71.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A6BCB
Deuteranopia (green-blind)
#0061C5
Tritanopia (blue-blind)
#007388
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #515ac7;
/* rgb */ color: rgb(81, 90, 199);
/* oklch */ color: oklch(52.0% 0.167 275.4);
Tailwind
colors: {
  custom: {
    50: '#8c88d9',
    500: '#515ac7',
    950: '#000000',
  },
}
SCSS
$custom: #515ac7;
$custom-light: #8c88d9;
$custom-dark: #000000;
JSON
{
  "hex": "#515ac7",
  "rgb": {
    "r": 81,
    "g": 90,
    "b": 199
  },
  "hsl": {
    "h": 235.424,
    "s": 51.304,
    "l": 54.902
  },
  "oklch": {
    "l": 0.52041,
    "c": 0.16741,
    "h": 275.4
  },
  "luminance": 0.13185
}

Semantic roles & 50–950 ramp

primary
#515AC7
secondary
#D3CFA1
accent
#D04DDB
background
#F9F8FD
surface
#F1EFFA
border
#CBCAD3
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #515AC7

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

Preview Lab → · Contrast checker → · Palette generator →

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