#515FD2#515FD2

#515FD2 is a mid, vivid blue. Relative luminance 0.146; OKLCH L 53.8% C 0.176 H 273.7°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#515FD2
RGBrgb(81, 95, 210)
HSLhsl(233, 59%, 57%)
HSVhsv(233, 61%, 82%)
CMYKcmyk(61.4%, 54.8%, 0%, 17.6%)
CIE-LABlab(45.06, 29.75, -61.17)
CIE-LCHlch(45.06, 68.02, 295.93°)
OKLaboklab(53.8% 0.0113 -0.1756)
OKLCHoklch(53.8% 0.176 273.7)
XYZxyz(19.1146, 14.5853, 62.7682)
Luminance0.1459 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515FD2 #D2C451
analogous
#51A0D2 #515FD2 #8351D2
triadic
#515FD2 #D2515F #5FD251
tetradic
#515FD2 #D251A0 #D2C451 #51D283
square
#515FD2 #D251A0 #D2C451 #51D283
split-complementary
#515FD2 #D28351 #A0D251
monochromatic
#232D86 #2F3EB7 #515FD2 #828CDF #B2B8EB

Accessibility & contrast

On white

5.36
#515FD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#515FD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515FD2
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515FD2#FFFFFF#000000##FFFFFF
##515FD21.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0370D6
Deuteranopia (green-blind)
#0065D0
Tritanopia (blue-blind)
#007A8F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #515fd2;
/* rgb */ color: rgb(81, 95, 210);
/* oklch */ color: oklch(53.8% 0.176 273.7);
Tailwind
colors: {
  custom: {
    50: '#8e8ce1',
    500: '#515fd2',
    950: '#000000',
  },
}
SCSS
$custom: #515fd2;
$custom-light: #8e8ce1;
$custom-dark: #000000;
JSON
{
  "hex": "#515fd2",
  "rgb": {
    "r": 81,
    "g": 95,
    "b": 210
  },
  "hsl": {
    "h": 233.488,
    "s": 58.904,
    "l": 57.059
  },
  "oklch": {
    "l": 0.53796,
    "c": 0.17599,
    "h": 273.7
  },
  "luminance": 0.14587
}

Semantic roles & 50–950 ramp

primary
#515FD2
secondary
#DAD4A5
accent
#D146E2
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #515FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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