#515FDF#515FDF

#515FDF is a mid, vivid blue. Relative luminance 0.153; OKLCH L 54.8% C 0.193 H 273.5°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#515FDF
RGBrgb(81, 95, 223)
HSLhsl(234, 69%, 60%)
HSVhsv(234, 64%, 87%)
CMYKcmyk(63.7%, 57.4%, 0%, 12.5%)
CIE-LABlab(45.99, 34.12, -67.08)
CIE-LCHlch(45.99, 75.26, 296.96°)
OKLaboklab(54.78% 0.0117 -0.193)
OKLCHoklch(54.78% 0.193 273.5)
XYZxyz(20.8004, 15.2597, 71.6470)
Luminance0.1526 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515FDF #DFD151
analogous
#51A6DF #515FDF #8A51DF
triadic
#515FDF #DF515F #5FDF51
tetradic
#515FDF #DF51A6 #DFD151 #51DF8A
square
#515FDF #DF51A6 #DFD151 #51DF8A
split-complementary
#515FDF #DF8A51 #A6DF51
monochromatic
#1C2999 #2636CD #515FDF #858FE9 #B8BEF2

Accessibility & contrast

On white

5.18
#515FDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#515FDF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515FDF
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515FDF#FFFFFF#000000##FFFFFF
##515FDF1.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E3
Deuteranopia (green-blind)
#0067DC
Tritanopia (blue-blind)
#007E96
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #515fdf;
/* rgb */ color: rgb(81, 95, 223);
/* oklch */ color: oklch(54.8% 0.193 273.5);
Tailwind
colors: {
  custom: {
    50: '#908cea',
    500: '#515fdf',
    950: '#000000',
  },
}
SCSS
$custom: #515fdf;
$custom-light: #908cea;
$custom-dark: #000000;
JSON
{
  "hex": "#515fdf",
  "rgb": {
    "r": 81,
    "g": 95,
    "b": 223
  },
  "hsl": {
    "h": 234.085,
    "s": 68.932,
    "l": 59.608
  },
  "oklch": {
    "l": 0.5478,
    "c": 0.19334,
    "h": 273.5
  },
  "luminance": 0.15261
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #515FDF

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

Preview Lab → · Contrast checker → · Palette generator →

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