#515FD1#515FD1

#515FD1 is a mid, vivid blue. Relative luminance 0.145; OKLCH L 53.7% C 0.175 H 273.7°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#515FD1
RGBrgb(81, 95, 209)
HSLhsl(233, 58%, 57%)
HSVhsv(233, 61%, 82%)
CMYKcmyk(61.2%, 54.5%, 0%, 18%)
CIE-LABlab(44.99, 29.41, -60.71)
CIE-LCHlch(44.99, 67.46, 295.85°)
OKLaboklab(53.72% 0.0113 -0.1743)
OKLCHoklch(53.72% 0.175 273.7)
XYZxyz(18.9904, 14.5357, 62.1142)
Luminance0.1454 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515FD1 #D1C351
analogous
#519FD1 #515FD1 #8351D1
triadic
#515FD1 #D1515F #5FD151
tetradic
#515FD1 #D1519F #D1C351 #51D183
square
#515FD1 #D1519F #D1C351 #51D183
split-complementary
#515FD1 #D18351 #9FD151
monochromatic
#232E85 #303EB5 #515FD1 #818CDE #B2B8EB

Accessibility & contrast

On white

5.37
#515FD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#515FD1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515FD1
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515FD1#FFFFFF#000000##FFFFFF
##515FD11.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0870D5
Deuteranopia (green-blind)
#0065CF
Tritanopia (blue-blind)
#007A8F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #515fd1;
/* rgb */ color: rgb(81, 95, 209);
/* oklch */ color: oklch(53.7% 0.175 273.7);
Tailwind
colors: {
  custom: {
    50: '#8e8ce0',
    500: '#515fd1',
    950: '#000000',
  },
}
SCSS
$custom: #515fd1;
$custom-light: #8e8ce0;
$custom-dark: #000000;
JSON
{
  "hex": "#515fd1",
  "rgb": {
    "r": 81,
    "g": 95,
    "b": 209
  },
  "hsl": {
    "h": 233.438,
    "s": 58.182,
    "l": 56.863
  },
  "oklch": {
    "l": 0.53722,
    "c": 0.17463,
    "h": 273.7
  },
  "luminance": 0.14537
}

Semantic roles & 50–950 ramp

primary
#515FD1
secondary
#D9D3A5
accent
#D046E1
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #515FD1

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

Preview Lab → · Contrast checker → · Palette generator →

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