#515FCF#515FCF

#515FCF is a mid, vivid blue. Relative luminance 0.144; OKLCH L 53.6% C 0.172 H 273.7°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#515FCF
RGBrgb(81, 95, 207)
HSLhsl(233, 57%, 56%)
HSVhsv(233, 61%, 81%)
CMYKcmyk(60.9%, 54.1%, 0%, 18.8%)
CIE-LABlab(44.85, 28.74, -59.79)
CIE-LCHlch(44.85, 66.34, 295.67°)
OKLaboklab(53.58% 0.0112 -0.1715)
OKLCHoklch(53.58% 0.172 273.7)
XYZxyz(18.7443, 14.4372, 60.8183)
Luminance0.1444 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515FCF #CFC151
analogous
#519ECF #515FCF #8251CF
triadic
#515FCF #CF515F #5FCF51
tetradic
#515FCF #CF519E #CFC151 #51CF82
square
#515FCF #CF519E #CFC151 #51CF82
split-complementary
#515FCF #CF8251 #9ECF51
monochromatic
#242E82 #313FB2 #515FCF #818BDC #B1B7E9

Accessibility & contrast

On white

5.40
#515FCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#515FCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515FCF
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515FCF#FFFFFF#000000##FFFFFF
##515FCF1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1070D3
Deuteranopia (green-blind)
#0065CD
Tritanopia (blue-blind)
#00798E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #515fcf;
/* rgb */ color: rgb(81, 95, 207);
/* oklch */ color: oklch(53.6% 0.172 273.7);
Tailwind
colors: {
  custom: {
    50: '#8e8cde',
    500: '#515fcf',
    950: '#000000',
  },
}
SCSS
$custom: #515fcf;
$custom-light: #8e8cde;
$custom-dark: #000000;
JSON
{
  "hex": "#515fcf",
  "rgb": {
    "r": 81,
    "g": 95,
    "b": 207
  },
  "hsl": {
    "h": 233.333,
    "s": 56.757,
    "l": 56.471
  },
  "oklch": {
    "l": 0.53575,
    "c": 0.17191,
    "h": 273.7
  },
  "luminance": 0.14439
}

Semantic roles & 50–950 ramp

primary
#515FCF
secondary
#D8D2A4
accent
#CF48E0
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #515FCF

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

Preview Lab → · Contrast checker → · Palette generator →

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