#515DDE#515DDE

#515DDE is a mid, vivid blue. Relative luminance 0.149; OKLCH L 54.3% C 0.194 H 273.9°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#515DDE
RGBrgb(81, 93, 222)
HSLhsl(235, 68%, 59%)
HSVhsv(235, 64%, 87%)
CMYKcmyk(63.5%, 58.1%, 0%, 12.9%)
CIE-LABlab(45.43, 35.02, -67.42)
CIE-LCHlch(45.43, 75.97, 297.45°)
OKLaboklab(54.34% 0.0134 -0.194)
OKLCHoklch(54.34% 0.194 273.9)
XYZxyz(20.4881, 14.8502, 70.8798)
Luminance0.1485 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515DDE #DED251
analogous
#51A3DE #515DDE #8C51DE
triadic
#515DDE #DE515D #5DDE51
tetradic
#515DDE #DE51A3 #DED251 #51DE8C
square
#515DDE #DE51A3 #DED251 #51DE8C
split-complementary
#515DDE #DE8C51 #A3DE51
monochromatic
#1D2798 #2735CB #515DDE #848DE8 #B8BDF2

Accessibility & contrast

On white

5.29
#515DDE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#515DDE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515DDE
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515DDE#FFFFFF#000000##FFFFFF
##515DDE1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E2
Deuteranopia (green-blind)
#0065DB
Tritanopia (blue-blind)
#007C94
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #515dde;
/* rgb */ color: rgb(81, 93, 222);
/* oklch */ color: oklch(54.3% 0.194 273.9);
Tailwind
colors: {
  custom: {
    50: '#908be9',
    500: '#515dde',
    950: '#000000',
  },
}
SCSS
$custom: #515dde;
$custom-light: #908be9;
$custom-dark: #000000;
JSON
{
  "hex": "#515dde",
  "rgb": {
    "r": 81,
    "g": 93,
    "b": 222
  },
  "hsl": {
    "h": 234.894,
    "s": 68.116,
    "l": 59.412
  },
  "oklch": {
    "l": 0.54342,
    "c": 0.19447,
    "h": 273.9
  },
  "luminance": 0.14852
}

Semantic roles & 50–950 ramp

primary
#515DDE
secondary
#E1DCAA
accent
#DC3DEB
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #515DDE

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

Preview Lab → · Contrast checker → · Palette generator →

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