#515BF4#515BF4

#515BF4 is a mid, highly saturated blue. Relative luminance 0.158; OKLCH L 55.8% C 0.225 H 273.6°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#515BF4
RGBrgb(81, 91, 244)
HSLhsl(236, 88%, 64%)
HSVhsv(236, 67%, 96%)
CMYKcmyk(66.8%, 62.7%, 0%, 4.3%)
CIE-LABlab(46.66, 43.55, -77.82)
CIE-LCHlch(46.66, 89.18, 299.23°)
OKLaboklab(55.78% 0.0142 -0.2246)
OKLCHoklch(55.78% 0.225 273.6)
XYZxyz(23.4581, 15.7610, 87.3764)
Luminance0.1576 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515BF4 #F4EA51
analogous
#51ACF4 #515BF4 #9851F4
triadic
#515BF4 #F4515B #5BF451
tetradic
#515BF4 #F451AC #F4EA51 #51F498
square
#515BF4 #F451AC #F4EA51 #51F498
split-complementary
#515BF4 #F49851 #ACF451
monochromatic
#0C17BF #1725F0 #515BF4 #8B91F8 #C4C8FB

Accessibility & contrast

On white

5.06
#515BF4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#515BF4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515BF4
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515BF4#FFFFFF#000000##FFFFFF
##515BF41.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076F9
Deuteranopia (green-blind)
#0067F1
Tritanopia (blue-blind)
#00829F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #515bf4;
/* rgb */ color: rgb(81, 91, 244);
/* oklch */ color: oklch(55.8% 0.225 273.6);
Tailwind
colors: {
  custom: {
    50: '#9489f9',
    500: '#515bf4',
    950: '#000000',
  },
}
SCSS
$custom: #515bf4;
$custom-light: #9489f9;
$custom-dark: #000000;
JSON
{
  "hex": "#515bf4",
  "rgb": {
    "r": 81,
    "g": 91,
    "b": 244
  },
  "hsl": {
    "h": 236.319,
    "s": 88.108,
    "l": 63.725
  },
  "oklch": {
    "l": 0.55779,
    "c": 0.22501,
    "h": 273.6
  },
  "luminance": 0.15763
}

Semantic roles & 50–950 ramp

primary
#515BF4
secondary
#EDEAB4
accent
#D701E5
background
#FAF8FF
surface
#F3F0FF
border
#CDCBD7
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #515BF4

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

Preview Lab → · Contrast checker → · Palette generator →

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