#515BD6#515BD6

#515BD6 is a mid, vivid blue. Relative luminance 0.141; OKLCH L 53.4% C 0.186 H 274.7°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#515BD6
RGBrgb(81, 91, 214)
HSLhsl(235, 62%, 58%)
HSVhsv(235, 62%, 84%)
CMYKcmyk(62.1%, 57.5%, 0%, 16.1%)
CIE-LABlab(44.35, 33.57, -64.61)
CIE-LCHlch(44.35, 72.81, 297.46°)
OKLaboklab(53.36% 0.0151 -0.1858)
OKLCHoklch(53.36% 0.186 274.7)
XYZxyz(19.2680, 14.0850, 65.3086)
Luminance0.1409 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515BD6 #D6CC51
analogous
#519DD6 #515BD6 #8A51D6
triadic
#515BD6 #D6515B #5BD651
tetradic
#515BD6 #D6519D #D6CC51 #51D68A
square
#515BD6 #D6519D #D6CC51 #51D68A
split-complementary
#515BD6 #D68A51 #9DD651
monochromatic
#21298C #2D37BD #515BD6 #838AE2 #B4B8ED

Accessibility & contrast

On white

5.50
#515BD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#515BD6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515BD6
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515BD6#FFFFFF#000000##FFFFFF
##515BD61.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDA
Deuteranopia (green-blind)
#0063D4
Tritanopia (blue-blind)
#007990
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #515bd6;
/* rgb */ color: rgb(81, 91, 214);
/* oklch */ color: oklch(53.4% 0.186 274.7);
Tailwind
colors: {
  custom: {
    50: '#8f89e3',
    500: '#515bd6',
    950: '#000000',
  },
}
SCSS
$custom: #515bd6;
$custom-light: #8f89e3;
$custom-dark: #000000;
JSON
{
  "hex": "#515bd6",
  "rgb": {
    "r": 81,
    "g": 91,
    "b": 214
  },
  "hsl": {
    "h": 235.489,
    "s": 61.86,
    "l": 57.843
  },
  "oklch": {
    "l": 0.5336,
    "c": 0.18637,
    "h": 274.7
  },
  "luminance": 0.14087
}

Semantic roles & 50–950 ramp

primary
#515BD6
secondary
#DCD8A7
accent
#D943E5
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #515BD6

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

Preview Lab → · Contrast checker → · Palette generator →

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