#515EBD#515EBD

#515EBD is a mid, vivid blue. Relative luminance 0.134; OKLCH L 52.1% C 0.148 H 274.2°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#515EBD
RGBrgb(81, 94, 189)
HSLhsl(233, 45%, 53%)
HSVhsv(233, 57%, 74%)
CMYKcmyk(57.1%, 50.3%, 0%, 25.9%)
CIE-LABlab(43.40, 23.33, -51.73)
CIE-LCHlch(43.40, 56.75, 294.27°)
OKLaboklab(52.1% 0.0109 -0.1478)
OKLCHoklch(52.1% 0.148 274.2)
XYZxyz(16.5784, 13.4277, 49.8524)
Luminance0.1343 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515EBD #BDB051
analogous
#5194BD #515EBD #7A51BD
triadic
#515EBD #BD515E #5EBD51
tetradic
#515EBD #BD5194 #BDB051 #51BD7A
square
#515EBD #BD5194 #BDB051 #51BD7A
split-complementary
#515EBD #BD7A51 #94BD51
monochromatic
#29316B #394597 #515EBD #7D87CE #AAB0DF

Accessibility & contrast

On white

5.70
#515EBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#515EBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515EBD
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515EBD#FFFFFF#000000##FFFFFF
##515EBD1.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D6BC0
Deuteranopia (green-blind)
#1A62BB
Tritanopia (blue-blind)
#0C7384
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #515ebd;
/* rgb */ color: rgb(81, 94, 189);
/* oklch */ color: oklch(52.1% 0.148 274.2);
Tailwind
colors: {
  custom: {
    50: '#8b8bd1',
    500: '#515ebd',
    950: '#000000',
  },
}
SCSS
$custom: #515ebd;
$custom-light: #8b8bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#515ebd",
  "rgb": {
    "r": 81,
    "g": 94,
    "b": 189
  },
  "hsl": {
    "h": 232.778,
    "s": 45,
    "l": 52.941
  },
  "oklch": {
    "l": 0.521,
    "c": 0.14825,
    "h": 274.2
  },
  "luminance": 0.13429
}

Semantic roles & 50–950 ramp

primary
#515EBD
secondary
#CCC79E
accent
#C553D5
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0D0C14
muted
#7D7D82

Preview Lab

Preview with #515EBD

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

Preview Lab → · Contrast checker → · Palette generator →

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