#515FD0#515FD0

#515FD0 is a mid, vivid blue. Relative luminance 0.145; OKLCH L 53.6% C 0.173 H 273.7°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#515FD0
RGBrgb(81, 95, 208)
HSLhsl(233, 57%, 57%)
HSVhsv(233, 61%, 82%)
CMYKcmyk(61.1%, 54.3%, 0%, 18.4%)
CIE-LABlab(44.92, 29.07, -60.25)
CIE-LCHlch(44.92, 66.90, 295.76°)
OKLaboklab(53.65% 0.0113 -0.1729)
OKLCHoklch(53.65% 0.173 273.7)
XYZxyz(18.8670, 14.4863, 61.4642)
Luminance0.1449 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515FD0 #D0C251
analogous
#519FD0 #515FD0 #8351D0
triadic
#515FD0 #D0515F #5FD051
tetradic
#515FD0 #D0519F #D0C251 #51D083
square
#515FD0 #D0519F #D0C251 #51D083
split-complementary
#515FD0 #D08351 #9FD051
monochromatic
#232E83 #303FB3 #515FD0 #818BDD #B1B8EA

Accessibility & contrast

On white

5.39
#515FD0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#515FD0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515FD0
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515FD0#FFFFFF#000000##FFFFFF
##515FD01.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C70D4
Deuteranopia (green-blind)
#0065CE
Tritanopia (blue-blind)
#007A8E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #515fd0;
/* rgb */ color: rgb(81, 95, 208);
/* oklch */ color: oklch(53.6% 0.173 273.7);
Tailwind
colors: {
  custom: {
    50: '#8e8cdf',
    500: '#515fd0',
    950: '#000000',
  },
}
SCSS
$custom: #515fd0;
$custom-light: #8e8cdf;
$custom-dark: #000000;
JSON
{
  "hex": "#515fd0",
  "rgb": {
    "r": 81,
    "g": 95,
    "b": 208
  },
  "hsl": {
    "h": 233.386,
    "s": 57.466,
    "l": 56.667
  },
  "oklch": {
    "l": 0.53649,
    "c": 0.17327,
    "h": 273.7
  },
  "luminance": 0.14488
}

Semantic roles & 50–950 ramp

primary
#515FD0
secondary
#D8D3A4
accent
#D047E1
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #515FD0

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

Preview Lab → · Contrast checker → · Palette generator →

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