#515EDB#515EDB

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

Color values

HEX#515EDB
RGBrgb(81, 94, 219)
HSLhsl(234, 66%, 59%)
HSVhsv(234, 63%, 86%)
CMYKcmyk(63%, 57.1%, 0%, 14.1%)
CIE-LABlab(45.45, 33.39, -65.68)
CIE-LCHlch(45.45, 73.68, 296.95°)
OKLaboklab(54.29% 0.0125 -0.1889)
OKLCHoklch(54.29% 0.189 273.8)
XYZxyz(20.1780, 14.8675, 68.8105)
Luminance0.1487 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515EDB #DBCE51
analogous
#51A3DB #515EDB #8951DB
triadic
#515EDB #DB515E #5EDB51
tetradic
#515EDB #DB51A3 #DBCE51 #51DB89
square
#515EDB #DB51A3 #DBCE51 #51DB89
split-complementary
#515EDB #DB8951 #A3DB51
monochromatic
#1E2993 #2938C6 #515EDB #848DE5 #B6BCF0

Accessibility & contrast

On white

5.28
#515EDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #515EDB
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515EDB#FFFFFF#000000##FFFFFF
##515EDB1.005.283.975.28
#FFFFFF5.281.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072DF
Deuteranopia (green-blind)
#0066D8
Tritanopia (blue-blind)
#007C93
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #515edb;
/* rgb */ color: rgb(81, 94, 219);
/* oklch */ color: oklch(54.3% 0.189 273.8);
Tailwind
colors: {
  custom: {
    50: '#908be7',
    500: '#515edb',
    950: '#000000',
  },
}
SCSS
$custom: #515edb;
$custom-light: #908be7;
$custom-dark: #000000;
JSON
{
  "hex": "#515edb",
  "rgb": {
    "r": 81,
    "g": 94,
    "b": 219
  },
  "hsl": {
    "h": 234.348,
    "s": 65.714,
    "l": 58.824
  },
  "oklch": {
    "l": 0.5429,
    "c": 0.18929,
    "h": 273.8
  },
  "luminance": 0.14869
}

Semantic roles & 50–950 ramp

primary
#515EDB
secondary
#DFDAA9
accent
#D93FE9
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #515EDB

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

Preview Lab → · Contrast checker → · Palette generator →

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