#515BC3#515BC3

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

Color values

HEX#515BC3
RGBrgb(81, 91, 195)
HSLhsl(235, 49%, 54%)
HSVhsv(235, 58%, 76%)
CMYKcmyk(58.5%, 53.3%, 0%, 23.5%)
CIE-LABlab(43.02, 27.22, -55.83)
CIE-LCHlch(43.02, 62.11, 295.99°)
OKLaboklab(51.94% 0.0145 -0.1599)
OKLCHoklch(51.94% 0.161 275.2)
XYZxyz(16.9816, 13.1704, 53.2664)
Luminance0.1317 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515BC3 #C3B951
analogous
#5194C3 #515BC3 #8051C3
triadic
#515BC3 #C3515B #5BC351
tetradic
#515BC3 #C35194 #C3B951 #51C380
square
#515BC3 #C35194 #C3B951 #51C380
split-complementary
#515BC3 #C38051 #94C351
monochromatic
#272E72 #3740A0 #515BC3 #7F86D3 #ACB1E2

Accessibility & contrast

On white

5.78
#515BC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#515BC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515BC3
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515BC3#FFFFFF#000000##FFFFFF
##515BC31.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B6BC7
Deuteranopia (green-blind)
#0061C1
Tritanopia (blue-blind)
#007386
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #515bc3;
/* rgb */ color: rgb(81, 91, 195);
/* oklch */ color: oklch(51.9% 0.161 275.2);
Tailwind
colors: {
  custom: {
    50: '#8c89d6',
    500: '#515bc3',
    950: '#000000',
  },
}
SCSS
$custom: #515bc3;
$custom-light: #8c89d6;
$custom-dark: #000000;
JSON
{
  "hex": "#515bc3",
  "rgb": {
    "r": 81,
    "g": 91,
    "b": 195
  },
  "hsl": {
    "h": 234.737,
    "s": 48.718,
    "l": 54.118
  },
  "oklch": {
    "l": 0.51939,
    "c": 0.1606,
    "h": 275.2
  },
  "luminance": 0.13172
}

Semantic roles & 50–950 ramp

primary
#515BC3
secondary
#D0CCA0
accent
#CC50D8
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0B14
muted
#7E7C83

Preview Lab

Preview with #515BC3

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

Preview Lab → · Contrast checker → · Palette generator →

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