#515CB9#515CB9

#515CB9 is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.4% C 0.145 H 275.0°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#515CB9
RGBrgb(81, 92, 185)
HSLhsl(234, 43%, 52%)
HSVhsv(234, 56%, 73%)
CMYKcmyk(56.2%, 50.3%, 0%, 27.5%)
CIE-LABlab(42.62, 23.26, -50.66)
CIE-LCHlch(42.62, 55.74, 294.66°)
OKLaboklab(51.43% 0.0127 -0.1447)
OKLCHoklch(51.43% 0.145 275)
XYZxyz(15.9746, 12.9053, 47.5387)
Luminance0.1291 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515CB9 #B9AE51
analogous
#5190B9 #515CB9 #7A51B9
triadic
#515CB9 #B9515C #5CB951
tetradic
#515CB9 #B95190 #B9AE51 #51B97A
square
#515CB9 #B95190 #B9AE51 #51B97A
split-complementary
#515CB9 #B97A51 #90B951
monochromatic
#293066 #3B4492 #515CB9 #7D85CB #A8AEDC

Accessibility & contrast

On white

5.86
#515CB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#515CB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515CB9
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515CB9#FFFFFF#000000##FFFFFF
##515CB91.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D69BC
Deuteranopia (green-blind)
#1C60B7
Tritanopia (blue-blind)
#177182
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #515cb9;
/* rgb */ color: rgb(81, 92, 185);
/* oklch */ color: oklch(51.4% 0.145 275.0);
Tailwind
colors: {
  custom: {
    50: '#8a8acf',
    500: '#515cb9',
    950: '#000000',
  },
}
SCSS
$custom: #515cb9;
$custom-light: #8a8acf;
$custom-dark: #000000;
JSON
{
  "hex": "#515cb9",
  "rgb": {
    "r": 81,
    "g": 92,
    "b": 185
  },
  "hsl": {
    "h": 233.654,
    "s": 42.623,
    "l": 52.157
  },
  "oklch": {
    "l": 0.51429,
    "c": 0.14526,
    "h": 275
  },
  "luminance": 0.12906
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #515CB9

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

Preview Lab → · Contrast checker → · Palette generator →

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