#515FE4#515FE4

#515FE4 is a mid, vivid blue. Relative luminance 0.155; OKLCH L 55.2% C 0.200 H 273.3°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#515FE4
RGBrgb(81, 95, 228)
HSLhsl(234, 73%, 61%)
HSVhsv(234, 64%, 89%)
CMYKcmyk(64.5%, 58.3%, 0%, 10.6%)
CIE-LABlab(46.36, 35.80, -69.31)
CIE-LCHlch(46.36, 78.02, 297.32°)
OKLaboklab(55.17% 0.0117 -0.1996)
OKLCHoklch(55.17% 0.2 273.3)
XYZxyz(21.4845, 15.5333, 75.2498)
Luminance0.1553 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515FE4 #E4D651
analogous
#51A8E4 #515FE4 #8D51E4
triadic
#515FE4 #E4515F #5FE451
tetradic
#515FE4 #E451A8 #E4D651 #51E48D
square
#515FE4 #E451A8 #E4D651 #51E48D
split-complementary
#515FE4 #E48D51 #A8E451
monochromatic
#1926A2 #2133D7 #515FE4 #8690EC #BBC0F4

Accessibility & contrast

On white

5.11
#515FE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#515FE4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515FE4
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515FE4#FFFFFF#000000##FFFFFF
##515FE41.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075E8
Deuteranopia (green-blind)
#0067E1
Tritanopia (blue-blind)
#008098
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #515fe4;
/* rgb */ color: rgb(81, 95, 228);
/* oklch */ color: oklch(55.2% 0.200 273.3);
Tailwind
colors: {
  custom: {
    50: '#918ced',
    500: '#515fe4',
    950: '#000000',
  },
}
SCSS
$custom: #515fe4;
$custom-light: #918ced;
$custom-dark: #000000;
JSON
{
  "hex": "#515fe4",
  "rgb": {
    "r": 81,
    "g": 95,
    "b": 228
  },
  "hsl": {
    "h": 234.286,
    "s": 73.134,
    "l": 60.588
  },
  "oklch": {
    "l": 0.5517,
    "c": 0.1999,
    "h": 273.3
  },
  "luminance": 0.15535
}

Semantic roles & 50–950 ramp

primary
#515FE4
secondary
#E4DFAC
accent
#C210D5
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #515FE4

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

Preview Lab → · Contrast checker → · Palette generator →

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