#515CC4#515CC4

#515CC4 is a mid, vivid blue. Relative luminance 0.134; OKLCH L 52.2% C 0.161 H 274.8°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#515CC4
RGBrgb(81, 92, 196)
HSLhsl(234, 49%, 54%)
HSVhsv(234, 59%, 77%)
CMYKcmyk(58.7%, 53.1%, 0%, 23.1%)
CIE-LABlab(43.34, 26.92, -55.89)
CIE-LCHlch(43.34, 62.04, 295.72°)
OKLaboklab(52.2% 0.0136 -0.1601)
OKLCHoklch(52.2% 0.161 274.8)
XYZxyz(17.1810, 13.3879, 53.8926)
Luminance0.1339 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515CC4 #C4B951
analogous
#5196C4 #515CC4 #8051C4
triadic
#515CC4 #C4515C #5CC451
tetradic
#515CC4 #C45196 #C4B951 #51C480
square
#515CC4 #C45196 #C4B951 #51C480
split-complementary
#515CC4 #C48051 #96C451
monochromatic
#272E73 #3741A1 #515CC4 #7F87D3 #ACB2E3

Accessibility & contrast

On white

5.71
#515CC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#515CC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515CC4
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515CC4#FFFFFF#000000##FFFFFF
##515CC41.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D6BC8
Deuteranopia (green-blind)
#0062C2
Tritanopia (blue-blind)
#007487
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #515cc4;
/* rgb */ color: rgb(81, 92, 196);
/* oklch */ color: oklch(52.2% 0.161 274.8);
Tailwind
colors: {
  custom: {
    50: '#8c8ad6',
    500: '#515cc4',
    950: '#000000',
  },
}
SCSS
$custom: #515cc4;
$custom-light: #8c8ad6;
$custom-dark: #000000;
JSON
{
  "hex": "#515cc4",
  "rgb": {
    "r": 81,
    "g": 92,
    "b": 196
  },
  "hsl": {
    "h": 234.261,
    "s": 49.356,
    "l": 54.314
  },
  "oklch": {
    "l": 0.52203,
    "c": 0.16067,
    "h": 274.8
  },
  "luminance": 0.13389
}

Semantic roles & 50–950 ramp

primary
#515CC4
secondary
#D1CCA0
accent
#CC4FD9
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0B14
muted
#7E7C83

Preview Lab

Preview with #515CC4

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

Preview Lab → · Contrast checker → · Palette generator →

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