#515DCF#515DCF

#515DCF is a mid, vivid blue. Relative luminance 0.141; OKLCH L 53.2% C 0.174 H 274.3°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#515DCF
RGBrgb(81, 93, 207)
HSLhsl(234, 57%, 56%)
HSVhsv(234, 61%, 81%)
CMYKcmyk(60.9%, 55.1%, 0%, 18.8%)
CIE-LABlab(44.35, 29.99, -60.61)
CIE-LCHlch(44.35, 67.62, 296.32°)
OKLaboklab(53.2% 0.0131 -0.174)
OKLCHoklch(53.2% 0.174 274.3)
XYZxyz(18.5665, 14.0815, 60.7590)
Luminance0.1408 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515DCF #CFC351
analogous
#519CCF #515DCF #8451CF
triadic
#515DCF #CF515D #5DCF51
tetradic
#515DCF #CF519C #CFC351 #51CF84
square
#515DCF #CF519C #CFC351 #51CF84
split-complementary
#515DCF #CF8451 #9CCF51
monochromatic
#242D82 #313DB2 #515DCF #818ADC #B1B6E9

Accessibility & contrast

On white

5.50
#515DCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#515DCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515DCF
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515DCF#FFFFFF#000000##FFFFFF
##515DCF1.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED3
Deuteranopia (green-blind)
#0064CD
Tritanopia (blue-blind)
#00788D
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #515dcf;
/* rgb */ color: rgb(81, 93, 207);
/* oklch */ color: oklch(53.2% 0.174 274.3);
Tailwind
colors: {
  custom: {
    50: '#8e8ade',
    500: '#515dcf',
    950: '#000000',
  },
}
SCSS
$custom: #515dcf;
$custom-light: #8e8ade;
$custom-dark: #000000;
JSON
{
  "hex": "#515dcf",
  "rgb": {
    "r": 81,
    "g": 93,
    "b": 207
  },
  "hsl": {
    "h": 234.286,
    "s": 56.757,
    "l": 56.471
  },
  "oklch": {
    "l": 0.53198,
    "c": 0.17445,
    "h": 274.3
  },
  "luminance": 0.14083
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #515DCF

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

Preview Lab → · Contrast checker → · Palette generator →

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