#515DD4#515DD4

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

Color values

HEX#515DD4
RGBrgb(81, 93, 212)
HSLhsl(235, 60%, 57%)
HSVhsv(235, 62%, 83%)
CMYKcmyk(61.8%, 56.1%, 0%, 16.9%)
CIE-LABlab(44.70, 31.66, -62.90)
CIE-LCHlch(44.70, 70.42, 296.72°)
OKLaboklab(53.57% 0.0133 -0.1807)
OKLCHoklch(53.57% 0.181 274.2)
XYZxyz(19.1874, 14.3299, 64.0294)
Luminance0.1433 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515DD4 #D4C851
analogous
#519ED4 #515DD4 #8751D4
triadic
#515DD4 #D4515D #5DD451
tetradic
#515DD4 #D4519E #D4C851 #51D487
square
#515DD4 #D4519E #D4C851 #51D487
split-complementary
#515DD4 #D48751 #9ED451
monochromatic
#222B89 #2E3BBA #515DD4 #828BE0 #B3B8EC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##515DD4#FFFFFF#000000##FFFFFF
##515DD41.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)
#0070D8
Deuteranopia (green-blind)
#0064D2
Tritanopia (blue-blind)
#00798F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #515dd4;
/* rgb */ color: rgb(81, 93, 212);
/* oklch */ color: oklch(53.6% 0.181 274.2);
Tailwind
colors: {
  custom: {
    50: '#8e8ae2',
    500: '#515dd4',
    950: '#000000',
  },
}
SCSS
$custom: #515dd4;
$custom-light: #8e8ae2;
$custom-dark: #000000;
JSON
{
  "hex": "#515dd4",
  "rgb": {
    "r": 81,
    "g": 93,
    "b": 212
  },
  "hsl": {
    "h": 234.504,
    "s": 60.369,
    "l": 57.451
  },
  "oklch": {
    "l": 0.53573,
    "c": 0.1812,
    "h": 274.2
  },
  "luminance": 0.14331
}

Semantic roles & 50–950 ramp

primary
#515DD4
secondary
#DBD6A6
accent
#D544E4
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #515DD4

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

Preview Lab → · Contrast checker → · Palette generator →

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