#515BCD#515BCD

#515BCD is a mid, vivid blue. Relative luminance 0.136; OKLCH L 52.7% C 0.174 H 274.9°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#515BCD
RGBrgb(81, 91, 205)
HSLhsl(235, 55%, 56%)
HSVhsv(235, 60%, 80%)
CMYKcmyk(60.5%, 55.6%, 0%, 19.6%)
CIE-LABlab(43.71, 30.56, -60.49)
CIE-LCHlch(43.71, 67.78, 296.80°)
OKLaboklab(52.68% 0.015 -0.1736)
OKLCHoklch(52.68% 0.174 274.9)
XYZxyz(18.1503, 13.6379, 59.4217)
Luminance0.1364 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515BCD #CDC351
analogous
#5199CD #515BCD #8551CD
triadic
#515BCD #CD515B #5BCD51
tetradic
#515BCD #CD5199 #CDC351 #51CD85
square
#515BCD #CD5199 #CDC351 #51CD85
split-complementary
#515BCD #CD8551 #99CD51
monochromatic
#252C7F #323CAF #515BCD #8188DB #B0B5E8

Accessibility & contrast

On white

5.63
#515BCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#515BCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515BCD
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515BCD#FFFFFF#000000##FFFFFF
##515BCD1.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD1
Deuteranopia (green-blind)
#0062CB
Tritanopia (blue-blind)
#00768B
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #515bcd;
/* rgb */ color: rgb(81, 91, 205);
/* oklch */ color: oklch(52.7% 0.174 274.9);
Tailwind
colors: {
  custom: {
    50: '#8d89dd',
    500: '#515bcd',
    950: '#000000',
  },
}
SCSS
$custom: #515bcd;
$custom-light: #8d89dd;
$custom-dark: #000000;
JSON
{
  "hex": "#515bcd",
  "rgb": {
    "r": 81,
    "g": 91,
    "b": 205
  },
  "hsl": {
    "h": 235.161,
    "s": 55.357,
    "l": 56.078
  },
  "oklch": {
    "l": 0.52675,
    "c": 0.17429,
    "h": 274.9
  },
  "luminance": 0.13639
}

Semantic roles & 50–950 ramp

primary
#515BCD
secondary
#D7D2A3
accent
#D349DF
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #515BCD

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

Preview Lab → · Contrast checker → · Palette generator →

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