#515FC9#515FC9

#515FC9 is a mid, vivid blue. Relative luminance 0.142; OKLCH L 53.1% C 0.164 H 273.8°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#515FC9
RGBrgb(81, 95, 201)
HSLhsl(233, 53%, 55%)
HSVhsv(233, 60%, 79%)
CMYKcmyk(59.7%, 52.7%, 0%, 21.2%)
CIE-LABlab(44.45, 26.72, -57.00)
CIE-LCHlch(44.45, 62.95, 295.12°)
OKLaboklab(53.14% 0.0109 -0.1633)
OKLCHoklch(53.14% 0.164 273.8)
XYZxyz(18.0247, 14.1494, 57.0283)
Luminance0.1415 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515FC9 #C9BB51
analogous
#519BC9 #515FC9 #7F51C9
triadic
#515FC9 #C9515F #5FC951
tetradic
#515FC9 #C9519B #C9BB51 #51C97F
square
#515FC9 #C9519B #C9BB51 #51C97F
split-complementary
#515FC9 #C97F51 #9BC951
monochromatic
#26307A #3442A9 #515FC9 #808AD7 #AEB5E6

Accessibility & contrast

On white

5.48
#515FC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#515FC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515FC9
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515FC9#FFFFFF#000000##FFFFFF
##515FC91.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E6ECD
Deuteranopia (green-blind)
#0064C7
Tritanopia (blue-blind)
#00788B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #515fc9;
/* rgb */ color: rgb(81, 95, 201);
/* oklch */ color: oklch(53.1% 0.164 273.8);
Tailwind
colors: {
  custom: {
    50: '#8d8cda',
    500: '#515fc9',
    950: '#000000',
  },
}
SCSS
$custom: #515fc9;
$custom-light: #8d8cda;
$custom-dark: #000000;
JSON
{
  "hex": "#515fc9",
  "rgb": {
    "r": 81,
    "g": 95,
    "b": 201
  },
  "hsl": {
    "h": 233,
    "s": 52.632,
    "l": 55.294
  },
  "oklch": {
    "l": 0.5314,
    "c": 0.16369,
    "h": 273.8
  },
  "luminance": 0.14151
}

Semantic roles & 50–950 ramp

primary
#515FC9
secondary
#D4CEA2
accent
#CB4CDC
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #515FC9

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

Preview Lab → · Contrast checker → · Palette generator →

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