#515CC5#515CC5

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

Color values

HEX#515CC5
RGBrgb(81, 92, 197)
HSLhsl(234, 50%, 55%)
HSVhsv(234, 59%, 77%)
CMYKcmyk(58.9%, 53.3%, 0%, 22.7%)
CIE-LABlab(43.41, 27.26, -56.36)
CIE-LCHlch(43.41, 62.61, 295.81°)
OKLaboklab(52.28% 0.0136 -0.1615)
OKLCHoklch(52.28% 0.162 274.8)
XYZxyz(17.2952, 13.4335, 54.4940)
Luminance0.1343 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515CC5 #C5BA51
analogous
#5196C5 #515CC5 #8051C5
triadic
#515CC5 #C5515C #5CC551
tetradic
#515CC5 #C55196 #C5BA51 #51C580
square
#515CC5 #C55196 #C5BA51 #51C580
split-complementary
#515CC5 #C58051 #96C551
monochromatic
#272E75 #3640A3 #515CC5 #7F87D4 #ADB2E4

Accessibility & contrast

On white

5.70
#515CC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#515CC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515CC5
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515CC5#FFFFFF#000000##FFFFFF
##515CC51.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B6CC9
Deuteranopia (green-blind)
#0062C3
Tritanopia (blue-blind)
#007487
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #515cc5;
/* rgb */ color: rgb(81, 92, 197);
/* oklch */ color: oklch(52.3% 0.162 274.8);
Tailwind
colors: {
  custom: {
    50: '#8c8ad7',
    500: '#515cc5',
    950: '#000000',
  },
}
SCSS
$custom: #515cc5;
$custom-light: #8c8ad7;
$custom-dark: #000000;
JSON
{
  "hex": "#515cc5",
  "rgb": {
    "r": 81,
    "g": 92,
    "b": 197
  },
  "hsl": {
    "h": 234.31,
    "s": 50,
    "l": 54.51
  },
  "oklch": {
    "l": 0.52275,
    "c": 0.16206,
    "h": 274.8
  },
  "luminance": 0.13435
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #515CC5

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

Preview Lab → · Contrast checker → · Palette generator →

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