#515CE6#515CE6

#515CE6 is a mid, highly saturated blue. Relative luminance 0.151; OKLCH L 54.8% C 0.206 H 273.9°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#515CE6
RGBrgb(81, 92, 230)
HSLhsl(236, 75%, 61%)
HSVhsv(236, 65%, 90%)
CMYKcmyk(64.8%, 60%, 0%, 9.8%)
CIE-LABlab(45.79, 38.30, -71.37)
CIE-LCHlch(45.79, 81.00, 298.22°)
OKLaboklab(54.8% 0.0141 -0.2056)
OKLCHoklch(54.8% 0.206 273.9)
XYZxyz(21.4987, 15.1149, 76.6321)
Luminance0.1512 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515CE6 #E6DB51
analogous
#51A7E6 #515CE6 #9051E6
triadic
#515CE6 #E6515C #5CE651
tetradic
#515CE6 #E651A7 #E6DB51 #51E690
square
#515CE6 #E651A7 #E6DB51 #51E690
split-complementary
#515CE6 #E69051 #A7E651
monochromatic
#1822A5 #1F2DDA #515CE6 #878EEE #BCC0F5

Accessibility & contrast

On white

5.22
#515CE6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#515CE6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515CE6
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515CE6#FFFFFF#000000##FFFFFF
##515CE61.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073EB
Deuteranopia (green-blind)
#0066E3
Tritanopia (blue-blind)
#007E98
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #515ce6;
/* rgb */ color: rgb(81, 92, 230);
/* oklch */ color: oklch(54.8% 0.206 273.9);
Tailwind
colors: {
  custom: {
    50: '#928aef',
    500: '#515ce6',
    950: '#000000',
  },
}
SCSS
$custom: #515ce6;
$custom-light: #928aef;
$custom-dark: #000000;
JSON
{
  "hex": "#515ce6",
  "rgb": {
    "r": 81,
    "g": 92,
    "b": 230
  },
  "hsl": {
    "h": 235.57,
    "s": 74.874,
    "l": 60.98
  },
  "oklch": {
    "l": 0.54799,
    "c": 0.20609,
    "h": 273.9
  },
  "luminance": 0.15117
}

Semantic roles & 50–950 ramp

primary
#515CE6
secondary
#E5E1AD
accent
#C80ED7
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B17
muted
#7E7C85

Preview Lab

Preview with #515CE6

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

Preview Lab → · Contrast checker → · Palette generator →

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