#515DD2#515DD2

#515DD2 is a mid, vivid blue. Relative luminance 0.142; OKLCH L 53.4% C 0.179 H 274.2°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#515DD2
RGBrgb(81, 93, 210)
HSLhsl(234, 59%, 57%)
HSVhsv(234, 61%, 82%)
CMYKcmyk(61.4%, 55.7%, 0%, 17.6%)
CIE-LABlab(44.56, 30.99, -61.99)
CIE-LCHlch(44.56, 69.30, 296.56°)
OKLaboklab(53.42% 0.0132 -0.178)
OKLCHoklch(53.42% 0.179 274.2)
XYZxyz(18.9367, 14.2296, 62.7089)
Luminance0.1423 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515DD2 #D2C651
analogous
#519DD2 #515DD2 #8651D2
triadic
#515DD2 #D2515D #5DD251
tetradic
#515DD2 #D2519D #D2C651 #51D286
square
#515DD2 #D2519D #D2C651 #51D286
split-complementary
#515DD2 #D28651 #9DD251
monochromatic
#232C86 #2F3CB7 #515DD2 #828ADF #B2B8EB

Accessibility & contrast

On white

5.46
#515DD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#515DD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515DD2
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515DD2#FFFFFF#000000##FFFFFF
##515DD21.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FD6
Deuteranopia (green-blind)
#0064D0
Tritanopia (blue-blind)
#00798E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #515dd2;
/* rgb */ color: rgb(81, 93, 210);
/* oklch */ color: oklch(53.4% 0.179 274.2);
Tailwind
colors: {
  custom: {
    50: '#8e8ae1',
    500: '#515dd2',
    950: '#000000',
  },
}
SCSS
$custom: #515dd2;
$custom-light: #8e8ae1;
$custom-dark: #000000;
JSON
{
  "hex": "#515dd2",
  "rgb": {
    "r": 81,
    "g": 93,
    "b": 210
  },
  "hsl": {
    "h": 234.419,
    "s": 58.904,
    "l": 57.059
  },
  "oklch": {
    "l": 0.53422,
    "c": 0.17851,
    "h": 274.2
  },
  "luminance": 0.14231
}

Semantic roles & 50–950 ramp

primary
#515DD2
secondary
#DAD5A5
accent
#D446E2
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #515DD2

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

Preview Lab → · Contrast checker → · Palette generator →

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