#515AE8#515AE8

#515AE8 is a mid, highly saturated blue. Relative luminance 0.149; OKLCH L 54.6% C 0.211 H 274.2°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#515AE8
RGBrgb(81, 90, 232)
HSLhsl(236, 77%, 61%)
HSVhsv(236, 65%, 91%)
CMYKcmyk(65.1%, 61.2%, 0%, 9%)
CIE-LABlab(45.48, 40.18, -73.01)
CIE-LCHlch(45.48, 83.33, 298.83°)
OKLaboklab(54.62% 0.0156 -0.2104)
OKLCHoklch(54.62% 0.211 274.2)
XYZxyz(21.6102, 14.8859, 78.0627)
Luminance0.1489 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515AE8 #E8DF51
analogous
#51A6E8 #515AE8 #9451E8
triadic
#515AE8 #E8515A #5AE851
tetradic
#515AE8 #E851A6 #E8DF51 #51E894
square
#515AE8 #E851A6 #E8DF51 #51E894
split-complementary
#515AE8 #E89451 #A6E851
monochromatic
#161FA8 #1D29DE #515AE8 #878DEF #BDC1F6

Accessibility & contrast

On white

5.28
#515AE8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#515AE8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515AE8
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515AE8#FFFFFF#000000##FFFFFF
##515AE81.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073ED
Deuteranopia (green-blind)
#0065E5
Tritanopia (blue-blind)
#007E99
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #515ae8;
/* rgb */ color: rgb(81, 90, 232);
/* oklch */ color: oklch(54.6% 0.211 274.2);
Tailwind
colors: {
  custom: {
    50: '#9289f0',
    500: '#515ae8',
    950: '#000000',
  },
}
SCSS
$custom: #515ae8;
$custom-light: #9289f0;
$custom-dark: #000000;
JSON
{
  "hex": "#515ae8",
  "rgb": {
    "r": 81,
    "g": 90,
    "b": 232
  },
  "hsl": {
    "h": 236.424,
    "s": 76.65,
    "l": 61.373
  },
  "oklch": {
    "l": 0.54616,
    "c": 0.21102,
    "h": 274.2
  },
  "luminance": 0.14888
}

Semantic roles & 50–950 ramp

primary
#515AE8
secondary
#E7E3AE
accent
#CD0DD9
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B17
muted
#7E7C85

Preview Lab

Preview with #515AE8

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

Preview Lab → · Contrast checker → · Palette generator →

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