#515CE2#515CE2

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

Color values

HEX#515CE2
RGBrgb(81, 92, 226)
HSLhsl(235, 71%, 60%)
HSVhsv(235, 64%, 89%)
CMYKcmyk(64.2%, 59.3%, 0%, 11.4%)
CIE-LABlab(45.49, 36.97, -69.60)
CIE-LCHlch(45.49, 78.81, 297.98°)
OKLaboklab(54.48% 0.0142 -0.2004)
OKLCHoklch(54.48% 0.201 274)
XYZxyz(20.9434, 14.8928, 73.7077)
Luminance0.1489 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515CE2 #E2D751
analogous
#51A5E2 #515CE2 #8E51E2
triadic
#515CE2 #E2515C #5CE251
tetradic
#515CE2 #E251A5 #E2D751 #51E28E
square
#515CE2 #E251A5 #E2D751 #51E28E
split-complementary
#515CE2 #E28E51 #A5E251
monochromatic
#1A249E #2330D3 #515CE2 #858DEB #BABEF3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##515CE2#FFFFFF#000000##FFFFFF
##515CE21.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)
#0072E6
Deuteranopia (green-blind)
#0065DF
Tritanopia (blue-blind)
#007D96
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #515ce2;
/* rgb */ color: rgb(81, 92, 226);
/* oklch */ color: oklch(54.5% 0.201 274.0);
Tailwind
colors: {
  custom: {
    50: '#918aec',
    500: '#515ce2',
    950: '#000000',
  },
}
SCSS
$custom: #515ce2;
$custom-light: #918aec;
$custom-dark: #000000;
JSON
{
  "hex": "#515ce2",
  "rgb": {
    "r": 81,
    "g": 92,
    "b": 226
  },
  "hsl": {
    "h": 235.448,
    "s": 71.429,
    "l": 60.196
  },
  "oklch": {
    "l": 0.54479,
    "c": 0.20091,
    "h": 274
  },
  "luminance": 0.14895
}

Semantic roles & 50–950 ramp

primary
#515CE2
secondary
#E3DFAC
accent
#C512D3
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #515CE2

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

Preview Lab → · Contrast checker → · Palette generator →

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