#515DDF#515DDF

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

Color values

HEX#515DDF
RGBrgb(81, 93, 223)
HSLhsl(235, 69%, 60%)
HSVhsv(235, 64%, 87%)
CMYKcmyk(63.7%, 58.3%, 0%, 12.5%)
CIE-LABlab(45.50, 35.35, -67.87)
CIE-LCHlch(45.50, 76.53, 297.51°)
OKLaboklab(54.42% 0.0134 -0.1953)
OKLCHoklch(54.42% 0.196 273.9)
XYZxyz(20.6226, 14.9040, 71.5877)
Luminance0.1491 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515DDF #DFD351
analogous
#51A4DF #515DDF #8C51DF
triadic
#515DDF #DF515D #5DDF51
tetradic
#515DDF #DF51A4 #DFD351 #51DF8C
square
#515DDF #DF51A4 #DFD351 #51DF8C
split-complementary
#515DDF #DF8C51 #A4DF51
monochromatic
#1C2799 #2634CD #515DDF #858DE9 #B8BDF2

Accessibility & contrast

On white

5.27
#515DDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#515DDF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515DDF
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515DDF#FFFFFF#000000##FFFFFF
##515DDF1.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E3
Deuteranopia (green-blind)
#0066DC
Tritanopia (blue-blind)
#007D95
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #515ddf;
/* rgb */ color: rgb(81, 93, 223);
/* oklch */ color: oklch(54.4% 0.196 273.9);
Tailwind
colors: {
  custom: {
    50: '#908bea',
    500: '#515ddf',
    950: '#000000',
  },
}
SCSS
$custom: #515ddf;
$custom-light: #908bea;
$custom-dark: #000000;
JSON
{
  "hex": "#515ddf",
  "rgb": {
    "r": 81,
    "g": 93,
    "b": 223
  },
  "hsl": {
    "h": 234.93,
    "s": 68.932,
    "l": 59.608
  },
  "oklch": {
    "l": 0.5442,
    "c": 0.19579,
    "h": 273.9
  },
  "luminance": 0.14906
}

Semantic roles & 50–950 ramp

primary
#515DDF
secondary
#E1DDAA
accent
#DD3CEC
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #515DDF

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

Preview Lab → · Contrast checker → · Palette generator →

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