#515FDE#515FDE

#515FDE is a mid, vivid blue. Relative luminance 0.152; OKLCH L 54.7% C 0.192 H 273.5°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#515FDE
RGBrgb(81, 95, 222)
HSLhsl(234, 68%, 59%)
HSVhsv(234, 64%, 87%)
CMYKcmyk(63.5%, 57.2%, 0%, 12.9%)
CIE-LABlab(45.91, 33.79, -66.63)
CIE-LCHlch(45.91, 74.71, 296.89°)
OKLaboklab(54.7% 0.0116 -0.1917)
OKLCHoklch(54.7% 0.192 273.5)
XYZxyz(20.6660, 15.2059, 70.9390)
Luminance0.1521 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515FDE #DED051
analogous
#51A5DE #515FDE #8A51DE
triadic
#515FDE #DE515F #5FDE51
tetradic
#515FDE #DE51A5 #DED051 #51DE8A
square
#515FDE #DE51A5 #DED051 #51DE8A
split-complementary
#515FDE #DE8A51 #A5DE51
monochromatic
#1D2998 #2737CB #515FDE #848EE8 #B8BEF2

Accessibility & contrast

On white

5.20
#515FDE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#515FDE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515FDE
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515FDE#FFFFFF#000000##FFFFFF
##515FDE1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E2
Deuteranopia (green-blind)
#0067DB
Tritanopia (blue-blind)
#007E95
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #515fde;
/* rgb */ color: rgb(81, 95, 222);
/* oklch */ color: oklch(54.7% 0.192 273.5);
Tailwind
colors: {
  custom: {
    50: '#908ce9',
    500: '#515fde',
    950: '#000000',
  },
}
SCSS
$custom: #515fde;
$custom-light: #908ce9;
$custom-dark: #000000;
JSON
{
  "hex": "#515fde",
  "rgb": {
    "r": 81,
    "g": 95,
    "b": 222
  },
  "hsl": {
    "h": 234.043,
    "s": 68.116,
    "l": 59.412
  },
  "oklch": {
    "l": 0.54703,
    "c": 0.19202,
    "h": 273.5
  },
  "luminance": 0.15208
}

Semantic roles & 50–950 ramp

primary
#515FDE
secondary
#E1DBAA
accent
#DA3DEB
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #515FDE

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

Preview Lab → · Contrast checker → · Palette generator →

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