#515CBD#515CBD

#515CBD is a mid, vivid blue. Relative luminance 0.131; OKLCH L 51.7% C 0.151 H 275.0°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#515CBD
RGBrgb(81, 92, 189)
HSLhsl(234, 45%, 53%)
HSVhsv(234, 57%, 74%)
CMYKcmyk(57.1%, 51.3%, 0%, 25.9%)
CIE-LABlab(42.88, 24.59, -52.57)
CIE-LCHlch(42.88, 58.04, 295.07°)
OKLaboklab(51.71% 0.0131 -0.1503)
OKLCHoklch(51.71% 0.151 275)
XYZxyz(16.4028, 13.0766, 49.7939)
Luminance0.1308 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515CBD #BDB251
analogous
#5192BD #515CBD #7C51BD
triadic
#515CBD #BD515C #5CBD51
tetradic
#515CBD #BD5192 #BDB251 #51BD7C
square
#515CBD #BD5192 #BDB251 #51BD7C
split-complementary
#515CBD #BD7C51 #92BD51
monochromatic
#292F6B #394397 #515CBD #7D86CE #AAAFDF

Accessibility & contrast

On white

5.81
#515CBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#515CBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515CBD
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515CBD#FFFFFF#000000##FFFFFF
##515CBD1.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#286AC0
Deuteranopia (green-blind)
#1361BB
Tritanopia (blue-blind)
#0D7284
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #515cbd;
/* rgb */ color: rgb(81, 92, 189);
/* oklch */ color: oklch(51.7% 0.151 275.0);
Tailwind
colors: {
  custom: {
    50: '#8b8ad1',
    500: '#515cbd',
    950: '#000000',
  },
}
SCSS
$custom: #515cbd;
$custom-light: #8b8ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#515cbd",
  "rgb": {
    "r": 81,
    "g": 92,
    "b": 189
  },
  "hsl": {
    "h": 233.889,
    "s": 45,
    "l": 52.941
  },
  "oklch": {
    "l": 0.51706,
    "c": 0.15091,
    "h": 275
  },
  "luminance": 0.13078
}

Semantic roles & 50–950 ramp

primary
#515CBD
secondary
#CCC79E
accent
#C753D5
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0D0B14
muted
#7D7C82

Preview Lab

Preview with #515CBD

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

Preview Lab → · Contrast checker → · Palette generator →

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