#515FD8#515FD8

#515FD8 is a mid, vivid blue. Relative luminance 0.149; OKLCH L 54.2% C 0.184 H 273.6°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#515FD8
RGBrgb(81, 95, 216)
HSLhsl(234, 63%, 58%)
HSVhsv(234, 63%, 85%)
CMYKcmyk(62.5%, 56%, 0%, 15.3%)
CIE-LABlab(45.48, 31.77, -63.92)
CIE-LCHlch(45.48, 71.38, 296.43°)
OKLaboklab(54.25% 0.0115 -0.1837)
OKLCHoklch(54.25% 0.184 273.6)
XYZxyz(19.8761, 14.8900, 66.7790)
Luminance0.1489 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515FD8 #D8CA51
analogous
#51A2D8 #515FD8 #8651D8
triadic
#515FD8 #D8515F #5FD851
tetradic
#515FD8 #D851A2 #D8CA51 #51D886
square
#515FD8 #D851A2 #D8CA51 #51D886
split-complementary
#515FD8 #D88651 #A2D851
monochromatic
#202B8F #2B3BC1 #515FD8 #838DE3 #B5BBEE

Accessibility & contrast

On white

5.28
#515FD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#515FD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515FD8
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515FD8#FFFFFF#000000##FFFFFF
##515FD81.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072DC
Deuteranopia (green-blind)
#0066D6
Tritanopia (blue-blind)
#007C92
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #515fd8;
/* rgb */ color: rgb(81, 95, 216);
/* oklch */ color: oklch(54.2% 0.184 273.6);
Tailwind
colors: {
  custom: {
    50: '#8f8ce5',
    500: '#515fd8',
    950: '#000000',
  },
}
SCSS
$custom: #515fd8;
$custom-light: #8f8ce5;
$custom-dark: #000000;
JSON
{
  "hex": "#515fd8",
  "rgb": {
    "r": 81,
    "g": 95,
    "b": 216
  },
  "hsl": {
    "h": 233.778,
    "s": 63.38,
    "l": 58.235
  },
  "oklch": {
    "l": 0.54245,
    "c": 0.18405,
    "h": 273.6
  },
  "luminance": 0.14892
}

Semantic roles & 50–950 ramp

primary
#515FD8
secondary
#DDD8A8
accent
#D541E6
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #515FD8

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

Preview Lab → · Contrast checker → · Palette generator →

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