#515BE5#515BE5

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

Color values

HEX#515BE5
RGBrgb(81, 91, 229)
HSLhsl(236, 74%, 61%)
HSVhsv(236, 65%, 90%)
CMYKcmyk(64.6%, 60.3%, 0%, 10.2%)
CIE-LABlab(45.48, 38.58, -71.31)
CIE-LCHlch(45.48, 81.08, 298.41°)
OKLaboklab(54.54% 0.0149 -0.2054)
OKLCHoklch(54.54% 0.206 274.2)
XYZxyz(21.2726, 14.8868, 75.8659)
Luminance0.1489 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515BE5 #E5DB51
analogous
#51A5E5 #515BE5 #9151E5
triadic
#515BE5 #E5515B #5BE551
tetradic
#515BE5 #E551A5 #E5DB51 #51E591
square
#515BE5 #E551A5 #E5DB51 #51E591
split-complementary
#515BE5 #E59151 #A5E551
monochromatic
#1822A3 #202DD8 #515BE5 #868DED #BBBFF5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##515BE5#FFFFFF#000000##FFFFFF
##515BE51.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)
#0072EA
Deuteranopia (green-blind)
#0065E2
Tritanopia (blue-blind)
#007D97
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #515be5;
/* rgb */ color: rgb(81, 91, 229);
/* oklch */ color: oklch(54.5% 0.206 274.2);
Tailwind
colors: {
  custom: {
    50: '#9289ee',
    500: '#515be5',
    950: '#000000',
  },
}
SCSS
$custom: #515be5;
$custom-light: #9289ee;
$custom-dark: #000000;
JSON
{
  "hex": "#515be5",
  "rgb": {
    "r": 81,
    "g": 91,
    "b": 229
  },
  "hsl": {
    "h": 235.946,
    "s": 74,
    "l": 60.784
  },
  "oklch": {
    "l": 0.54544,
    "c": 0.20599,
    "h": 274.2
  },
  "luminance": 0.14889
}

Semantic roles & 50–950 ramp

primary
#515BE5
secondary
#E5E1AD
accent
#C90FD6
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #515BE5

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

Preview Lab → · Contrast checker → · Palette generator →

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