#515BDF#515BDF

#515BDF is a mid, vivid blue. Relative luminance 0.146; OKLCH L 54.1% C 0.198 H 274.4°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#515BDF
RGBrgb(81, 91, 223)
HSLhsl(236, 69%, 60%)
HSVhsv(236, 64%, 87%)
CMYKcmyk(63.7%, 59.2%, 0%, 12.5%)
CIE-LABlab(45.02, 36.58, -68.65)
CIE-LCHlch(45.02, 77.79, 298.05°)
OKLaboklab(54.06% 0.0151 -0.1976)
OKLCHoklch(54.06% 0.198 274.4)
XYZxyz(20.4493, 14.5575, 71.5300)
Luminance0.1456 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515BDF #DFD551
analogous
#51A2DF #515BDF #8E51DF
triadic
#515BDF #DF515B #5BDF51
tetradic
#515BDF #DF51A2 #DFD551 #51DF8E
square
#515BDF #DF51A2 #DFD551 #51DF8E
split-complementary
#515BDF #DF8E51 #A2DF51
monochromatic
#1C2599 #2632CD #515BDF #858CE9 #B8BCF2

Accessibility & contrast

On white

5.37
#515BDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#515BDF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515BDF
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515BDF#FFFFFF#000000##FFFFFF
##515BDF1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E3
Deuteranopia (green-blind)
#0064DC
Tritanopia (blue-blind)
#007C94
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #515bdf;
/* rgb */ color: rgb(81, 91, 223);
/* oklch */ color: oklch(54.1% 0.198 274.4);
Tailwind
colors: {
  custom: {
    50: '#9189ea',
    500: '#515bdf',
    950: '#000000',
  },
}
SCSS
$custom: #515bdf;
$custom-light: #9189ea;
$custom-dark: #000000;
JSON
{
  "hex": "#515bdf",
  "rgb": {
    "r": 81,
    "g": 91,
    "b": 223
  },
  "hsl": {
    "h": 235.775,
    "s": 68.932,
    "l": 59.608
  },
  "oklch": {
    "l": 0.54064,
    "c": 0.19821,
    "h": 274.4
  },
  "luminance": 0.14559
}

Semantic roles & 50–950 ramp

primary
#515BDF
secondary
#E1DEAA
accent
#DF3CEC
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #515BDF

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

Preview Lab → · Contrast checker → · Palette generator →

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