#515FDD#515FDD

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

Color values

HEX#515FDD
RGBrgb(81, 95, 221)
HSLhsl(234, 67%, 59%)
HSVhsv(234, 63%, 87%)
CMYKcmyk(63.3%, 57%, 0%, 13.3%)
CIE-LABlab(45.84, 33.45, -66.18)
CIE-LCHlch(45.84, 74.15, 296.81°)
OKLaboklab(54.63% 0.0116 -0.1903)
OKLCHoklch(54.63% 0.191 273.5)
XYZxyz(20.5324, 15.1525, 70.2353)
Luminance0.1515 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515FDD #DDCF51
analogous
#51A5DD #515FDD #8951DD
triadic
#515FDD #DD515F #5FDD51
tetradic
#515FDD #DD51A5 #DDCF51 #51DD89
square
#515FDD #DD51A5 #DDCF51 #51DD89
split-complementary
#515FDD #DD8951 #A5DD51
monochromatic
#1D2996 #2738C9 #515FDD #848EE7 #B7BDF1

Accessibility & contrast

On white

5.21
#515FDD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#515FDD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515FDD
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515FDD#FFFFFF#000000##FFFFFF
##515FDD1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E1
Deuteranopia (green-blind)
#0067DA
Tritanopia (blue-blind)
#007D95
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #515fdd;
/* rgb */ color: rgb(81, 95, 221);
/* oklch */ color: oklch(54.6% 0.191 273.5);
Tailwind
colors: {
  custom: {
    50: '#908ce8',
    500: '#515fdd',
    950: '#000000',
  },
}
SCSS
$custom: #515fdd;
$custom-light: #908ce8;
$custom-dark: #000000;
JSON
{
  "hex": "#515fdd",
  "rgb": {
    "r": 81,
    "g": 95,
    "b": 221
  },
  "hsl": {
    "h": 234,
    "s": 67.308,
    "l": 59.216
  },
  "oklch": {
    "l": 0.54626,
    "c": 0.1907,
    "h": 273.5
  },
  "luminance": 0.15154
}

Semantic roles & 50–950 ramp

primary
#515FDD
secondary
#E0DBAA
accent
#D93EEA
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #515FDD

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

Preview Lab → · Contrast checker → · Palette generator →

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