#515DDC#515DDC

#515DDC is a mid, vivid blue. Relative luminance 0.147; OKLCH L 54.2% C 0.192 H 274.0°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#515DDC
RGBrgb(81, 93, 220)
HSLhsl(235, 67%, 59%)
HSVhsv(235, 63%, 86%)
CMYKcmyk(63.2%, 57.7%, 0%, 13.7%)
CIE-LABlab(45.28, 34.35, -66.53)
CIE-LCHlch(45.28, 74.87, 297.31°)
OKLaboklab(54.19% 0.0134 -0.1914)
OKLCHoklch(54.19% 0.192 274)
XYZxyz(20.2217, 14.7436, 69.4764)
Luminance0.1474 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515DDC #DCD051
analogous
#51A3DC #515DDC #8B51DC
triadic
#515DDC #DC515D #5DDC51
tetradic
#515DDC #DC51A3 #DCD051 #51DC8B
square
#515DDC #DC51A3 #DCD051 #51DC8B
split-complementary
#515DDC #DC8B51 #A3DC51
monochromatic
#1E2895 #2836C8 #515DDC #848CE6 #B7BCF0

Accessibility & contrast

On white

5.32
#515DDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#515DDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515DDC
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515DDC#FFFFFF#000000##FFFFFF
##515DDC1.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E0
Deuteranopia (green-blind)
#0065D9
Tritanopia (blue-blind)
#007C93
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #515ddc;
/* rgb */ color: rgb(81, 93, 220);
/* oklch */ color: oklch(54.2% 0.192 274.0);
Tailwind
colors: {
  custom: {
    50: '#908be8',
    500: '#515ddc',
    950: '#000000',
  },
}
SCSS
$custom: #515ddc;
$custom-light: #908be8;
$custom-dark: #000000;
JSON
{
  "hex": "#515ddc",
  "rgb": {
    "r": 81,
    "g": 93,
    "b": 220
  },
  "hsl": {
    "h": 234.82,
    "s": 66.507,
    "l": 59.02
  },
  "oklch": {
    "l": 0.54186,
    "c": 0.19185,
    "h": 274
  },
  "luminance": 0.14745
}

Semantic roles & 50–950 ramp

primary
#515DDC
secondary
#E0DBA9
accent
#DB3EE9
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #515DDC

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

Preview Lab → · Contrast checker → · Palette generator →

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