#515FCD#515FCD

#515FCD is a mid, vivid blue. Relative luminance 0.143; OKLCH L 53.4% C 0.169 H 273.8°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#515FCD
RGBrgb(81, 95, 205)
HSLhsl(233, 55%, 56%)
HSVhsv(233, 60%, 80%)
CMYKcmyk(60.5%, 53.7%, 0%, 19.6%)
CIE-LABlab(44.72, 28.06, -58.86)
CIE-LCHlch(44.72, 65.21, 295.49°)
OKLaboklab(53.43% 0.0111 -0.1688)
OKLCHoklch(53.43% 0.169 273.8)
XYZxyz(18.5014, 14.3401, 59.5387)
Luminance0.1434 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515FCD #CDBF51
analogous
#519DCD #515FCD #8151CD
triadic
#515FCD #CD515F #5FCD51
tetradic
#515FCD #CD519D #CDBF51 #51CD81
square
#515FCD #CD519D #CDBF51 #51CD81
split-complementary
#515FCD #CD8151 #9DCD51
monochromatic
#252F7F #3240AF #515FCD #818BDB #B0B6E8

Accessibility & contrast

On white

5.43
#515FCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#515FCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515FCD
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515FCD#FFFFFF#000000##FFFFFF
##515FCD1.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#166FD1
Deuteranopia (green-blind)
#0065CB
Tritanopia (blue-blind)
#00798D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #515fcd;
/* rgb */ color: rgb(81, 95, 205);
/* oklch */ color: oklch(53.4% 0.169 273.8);
Tailwind
colors: {
  custom: {
    50: '#8d8cdd',
    500: '#515fcd',
    950: '#000000',
  },
}
SCSS
$custom: #515fcd;
$custom-light: #8d8cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#515fcd",
  "rgb": {
    "r": 81,
    "g": 95,
    "b": 205
  },
  "hsl": {
    "h": 233.226,
    "s": 55.357,
    "l": 56.078
  },
  "oklch": {
    "l": 0.53429,
    "c": 0.16918,
    "h": 273.8
  },
  "luminance": 0.14342
}

Semantic roles & 50–950 ramp

primary
#515FCD
secondary
#D7D1A3
accent
#CE49DF
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #515FCD

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

Preview Lab → · Contrast checker → · Palette generator →

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