#515DC9#515DC9

#515DC9 is a mid, vivid blue. Relative luminance 0.138; OKLCH L 52.8% C 0.166 H 274.4°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#515DC9
RGBrgb(81, 93, 201)
HSLhsl(234, 53%, 55%)
HSVhsv(234, 60%, 79%)
CMYKcmyk(59.7%, 53.7%, 0%, 21.2%)
CIE-LABlab(43.94, 27.97, -57.82)
CIE-LCHlch(43.94, 64.23, 295.82°)
OKLaboklab(52.76% 0.0129 -0.1658)
OKLCHoklch(52.76% 0.166 274.4)
XYZxyz(17.8469, 13.7937, 56.9690)
Luminance0.1379 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515DC9 #C9BD51
analogous
#5199C9 #515DC9 #8151C9
triadic
#515DC9 #C9515D #5DC951
tetradic
#515DC9 #C95199 #C9BD51 #51C981
square
#515DC9 #C95199 #C9BD51 #51C981
split-complementary
#515DC9 #C98151 #99C951
monochromatic
#262E7A #3440A9 #515DC9 #8088D7 #AEB4E6

Accessibility & contrast

On white

5.59
#515DC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#515DC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515DC9
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515DC9#FFFFFF#000000##FFFFFF
##515DC91.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#166DCD
Deuteranopia (green-blind)
#0063C7
Tritanopia (blue-blind)
#00768A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #515dc9;
/* rgb */ color: rgb(81, 93, 201);
/* oklch */ color: oklch(52.8% 0.166 274.4);
Tailwind
colors: {
  custom: {
    50: '#8d8ada',
    500: '#515dc9',
    950: '#000000',
  },
}
SCSS
$custom: #515dc9;
$custom-light: #8d8ada;
$custom-dark: #000000;
JSON
{
  "hex": "#515dc9",
  "rgb": {
    "r": 81,
    "g": 93,
    "b": 201
  },
  "hsl": {
    "h": 234,
    "s": 52.632,
    "l": 55.294
  },
  "oklch": {
    "l": 0.52756,
    "c": 0.16627,
    "h": 274.4
  },
  "luminance": 0.13795
}

Semantic roles & 50–950 ramp

primary
#515DC9
secondary
#D4CFA2
accent
#CE4CDC
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #515DC9

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

Preview Lab → · Contrast checker → · Palette generator →

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