#515BE1#515BE1

#515BE1 is a mid, highly saturated blue. Relative luminance 0.147; OKLCH L 54.2% C 0.201 H 274.3°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#515BE1
RGBrgb(81, 91, 225)
HSLhsl(236, 71%, 60%)
HSVhsv(236, 64%, 88%)
CMYKcmyk(64%, 59.6%, 0%, 11.8%)
CIE-LABlab(45.17, 37.25, -69.54)
CIE-LCHlch(45.17, 78.89, 298.17°)
OKLaboklab(54.22% 0.015 -0.2003)
OKLCHoklch(54.22% 0.201 274.3)
XYZxyz(20.7205, 14.6660, 72.9584)
Luminance0.1467 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515BE1 #E1D751
analogous
#51A3E1 #515BE1 #8F51E1
triadic
#515BE1 #E1515B #5BE151
tetradic
#515BE1 #E151A3 #E1D751 #51E18F
square
#515BE1 #E151A3 #E1D751 #51E18F
split-complementary
#515BE1 #E18F51 #A3E151
monochromatic
#1B249D #2430D1 #515BE1 #858CEA #B9BDF3

Accessibility & contrast

On white

5.34
#515BE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#515BE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515BE1
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515BE1#FFFFFF#000000##FFFFFF
##515BE11.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E5
Deuteranopia (green-blind)
#0065DE
Tritanopia (blue-blind)
#007C95
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #515be1;
/* rgb */ color: rgb(81, 91, 225);
/* oklch */ color: oklch(54.2% 0.201 274.3);
Tailwind
colors: {
  custom: {
    50: '#9189eb',
    500: '#515be1',
    950: '#000000',
  },
}
SCSS
$custom: #515be1;
$custom-light: #9189eb;
$custom-dark: #000000;
JSON
{
  "hex": "#515be1",
  "rgb": {
    "r": 81,
    "g": 91,
    "b": 225
  },
  "hsl": {
    "h": 235.833,
    "s": 70.588,
    "l": 60
  },
  "oklch": {
    "l": 0.54223,
    "c": 0.20082,
    "h": 274.3
  },
  "luminance": 0.14668
}

Semantic roles & 50–950 ramp

primary
#515BE1
secondary
#E3DFAB
accent
#E13AED
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #515BE1

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

Preview Lab → · Contrast checker → · Palette generator →

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