#515EF4#515EF4

#515EF4 is a mid, highly saturated blue. Relative luminance 0.163; OKLCH L 56.3% C 0.222 H 273.1°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#515EF4
RGBrgb(81, 94, 244)
HSLhsl(235, 88%, 64%)
HSVhsv(235, 67%, 96%)
CMYKcmyk(66.8%, 61.5%, 0%, 4.3%)
CIE-LABlab(47.35, 41.75, -76.70)
CIE-LCHlch(47.35, 87.33, 298.56°)
OKLaboklab(56.28% 0.0121 -0.2213)
OKLCHoklch(56.28% 0.222 273.1)
XYZxyz(23.7197, 16.2842, 87.4636)
Luminance0.1629 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515EF4 #F4E751
analogous
#51AFF4 #515EF4 #9551F4
triadic
#515EF4 #F4515E #5EF451
tetradic
#515EF4 #F451AF #F4E751 #51F495
square
#515EF4 #F451AF #F4E751 #51F495
split-complementary
#515EF4 #F49551 #AFF451
monochromatic
#0C1ABF #1729F0 #515EF4 #8B93F8 #C4C9FB

Accessibility & contrast

On white

4.93
#515EF4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#515EF4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515EF4
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515EF4#FFFFFF#000000##FFFFFF
##515EF41.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078F9
Deuteranopia (green-blind)
#0069F1
Tritanopia (blue-blind)
#0084A0
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #515ef4;
/* rgb */ color: rgb(81, 94, 244);
/* oklch */ color: oklch(56.3% 0.222 273.1);
Tailwind
colors: {
  custom: {
    50: '#948cf9',
    500: '#515ef4',
    950: '#000000',
  },
}
SCSS
$custom: #515ef4;
$custom-light: #948cf9;
$custom-dark: #000000;
JSON
{
  "hex": "#515ef4",
  "rgb": {
    "r": 81,
    "g": 94,
    "b": 244
  },
  "hsl": {
    "h": 235.215,
    "s": 88.108,
    "l": 63.725
  },
  "oklch": {
    "l": 0.56283,
    "c": 0.22159,
    "h": 273.1
  },
  "luminance": 0.16286
}

Semantic roles & 50–950 ramp

primary
#515EF4
secondary
#EDE9B4
accent
#D301E5
background
#FAF8FF
surface
#F3F0FF
border
#CDCBD7
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #515EF4

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

Preview Lab → · Contrast checker → · Palette generator →

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