#515CDD#515CDD

#515CDD is a mid, vivid blue. Relative luminance 0.146; OKLCH L 54.1% C 0.194 H 274.2°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#515CDD
RGBrgb(81, 92, 221)
HSLhsl(235, 67%, 59%)
HSVhsv(235, 63%, 87%)
CMYKcmyk(63.3%, 58.4%, 0%, 13.3%)
CIE-LABlab(45.11, 35.30, -67.37)
CIE-LCHlch(45.11, 76.06, 297.65°)
OKLaboklab(54.08% 0.0142 -0.1939)
OKLCHoklch(54.08% 0.194 274.2)
XYZxyz(20.2673, 14.6224, 70.1469)
Luminance0.1462 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515CDD #DDD251
analogous
#51A2DD #515CDD #8C51DD
triadic
#515CDD #DD515C #5CDD51
tetradic
#515CDD #DD51A2 #DDD251 #51DD8C
square
#515CDD #DD51A2 #DDD251 #51DD8C
split-complementary
#515CDD #DD8C51 #A2DD51
monochromatic
#1D2796 #2734C9 #515CDD #848CE7 #B7BCF1

Accessibility & contrast

On white

5.35
#515CDD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#515CDD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515CDD
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515CDD#FFFFFF#000000##FFFFFF
##515CDD1.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E1
Deuteranopia (green-blind)
#0065DA
Tritanopia (blue-blind)
#007C94
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #515cdd;
/* rgb */ color: rgb(81, 92, 221);
/* oklch */ color: oklch(54.1% 0.194 274.2);
Tailwind
colors: {
  custom: {
    50: '#908ae8',
    500: '#515cdd',
    950: '#000000',
  },
}
SCSS
$custom: #515cdd;
$custom-light: #908ae8;
$custom-dark: #000000;
JSON
{
  "hex": "#515cdd",
  "rgb": {
    "r": 81,
    "g": 92,
    "b": 221
  },
  "hsl": {
    "h": 235.286,
    "s": 67.308,
    "l": 59.216
  },
  "oklch": {
    "l": 0.54084,
    "c": 0.19438,
    "h": 274.2
  },
  "luminance": 0.14624
}

Semantic roles & 50–950 ramp

primary
#515CDD
secondary
#E0DCAA
accent
#DD3EEA
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #515CDD

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

Preview Lab → · Contrast checker → · Palette generator →

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