#515CB4#515CB4

#515CB4 is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.1% C 0.138 H 275.1°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#515CB4
RGBrgb(81, 92, 180)
HSLhsl(233, 40%, 51%)
HSVhsv(233, 55%, 71%)
CMYKcmyk(55%, 48.9%, 0%, 29.4%)
CIE-LABlab(42.30, 21.60, -48.24)
CIE-LCHlch(42.30, 52.85, 294.12°)
OKLaboklab(51.09% 0.0122 -0.1376)
OKLCHoklch(51.09% 0.138 275.1)
XYZxyz(15.4561, 12.6979, 44.8076)
Luminance0.1270 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515CB4 #B4A951
analogous
#518DB4 #515CB4 #7751B4
triadic
#515CB4 #B4515C #5CB451
tetradic
#515CB4 #B4518D #B4A951 #51B477
square
#515CB4 #B4518D #B4A951 #51B477
split-complementary
#515CB4 #B47751 #8DB451
monochromatic
#2A3061 #3C458C #515CB4 #7C84C6 #A7ACD9

Accessibility & contrast

On white

5.93
#515CB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#515CB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515CB4
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515CB4#FFFFFF#000000##FFFFFF
##515CB41.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3268B7
Deuteranopia (green-blind)
#2560B2
Tritanopia (blue-blind)
#1F707F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #515cb4;
/* rgb */ color: rgb(81, 92, 180);
/* oklch */ color: oklch(51.1% 0.138 275.1);
Tailwind
colors: {
  custom: {
    50: '#898acb',
    500: '#515cb4',
    950: '#000000',
  },
}
SCSS
$custom: #515cb4;
$custom-light: #898acb;
$custom-dark: #000000;
JSON
{
  "hex": "#515cb4",
  "rgb": {
    "r": 81,
    "g": 92,
    "b": 180
  },
  "hsl": {
    "h": 233.333,
    "s": 39.759,
    "l": 51.176
  },
  "oklch": {
    "l": 0.51088,
    "c": 0.13813,
    "h": 275.1
  },
  "luminance": 0.12699
}

Semantic roles & 50–950 ramp

primary
#515CB4
secondary
#C6C19B
accent
#C258D0
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #515CB4

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

Preview Lab → · Contrast checker → · Palette generator →

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