#515FD7#515FD7

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

Color values

HEX#515FD7
RGBrgb(81, 95, 215)
HSLhsl(234, 63%, 58%)
HSVhsv(234, 62%, 84%)
CMYKcmyk(62.3%, 55.8%, 0%, 15.7%)
CIE-LABlab(45.41, 31.43, -63.46)
CIE-LCHlch(45.41, 70.82, 296.35°)
OKLaboklab(54.17% 0.0115 -0.1824)
OKLCHoklch(54.17% 0.183 273.6)
XYZxyz(19.7472, 14.8384, 66.1003)
Luminance0.1484 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515FD7 #D7C951
analogous
#51A2D7 #515FD7 #8651D7
triadic
#515FD7 #D7515F #5FD751
tetradic
#515FD7 #D751A2 #D7C951 #51D786
square
#515FD7 #D751A2 #D7C951 #51D786
split-complementary
#515FD7 #D78651 #A2D751
monochromatic
#202C8D #2C3BBF #515FD7 #838DE2 #B5BBEE

Accessibility & contrast

On white

5.29
#515FD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#515FD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515FD7
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515FD7#FFFFFF#000000##FFFFFF
##515FD71.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072DB
Deuteranopia (green-blind)
#0066D5
Tritanopia (blue-blind)
#007C92
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #515fd7;
/* rgb */ color: rgb(81, 95, 215);
/* oklch */ color: oklch(54.2% 0.183 273.6);
Tailwind
colors: {
  custom: {
    50: '#8f8ce4',
    500: '#515fd7',
    950: '#000000',
  },
}
SCSS
$custom: #515fd7;
$custom-light: #8f8ce4;
$custom-dark: #000000;
JSON
{
  "hex": "#515fd7",
  "rgb": {
    "r": 81,
    "g": 95,
    "b": 215
  },
  "hsl": {
    "h": 233.731,
    "s": 62.617,
    "l": 58.039
  },
  "oklch": {
    "l": 0.5417,
    "c": 0.18271,
    "h": 273.6
  },
  "luminance": 0.1484
}

Semantic roles & 50–950 ramp

primary
#515FD7
secondary
#DDD7A7
accent
#D542E6
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #515FD7

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

Preview Lab → · Contrast checker → · Palette generator →

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