#515BC9#515BC9

#515BC9 is a mid, vivid blue. Relative luminance 0.134; OKLCH L 52.4% C 0.169 H 275.0°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#515BC9
RGBrgb(81, 91, 201)
HSLhsl(235, 53%, 55%)
HSVhsv(235, 60%, 79%)
CMYKcmyk(59.7%, 54.7%, 0%, 21.2%)
CIE-LABlab(43.43, 29.22, -58.64)
CIE-LCHlch(43.43, 65.52, 296.49°)
OKLaboklab(52.38% 0.0148 -0.1682)
OKLCHoklch(52.38% 0.169 275)
XYZxyz(17.6736, 13.4472, 56.9112)
Luminance0.1345 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515BC9 #C9BF51
analogous
#5197C9 #515BC9 #8351C9
triadic
#515BC9 #C9515B #5BC951
tetradic
#515BC9 #C95197 #C9BF51 #51C983
square
#515BC9 #C95197 #C9BF51 #51C983
split-complementary
#515BC9 #C98351 #97C951
monochromatic
#262D7A #343EA9 #515BC9 #8087D7 #AEB3E6

Accessibility & contrast

On white

5.69
#515BC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#515BC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515BC9
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515BC9#FFFFFF#000000##FFFFFF
##515BC91.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A6CCD
Deuteranopia (green-blind)
#0062C7
Tritanopia (blue-blind)
#007589
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #515bc9;
/* rgb */ color: rgb(81, 91, 201);
/* oklch */ color: oklch(52.4% 0.169 275.0);
Tailwind
colors: {
  custom: {
    50: '#8d89da',
    500: '#515bc9',
    950: '#000000',
  },
}
SCSS
$custom: #515bc9;
$custom-light: #8d89da;
$custom-dark: #000000;
JSON
{
  "hex": "#515bc9",
  "rgb": {
    "r": 81,
    "g": 91,
    "b": 201
  },
  "hsl": {
    "h": 235,
    "s": 52.632,
    "l": 55.294
  },
  "oklch": {
    "l": 0.52377,
    "c": 0.16885,
    "h": 275
  },
  "luminance": 0.13449
}

Semantic roles & 50–950 ramp

primary
#515BC9
secondary
#D4D0A2
accent
#D04CDC
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #515BC9

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

Preview Lab → · Contrast checker → · Palette generator →

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