#515BBF#515BBF

#515BBF is a mid, vivid blue. Relative luminance 0.130; OKLCH L 51.7% C 0.155 H 275.3°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#515BBF
RGBrgb(81, 91, 191)
HSLhsl(235, 46%, 53%)
HSVhsv(235, 58%, 75%)
CMYKcmyk(57.6%, 52.4%, 0%, 25.1%)
CIE-LABlab(42.75, 25.89, -53.94)
CIE-LCHlch(42.75, 59.83, 295.64°)
OKLaboklab(51.65% 0.0143 -0.1544)
OKLCHoklch(51.65% 0.155 275.3)
XYZxyz(16.5354, 12.9919, 50.9165)
Luminance0.1299 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515BBF #BFB551
analogous
#5192BF #515BBF #7E51BF
triadic
#515BBF #BF515B #5BBF51
tetradic
#515BBF #BF5192 #BFB551 #51BF7E
square
#515BBF #BF5192 #BFB551 #51BF7E
split-complementary
#515BBF #BF7E51 #92BF51
monochromatic
#282F6D #39429A #515BBF #7E85CF #AAAFE0

Accessibility & contrast

On white

5.84
#515BBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#515BBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515BBF
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515BBF#FFFFFF#000000##FFFFFF
##515BBF1.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#226AC3
Deuteranopia (green-blind)
#0560BD
Tritanopia (blue-blind)
#077284
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #515bbf;
/* rgb */ color: rgb(81, 91, 191);
/* oklch */ color: oklch(51.7% 0.155 275.3);
Tailwind
colors: {
  custom: {
    50: '#8b89d3',
    500: '#515bbf',
    950: '#000000',
  },
}
SCSS
$custom: #515bbf;
$custom-light: #8b89d3;
$custom-dark: #000000;
JSON
{
  "hex": "#515bbf",
  "rgb": {
    "r": 81,
    "g": 91,
    "b": 191
  },
  "hsl": {
    "h": 234.545,
    "s": 46.218,
    "l": 53.333
  },
  "oklch": {
    "l": 0.51653,
    "c": 0.15504,
    "h": 275.3
  },
  "luminance": 0.12993
}

Semantic roles & 50–950 ramp

primary
#515BBF
secondary
#CEC99E
accent
#CA52D6
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0B14
muted
#7E7C83

Preview Lab

Preview with #515BBF

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

Preview Lab → · Contrast checker → · Palette generator →

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