#515AC8#515AC8

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

Color values

HEX#515AC8
RGBrgb(81, 90, 200)
HSLhsl(235, 52%, 55%)
HSVhsv(235, 60%, 78%)
CMYKcmyk(59.5%, 55%, 0%, 21.6%)
CIE-LABlab(43.11, 29.52, -58.58)
CIE-LCHlch(43.11, 65.60, 296.74°)
OKLaboklab(52.12% 0.0158 -0.168)
OKLCHoklch(52.12% 0.169 275.4)
XYZxyz(17.4714, 13.2305, 56.2654)
Luminance0.1323 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515AC8 #C8BF51
analogous
#5196C8 #515AC8 #8351C8
triadic
#515AC8 #C8515A #5AC851
tetradic
#515AC8 #C85196 #C8BF51 #51C883
square
#515AC8 #C85196 #C8BF51 #51C883
split-complementary
#515AC8 #C88351 #96C851
monochromatic
#262C79 #353DA7 #515AC8 #8086D7 #AEB2E5

Accessibility & contrast

On white

5.76
#515AC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#515AC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515AC8
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515AC8#FFFFFF#000000##FFFFFF
##515AC81.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#066BCC
Deuteranopia (green-blind)
#0061C6
Tritanopia (blue-blind)
#007488
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #515ac8;
/* rgb */ color: rgb(81, 90, 200);
/* oklch */ color: oklch(52.1% 0.169 275.4);
Tailwind
colors: {
  custom: {
    50: '#8d88d9',
    500: '#515ac8',
    950: '#000000',
  },
}
SCSS
$custom: #515ac8;
$custom-light: #8d88d9;
$custom-dark: #000000;
JSON
{
  "hex": "#515ac8",
  "rgb": {
    "r": 81,
    "g": 90,
    "b": 200
  },
  "hsl": {
    "h": 235.462,
    "s": 51.965,
    "l": 55.098
  },
  "oklch": {
    "l": 0.52115,
    "c": 0.16878,
    "h": 275.4
  },
  "luminance": 0.13232
}

Semantic roles & 50–950 ramp

primary
#515AC8
secondary
#D3D0A1
accent
#D14CDB
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #515AC8

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

Preview Lab → · Contrast checker → · Palette generator →

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