#515BB9#515BB9

#515BB9 is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.2% C 0.147 H 275.4°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#515BB9
RGBrgb(81, 91, 185)
HSLhsl(234, 43%, 52%)
HSVhsv(234, 56%, 73%)
CMYKcmyk(56.2%, 50.8%, 0%, 27.5%)
CIE-LABlab(42.36, 23.89, -51.08)
CIE-LCHlch(42.36, 56.39, 295.07°)
OKLaboklab(51.23% 0.0138 -0.1459)
OKLCHoklch(51.23% 0.147 275.4)
XYZxyz(15.8886, 12.7332, 47.5100)
Luminance0.1273 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515BB9 #B9AF51
analogous
#518FB9 #515BB9 #7B51B9
triadic
#515BB9 #B9515B #5BB951
tetradic
#515BB9 #B9518F #B9AF51 #51B97B
square
#515BB9 #B9518F #B9AF51 #51B97B
split-complementary
#515BB9 #B97B51 #8FB951
monochromatic
#292F66 #3B4392 #515BB9 #7D84CB #A8ADDC

Accessibility & contrast

On white

5.92
#515BB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#515BB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515BB9
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515BB9#FFFFFF#000000##FFFFFF
##515BB91.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A68BC
Deuteranopia (green-blind)
#1960B7
Tritanopia (blue-blind)
#177081
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #515bb9;
/* rgb */ color: rgb(81, 91, 185);
/* oklch */ color: oklch(51.2% 0.147 275.4);
Tailwind
colors: {
  custom: {
    50: '#8a89cf',
    500: '#515bb9',
    950: '#000000',
  },
}
SCSS
$custom: #515bb9;
$custom-light: #8a89cf;
$custom-dark: #000000;
JSON
{
  "hex": "#515bb9",
  "rgb": {
    "r": 81,
    "g": 91,
    "b": 185
  },
  "hsl": {
    "h": 234.231,
    "s": 42.623,
    "l": 52.157
  },
  "oklch": {
    "l": 0.51231,
    "c": 0.1466,
    "h": 275.4
  },
  "luminance": 0.12734
}

Semantic roles & 50–950 ramp

primary
#515BB9
secondary
#CAC59C
accent
#C655D2
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0C0B14
muted
#7D7C82

Preview Lab

Preview with #515BB9

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

Preview Lab → · Contrast checker → · Palette generator →

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