#515CE4#515CE4

#515CE4 is a mid, highly saturated blue. Relative luminance 0.150; OKLCH L 54.6% C 0.204 H 274.0°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#515CE4
RGBrgb(81, 92, 228)
HSLhsl(236, 73%, 61%)
HSVhsv(236, 64%, 89%)
CMYKcmyk(64.5%, 59.6%, 0%, 10.6%)
CIE-LABlab(45.64, 37.64, -70.48)
CIE-LCHlch(45.64, 79.90, 298.10°)
OKLaboklab(54.64% 0.0141 -0.203)
OKLCHoklch(54.64% 0.204 274)
XYZxyz(21.2194, 15.0032, 75.1614)
Luminance0.1500 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515CE4 #E4D951
analogous
#51A5E4 #515CE4 #8F51E4
triadic
#515CE4 #E4515C #5CE451
tetradic
#515CE4 #E451A5 #E4D951 #51E48F
square
#515CE4 #E451A5 #E4D951 #51E48F
split-complementary
#515CE4 #E48F51 #A5E451
monochromatic
#1923A2 #212FD7 #515CE4 #868EEC #BBBFF4

Accessibility & contrast

On white

5.25
#515CE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#515CE4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515CE4
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515CE4#FFFFFF#000000##FFFFFF
##515CE41.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E8
Deuteranopia (green-blind)
#0066E1
Tritanopia (blue-blind)
#007E97
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #515ce4;
/* rgb */ color: rgb(81, 92, 228);
/* oklch */ color: oklch(54.6% 0.204 274.0);
Tailwind
colors: {
  custom: {
    50: '#918aed',
    500: '#515ce4',
    950: '#000000',
  },
}
SCSS
$custom: #515ce4;
$custom-light: #918aed;
$custom-dark: #000000;
JSON
{
  "hex": "#515ce4",
  "rgb": {
    "r": 81,
    "g": 92,
    "b": 228
  },
  "hsl": {
    "h": 235.51,
    "s": 73.134,
    "l": 60.588
  },
  "oklch": {
    "l": 0.54639,
    "c": 0.20351,
    "h": 274
  },
  "luminance": 0.15005
}

Semantic roles & 50–950 ramp

primary
#515CE4
secondary
#E4E0AC
accent
#C610D5
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #515CE4

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

Preview Lab → · Contrast checker → · Palette generator →

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