#515FDA#515FDA

#515FDA is a mid, vivid blue. Relative luminance 0.150; OKLCH L 54.4% C 0.187 H 273.6°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#515FDA
RGBrgb(81, 95, 218)
HSLhsl(234, 65%, 59%)
HSVhsv(234, 63%, 85%)
CMYKcmyk(62.8%, 56.4%, 0%, 14.5%)
CIE-LABlab(45.63, 32.44, -64.83)
CIE-LCHlch(45.63, 72.49, 296.58°)
OKLaboklab(54.4% 0.0116 -0.1864)
OKLCHoklch(54.4% 0.187 273.6)
XYZxyz(20.1362, 14.9940, 68.1491)
Luminance0.1500 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515FDA #DACC51
analogous
#51A3DA #515FDA #8751DA
triadic
#515FDA #DA515F #5FDA51
tetradic
#515FDA #DA51A3 #DACC51 #51DA87
square
#515FDA #DA51A3 #DACC51 #51DA87
split-complementary
#515FDA #DA8751 #A3DA51
monochromatic
#1F2B92 #2A39C4 #515FDA #838DE5 #B6BCEF

Accessibility & contrast

On white

5.25
#515FDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#515FDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515FDA
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515FDA#FFFFFF#000000##FFFFFF
##515FDA1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072DE
Deuteranopia (green-blind)
#0066D8
Tritanopia (blue-blind)
#007D93
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #515fda;
/* rgb */ color: rgb(81, 95, 218);
/* oklch */ color: oklch(54.4% 0.187 273.6);
Tailwind
colors: {
  custom: {
    50: '#8f8ce6',
    500: '#515fda',
    950: '#000000',
  },
}
SCSS
$custom: #515fda;
$custom-light: #8f8ce6;
$custom-dark: #000000;
JSON
{
  "hex": "#515fda",
  "rgb": {
    "r": 81,
    "g": 95,
    "b": 218
  },
  "hsl": {
    "h": 233.869,
    "s": 64.929,
    "l": 58.627
  },
  "oklch": {
    "l": 0.54397,
    "c": 0.18672,
    "h": 273.6
  },
  "luminance": 0.14996
}

Semantic roles & 50–950 ramp

primary
#515FDA
secondary
#DED9A8
accent
#D740E8
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #515FDA

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

Preview Lab → · Contrast checker → · Palette generator →

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