#515DD5#515DD5

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

Color values

HEX#515DD5
RGBrgb(81, 93, 213)
HSLhsl(235, 61%, 58%)
HSVhsv(235, 62%, 84%)
CMYKcmyk(62%, 56.3%, 0%, 16.5%)
CIE-LABlab(44.77, 32.00, -63.36)
CIE-LCHlch(44.77, 70.98, 296.80°)
OKLaboklab(53.65% 0.0133 -0.1821)
OKLCHoklch(53.65% 0.183 274.2)
XYZxyz(19.3140, 14.3805, 64.6958)
Luminance0.1438 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515DD5 #D5C951
analogous
#519FD5 #515DD5 #8751D5
triadic
#515DD5 #D5515D #5DD551
tetradic
#515DD5 #D5519F #D5C951 #51D587
square
#515DD5 #D5519F #D5C951 #51D587
split-complementary
#515DD5 #D58751 #9FD551
monochromatic
#212B8A #2D3ABC #515DD5 #828BE1 #B4B9ED

Accessibility & contrast

On white

5.42
#515DD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#515DD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515DD5
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515DD5#FFFFFF#000000##FFFFFF
##515DD51.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070D9
Deuteranopia (green-blind)
#0064D3
Tritanopia (blue-blind)
#007A90
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #515dd5;
/* rgb */ color: rgb(81, 93, 213);
/* oklch */ color: oklch(53.6% 0.183 274.2);
Tailwind
colors: {
  custom: {
    50: '#8f8ae3',
    500: '#515dd5',
    950: '#000000',
  },
}
SCSS
$custom: #515dd5;
$custom-light: #8f8ae3;
$custom-dark: #000000;
JSON
{
  "hex": "#515dd5",
  "rgb": {
    "r": 81,
    "g": 93,
    "b": 213
  },
  "hsl": {
    "h": 234.545,
    "s": 61.111,
    "l": 57.647
  },
  "oklch": {
    "l": 0.53649,
    "c": 0.18254,
    "h": 274.2
  },
  "luminance": 0.14382
}

Semantic roles & 50–950 ramp

primary
#515DD5
secondary
#DBD7A6
accent
#D644E4
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0B15
muted
#7E7C84

Preview Lab

Preview with #515DD5

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

Preview Lab → · Contrast checker → · Palette generator →

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