#515FD5#515FD5

#515FD5 is a mid, vivid blue. Relative luminance 0.147; OKLCH L 54.0% C 0.180 H 273.6°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#515FD5
RGBrgb(81, 95, 213)
HSLhsl(234, 61%, 58%)
HSVhsv(234, 62%, 84%)
CMYKcmyk(62%, 55.4%, 0%, 16.5%)
CIE-LABlab(45.27, 30.76, -62.55)
CIE-LCHlch(45.27, 69.70, 296.18°)
OKLaboklab(54.02% 0.0115 -0.1797)
OKLCHoklch(54.02% 0.18 273.6)
XYZxyz(19.4918, 14.7362, 64.7551)
Luminance0.1474 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515FD5 #D5C751
analogous
#51A1D5 #515FD5 #8551D5
triadic
#515FD5 #D5515F #5FD551
tetradic
#515FD5 #D551A1 #D5C751 #51D585
square
#515FD5 #D551A1 #D5C751 #51D585
split-complementary
#515FD5 #D58551 #A1D551
monochromatic
#212C8A #2D3CBC #515FD5 #828CE1 #B4BAED

Accessibility & contrast

On white

5.32
#515FD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#515FD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515FD5
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515FD5#FFFFFF#000000##FFFFFF
##515FD51.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071D9
Deuteranopia (green-blind)
#0066D3
Tritanopia (blue-blind)
#007B91
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #515fd5;
/* rgb */ color: rgb(81, 95, 213);
/* oklch */ color: oklch(54.0% 0.180 273.6);
Tailwind
colors: {
  custom: {
    50: '#8f8ce3',
    500: '#515fd5',
    950: '#000000',
  },
}
SCSS
$custom: #515fd5;
$custom-light: #8f8ce3;
$custom-dark: #000000;
JSON
{
  "hex": "#515fd5",
  "rgb": {
    "r": 81,
    "g": 95,
    "b": 213
  },
  "hsl": {
    "h": 233.636,
    "s": 61.111,
    "l": 57.647
  },
  "oklch": {
    "l": 0.5402,
    "c": 0.18003,
    "h": 273.6
  },
  "luminance": 0.14738
}

Semantic roles & 50–950 ramp

primary
#515FD5
secondary
#DBD6A6
accent
#D344E4
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C15
muted
#7E7D84

Preview Lab

Preview with #515FD5

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

Preview Lab → · Contrast checker → · Palette generator →

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