#515FDC#515FDC

#515FDC is a mid, vivid blue. Relative luminance 0.151; OKLCH L 54.5% C 0.189 H 273.5°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#515FDC
RGBrgb(81, 95, 220)
HSLhsl(234, 67%, 59%)
HSVhsv(234, 63%, 86%)
CMYKcmyk(63.2%, 56.8%, 0%, 13.7%)
CIE-LABlab(45.77, 33.11, -65.73)
CIE-LCHlch(45.77, 73.60, 296.74°)
OKLaboklab(54.55% 0.0116 -0.189)
OKLCHoklch(54.55% 0.189 273.5)
XYZxyz(20.3995, 15.0993, 69.5357)
Luminance0.1510 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515FDC #DCCE51
analogous
#51A5DC #515FDC #8951DC
triadic
#515FDC #DC515F #5FDC51
tetradic
#515FDC #DC51A5 #DCCE51 #51DC89
square
#515FDC #DC51A5 #DCCE51 #51DC89
split-complementary
#515FDC #DC8951 #A5DC51
monochromatic
#1E2A95 #2838C8 #515FDC #848EE6 #B7BDF0

Accessibility & contrast

On white

5.22
#515FDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#515FDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515FDC
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515FDC#FFFFFF#000000##FFFFFF
##515FDC1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E0
Deuteranopia (green-blind)
#0066D9
Tritanopia (blue-blind)
#007D94
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #515fdc;
/* rgb */ color: rgb(81, 95, 220);
/* oklch */ color: oklch(54.5% 0.189 273.5);
Tailwind
colors: {
  custom: {
    50: '#908ce8',
    500: '#515fdc',
    950: '#000000',
  },
}
SCSS
$custom: #515fdc;
$custom-light: #908ce8;
$custom-dark: #000000;
JSON
{
  "hex": "#515fdc",
  "rgb": {
    "r": 81,
    "g": 95,
    "b": 220
  },
  "hsl": {
    "h": 233.957,
    "s": 66.507,
    "l": 59.02
  },
  "oklch": {
    "l": 0.5455,
    "c": 0.18938,
    "h": 273.5
  },
  "luminance": 0.15101
}

Semantic roles & 50–950 ramp

primary
#515FDC
secondary
#E0DAA9
accent
#D83EE9
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #515FDC

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

Preview Lab → · Contrast checker → · Palette generator →

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