#515BC5#515BC5

#515BC5 is a mid, vivid blue. Relative luminance 0.133; OKLCH L 52.1% C 0.163 H 275.1°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#515BC5
RGBrgb(81, 91, 197)
HSLhsl(235, 50%, 55%)
HSVhsv(235, 59%, 77%)
CMYKcmyk(58.9%, 53.8%, 0%, 22.7%)
CIE-LABlab(43.15, 27.89, -56.77)
CIE-LCHlch(43.15, 63.25, 296.16°)
OKLaboklab(52.08% 0.0146 -0.1627)
OKLCHoklch(52.08% 0.163 275.1)
XYZxyz(17.2092, 13.2614, 54.4653)
Luminance0.1326 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515BC5 #C5BB51
analogous
#5195C5 #515BC5 #8151C5
triadic
#515BC5 #C5515B #5BC551
tetradic
#515BC5 #C55195 #C5BB51 #51C581
square
#515BC5 #C55195 #C5BB51 #51C581
split-complementary
#515BC5 #C58151 #95C551
monochromatic
#272E75 #3640A3 #515BC5 #7F86D4 #ADB2E4

Accessibility & contrast

On white

5.75
#515BC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#515BC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515BC5
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515BC5#FFFFFF#000000##FFFFFF
##515BC51.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#166BC9
Deuteranopia (green-blind)
#0061C3
Tritanopia (blue-blind)
#007487
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #515bc5;
/* rgb */ color: rgb(81, 91, 197);
/* oklch */ color: oklch(52.1% 0.163 275.1);
Tailwind
colors: {
  custom: {
    50: '#8c89d7',
    500: '#515bc5',
    950: '#000000',
  },
}
SCSS
$custom: #515bc5;
$custom-light: #8c89d7;
$custom-dark: #000000;
JSON
{
  "hex": "#515bc5",
  "rgb": {
    "r": 81,
    "g": 91,
    "b": 197
  },
  "hsl": {
    "h": 234.828,
    "s": 50,
    "l": 54.51
  },
  "oklch": {
    "l": 0.52084,
    "c": 0.16337,
    "h": 275.1
  },
  "luminance": 0.13263
}

Semantic roles & 50–950 ramp

primary
#515BC5
secondary
#D1CDA0
accent
#CE4EDA
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0B14
muted
#7E7C83

Preview Lab

Preview with #515BC5

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

Preview Lab → · Contrast checker → · Palette generator →

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