#515DCB#515DCB

#515DCB is a mid, vivid blue. Relative luminance 0.139; OKLCH L 52.9% C 0.169 H 274.4°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#515DCB
RGBrgb(81, 93, 203)
HSLhsl(234, 54%, 56%)
HSVhsv(234, 60%, 80%)
CMYKcmyk(60.1%, 54.2%, 0%, 20.4%)
CIE-LABlab(44.07, 28.64, -58.75)
CIE-LCHlch(44.07, 65.36, 295.99°)
OKLaboklab(52.9% 0.013 -0.1685)
OKLCHoklch(52.9% 0.169 274.4)
XYZxyz(18.0837, 13.8884, 58.2161)
Luminance0.1389 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515DCB #CBBF51
analogous
#519ACB #515DCB #8251CB
triadic
#515DCB #CB515D #5DCB51
tetradic
#515DCB #CB519A #CBBF51 #51CB82
square
#515DCB #CB519A #CBBF51 #51CB82
split-complementary
#515DCB #CB8251 #9ACB51
monochromatic
#252E7C #333FAC #515DCB #8089D9 #AFB5E7

Accessibility & contrast

On white

5.56
#515DCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #515DCB
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515DCB#FFFFFF#000000##FFFFFF
##515DCB1.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#116ECF
Deuteranopia (green-blind)
#0063C9
Tritanopia (blue-blind)
#00778B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #515dcb;
/* rgb */ color: rgb(81, 93, 203);
/* oklch */ color: oklch(52.9% 0.169 274.4);
Tailwind
colors: {
  custom: {
    50: '#8d8adc',
    500: '#515dcb',
    950: '#000000',
  },
}
SCSS
$custom: #515dcb;
$custom-light: #8d8adc;
$custom-dark: #000000;
JSON
{
  "hex": "#515dcb",
  "rgb": {
    "r": 81,
    "g": 93,
    "b": 203
  },
  "hsl": {
    "h": 234.098,
    "s": 53.982,
    "l": 55.686
  },
  "oklch": {
    "l": 0.52902,
    "c": 0.16901,
    "h": 274.4
  },
  "luminance": 0.1389
}

Semantic roles & 50–950 ramp

primary
#515DCB
secondary
#D5D0A3
accent
#CF4ADD
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #515DCB

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

Preview Lab → · Contrast checker → · Palette generator →

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