#515DD7#515DD7

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

Color values

HEX#515DD7
RGBrgb(81, 93, 215)
HSLhsl(235, 63%, 58%)
HSVhsv(235, 62%, 84%)
CMYKcmyk(62.3%, 56.7%, 0%, 15.7%)
CIE-LABlab(44.92, 32.67, -64.27)
CIE-LCHlch(44.92, 72.09, 296.95°)
OKLaboklab(53.8% 0.0133 -0.1847)
OKLCHoklch(53.8% 0.185 274.1)
XYZxyz(19.5694, 14.4827, 66.0410)
Luminance0.1448 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515DD7 #D7CB51
analogous
#51A0D7 #515DD7 #8851D7
triadic
#515DD7 #D7515D #5DD751
tetradic
#515DD7 #D751A0 #D7CB51 #51D788
square
#515DD7 #D751A0 #D7CB51 #51D788
split-complementary
#515DD7 #D78851 #A0D751
monochromatic
#202A8D #2C39BF #515DD7 #838BE2 #B5BAEE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##515DD7#FFFFFF#000000##FFFFFF
##515DD71.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)
#0070DB
Deuteranopia (green-blind)
#0065D5
Tritanopia (blue-blind)
#007A91
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #515dd7;
/* rgb */ color: rgb(81, 93, 215);
/* oklch */ color: oklch(53.8% 0.185 274.1);
Tailwind
colors: {
  custom: {
    50: '#8f8ae4',
    500: '#515dd7',
    950: '#000000',
  },
}
SCSS
$custom: #515dd7;
$custom-light: #8f8ae4;
$custom-dark: #000000;
JSON
{
  "hex": "#515dd7",
  "rgb": {
    "r": 81,
    "g": 93,
    "b": 215
  },
  "hsl": {
    "h": 234.627,
    "s": 62.617,
    "l": 58.039
  },
  "oklch": {
    "l": 0.53801,
    "c": 0.18521,
    "h": 274.1
  },
  "luminance": 0.14484
}

Semantic roles & 50–950 ramp

primary
#515DD7
secondary
#DDD8A7
accent
#D742E6
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #515DD7

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

Preview Lab → · Contrast checker → · Palette generator →

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