#515FD3#515FD3

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

Color values

HEX#515FD3
RGBrgb(81, 95, 211)
HSLhsl(234, 60%, 57%)
HSVhsv(234, 62%, 83%)
CMYKcmyk(61.6%, 55%, 0%, 17.3%)
CIE-LABlab(45.13, 30.08, -61.63)
CIE-LCHlch(45.13, 68.58, 296.02°)
OKLaboklab(53.87% 0.0114 -0.177)
OKLCHoklch(53.87% 0.177 273.7)
XYZxyz(19.2395, 14.6353, 63.4264)
Luminance0.1464 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515FD3 #D3C551
analogous
#51A0D3 #515FD3 #8451D3
triadic
#515FD3 #D3515F #5FD351
tetradic
#515FD3 #D351A0 #D3C551 #51D384
square
#515FD3 #D351A0 #D3C551 #51D384
split-complementary
#515FD3 #D38451 #A0D351
monochromatic
#222D87 #2F3DB8 #515FD3 #828CDF #B3B9EC

Accessibility & contrast

On white

5.35
#515FD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#515FD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515FD3
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515FD3#FFFFFF#000000##FFFFFF
##515FD31.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071D7
Deuteranopia (green-blind)
#0065D1
Tritanopia (blue-blind)
#007A90
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #515fd3;
/* rgb */ color: rgb(81, 95, 211);
/* oklch */ color: oklch(53.9% 0.177 273.7);
Tailwind
colors: {
  custom: {
    50: '#8e8ce1',
    500: '#515fd3',
    950: '#000000',
  },
}
SCSS
$custom: #515fd3;
$custom-light: #8e8ce1;
$custom-dark: #000000;
JSON
{
  "hex": "#515fd3",
  "rgb": {
    "r": 81,
    "g": 95,
    "b": 211
  },
  "hsl": {
    "h": 233.538,
    "s": 59.633,
    "l": 57.255
  },
  "oklch": {
    "l": 0.5387,
    "c": 0.17734,
    "h": 273.7
  },
  "luminance": 0.14637
}

Semantic roles & 50–950 ramp

primary
#515FD3
secondary
#DAD5A6
accent
#D245E3
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #515FD3

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

Preview Lab → · Contrast checker → · Palette generator →

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