#515BC4#515BC4

#515BC4 is a mid, vivid blue. Relative luminance 0.132; OKLCH L 52.0% C 0.162 H 275.2°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#515BC4
RGBrgb(81, 91, 196)
HSLhsl(235, 49%, 54%)
HSVhsv(235, 59%, 77%)
CMYKcmyk(58.7%, 53.6%, 0%, 23.1%)
CIE-LABlab(43.09, 27.55, -56.30)
CIE-LCHlch(43.09, 62.68, 296.08°)
OKLaboklab(52.01% 0.0146 -0.1613)
OKLCHoklch(52.01% 0.162 275.2)
XYZxyz(17.0950, 13.2157, 53.8639)
Luminance0.1322 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515BC4 #C4BA51
analogous
#5194C4 #515BC4 #8151C4
triadic
#515BC4 #C4515B #5BC451
tetradic
#515BC4 #C45194 #C4BA51 #51C481
square
#515BC4 #C45194 #C4BA51 #51C481
split-complementary
#515BC4 #C48151 #94C451
monochromatic
#272E73 #3740A1 #515BC4 #7F86D3 #ACB1E3

Accessibility & contrast

On white

5.76
#515BC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#515BC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515BC4
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515BC4#FFFFFF#000000##FFFFFF
##515BC41.005.763.645.76
#FFFFFF5.761.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#196BC8
Deuteranopia (green-blind)
#0061C2
Tritanopia (blue-blind)
#007387
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #515bc4;
/* rgb */ color: rgb(81, 91, 196);
/* oklch */ color: oklch(52.0% 0.162 275.2);
Tailwind
colors: {
  custom: {
    50: '#8c89d7',
    500: '#515bc4',
    950: '#000000',
  },
}
SCSS
$custom: #515bc4;
$custom-light: #8c89d7;
$custom-dark: #000000;
JSON
{
  "hex": "#515bc4",
  "rgb": {
    "r": 81,
    "g": 91,
    "b": 196
  },
  "hsl": {
    "h": 234.783,
    "s": 49.356,
    "l": 54.314
  },
  "oklch": {
    "l": 0.52011,
    "c": 0.16199,
    "h": 275.2
  },
  "luminance": 0.13217
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #515BC4

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

Preview Lab → · Contrast checker → · Palette generator →

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