#515CCF#515CCF

#515CCF is a mid, vivid blue. Relative luminance 0.139; OKLCH L 53.0% C 0.176 H 274.6°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#515CCF
RGBrgb(81, 92, 207)
HSLhsl(235, 57%, 56%)
HSVhsv(235, 61%, 81%)
CMYKcmyk(60.9%, 55.6%, 0%, 18.8%)
CIE-LABlab(44.10, 30.61, -61.01)
CIE-LCHlch(44.10, 68.26, 296.64°)
OKLaboklab(53.01% 0.0141 -0.1752)
OKLCHoklch(53.01% 0.176 274.6)
XYZxyz(18.4793, 13.9071, 60.7299)
Luminance0.1391 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515CCF #CFC451
analogous
#519BCF #515CCF #8551CF
triadic
#515CCF #CF515C #5CCF51
tetradic
#515CCF #CF519B #CFC451 #51CF85
square
#515CCF #CF519B #CFC451 #51CF85
split-complementary
#515CCF #CF8551 #9BCF51
monochromatic
#242C82 #313CB2 #515CCF #8189DC #B1B6E9

Accessibility & contrast

On white

5.55
#515CCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#515CCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515CCF
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515CCF#FFFFFF#000000##FFFFFF
##515CCF1.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED3
Deuteranopia (green-blind)
#0063CD
Tritanopia (blue-blind)
#00778C
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #515ccf;
/* rgb */ color: rgb(81, 92, 207);
/* oklch */ color: oklch(53.0% 0.176 274.6);
Tailwind
colors: {
  custom: {
    50: '#8e8ade',
    500: '#515ccf',
    950: '#000000',
  },
}
SCSS
$custom: #515ccf;
$custom-light: #8e8ade;
$custom-dark: #000000;
JSON
{
  "hex": "#515ccf",
  "rgb": {
    "r": 81,
    "g": 92,
    "b": 207
  },
  "hsl": {
    "h": 234.762,
    "s": 56.757,
    "l": 56.471
  },
  "oklch": {
    "l": 0.53011,
    "c": 0.17573,
    "h": 274.6
  },
  "luminance": 0.13909
}

Semantic roles & 50–950 ramp

primary
#515CCF
secondary
#D8D3A4
accent
#D348E0
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #515CCF

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

Preview Lab → · Contrast checker → · Palette generator →

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