#515ACD#515ACD

#515ACD is a mid, vivid blue. Relative luminance 0.135; OKLCH L 52.5% C 0.176 H 275.2°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#515ACD
RGBrgb(81, 90, 205)
HSLhsl(236, 55%, 56%)
HSVhsv(236, 60%, 80%)
CMYKcmyk(60.5%, 56.1%, 0%, 19.6%)
CIE-LABlab(43.46, 31.19, -60.90)
CIE-LCHlch(43.46, 68.42, 297.12°)
OKLaboklab(52.49% 0.0159 -0.1748)
OKLCHoklch(52.49% 0.176 275.2)
XYZxyz(18.0654, 13.4680, 59.3934)
Luminance0.1347 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515ACD #CDC451
analogous
#5198CD #515ACD #8651CD
triadic
#515ACD #CD515A #5ACD51
tetradic
#515ACD #CD5198 #CDC451 #51CD86
square
#515ACD #CD5198 #CDC451 #51CD86
split-complementary
#515ACD #CD8651 #98CD51
monochromatic
#252B7F #323BAF #515ACD #8187DB #B0B4E8

Accessibility & contrast

On white

5.69
#515ACD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#515ACD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515ACD
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515ACD#FFFFFF#000000##FFFFFF
##515ACD1.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD1
Deuteranopia (green-blind)
#0061CB
Tritanopia (blue-blind)
#00758B
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #515acd;
/* rgb */ color: rgb(81, 90, 205);
/* oklch */ color: oklch(52.5% 0.176 275.2);
Tailwind
colors: {
  custom: {
    50: '#8d88dd',
    500: '#515acd',
    950: '#000000',
  },
}
SCSS
$custom: #515acd;
$custom-light: #8d88dd;
$custom-dark: #000000;
JSON
{
  "hex": "#515acd",
  "rgb": {
    "r": 81,
    "g": 90,
    "b": 205
  },
  "hsl": {
    "h": 235.645,
    "s": 55.357,
    "l": 56.078
  },
  "oklch": {
    "l": 0.52489,
    "c": 0.17557,
    "h": 275.2
  },
  "luminance": 0.13469
}

Semantic roles & 50–950 ramp

primary
#515ACD
secondary
#D7D3A3
accent
#D449DF
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #515ACD

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

Preview Lab → · Contrast checker → · Palette generator →

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