#515CCB#515CCB

#515CCB is a mid, vivid blue. Relative luminance 0.137; OKLCH L 52.7% C 0.170 H 274.7°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#515CCB
RGBrgb(81, 92, 203)
HSLhsl(235, 54%, 56%)
HSVhsv(235, 60%, 80%)
CMYKcmyk(60.1%, 54.7%, 0%, 20.4%)
CIE-LABlab(43.82, 29.27, -59.16)
CIE-LCHlch(43.82, 66.01, 296.32°)
OKLaboklab(52.71% 0.0139 -0.1697)
OKLCHoklch(52.71% 0.17 274.7)
XYZxyz(17.9965, 13.7140, 58.1870)
Luminance0.1371 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515CCB #CBC051
analogous
#5199CB #515CCB #8351CB
triadic
#515CCB #CB515C #5CCB51
tetradic
#515CCB #CB5199 #CBC051 #51CB83
square
#515CCB #CB5199 #CBC051 #51CB83
split-complementary
#515CCB #CB8351 #99CB51
monochromatic
#252D7C #333EAC #515CCB #8088D9 #AFB4E7

Accessibility & contrast

On white

5.61
#515CCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#515CCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515CCB
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515CCB#FFFFFF#000000##FFFFFF
##515CCB1.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#096DCF
Deuteranopia (green-blind)
#0062C9
Tritanopia (blue-blind)
#00768A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #515ccb;
/* rgb */ color: rgb(81, 92, 203);
/* oklch */ color: oklch(52.7% 0.170 274.7);
Tailwind
colors: {
  custom: {
    50: '#8d8adc',
    500: '#515ccb',
    950: '#000000',
  },
}
SCSS
$custom: #515ccb;
$custom-light: #8d8adc;
$custom-dark: #000000;
JSON
{
  "hex": "#515ccb",
  "rgb": {
    "r": 81,
    "g": 92,
    "b": 203
  },
  "hsl": {
    "h": 234.59,
    "s": 53.982,
    "l": 55.686
  },
  "oklch": {
    "l": 0.52713,
    "c": 0.1703,
    "h": 274.7
  },
  "luminance": 0.13715
}

Semantic roles & 50–950 ramp

primary
#515CCB
secondary
#D5D1A3
accent
#D04ADD
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #515CCB

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

Preview Lab → · Contrast checker → · Palette generator →

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