#515FCE#515FCE

#515FCE is a mid, vivid blue. Relative luminance 0.144; OKLCH L 53.5% C 0.171 H 273.8°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#515FCE
RGBrgb(81, 95, 206)
HSLhsl(233, 56%, 56%)
HSVhsv(233, 61%, 81%)
CMYKcmyk(60.7%, 53.9%, 0%, 19.2%)
CIE-LABlab(44.78, 28.40, -59.33)
CIE-LCHlch(44.78, 65.77, 295.58°)
OKLaboklab(53.5% 0.0112 -0.1702)
OKLCHoklch(53.5% 0.171 273.8)
XYZxyz(18.6225, 14.3885, 60.1765)
Luminance0.1439 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515FCE #CEC051
analogous
#519ECE #515FCE #8251CE
triadic
#515FCE #CE515F #5FCE51
tetradic
#515FCE #CE519E #CEC051 #51CE82
square
#515FCE #CE519E #CEC051 #51CE82
split-complementary
#515FCE #CE8251 #9ECE51
monochromatic
#242F80 #3240B0 #515FCE #818BDB #B1B7E9

Accessibility & contrast

On white

5.42
#515FCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#515FCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515FCE
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515FCE#FFFFFF#000000##FFFFFF
##515FCE1.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1370D2
Deuteranopia (green-blind)
#0065CC
Tritanopia (blue-blind)
#00798D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #515fce;
/* rgb */ color: rgb(81, 95, 206);
/* oklch */ color: oklch(53.5% 0.171 273.8);
Tailwind
colors: {
  custom: {
    50: '#8d8cde',
    500: '#515fce',
    950: '#000000',
  },
}
SCSS
$custom: #515fce;
$custom-light: #8d8cde;
$custom-dark: #000000;
JSON
{
  "hex": "#515fce",
  "rgb": {
    "r": 81,
    "g": 95,
    "b": 206
  },
  "hsl": {
    "h": 233.28,
    "s": 56.054,
    "l": 56.275
  },
  "oklch": {
    "l": 0.53502,
    "c": 0.17055,
    "h": 273.8
  },
  "luminance": 0.1439
}

Semantic roles & 50–950 ramp

primary
#515FCE
secondary
#D7D1A4
accent
#CE48DF
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #515FCE

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

Preview Lab → · Contrast checker → · Palette generator →

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