#515EBB#515EBB

#515EBB is a mid, vivid blue. Relative luminance 0.133; OKLCH L 52.0% C 0.145 H 274.2°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#515EBB
RGBrgb(81, 94, 187)
HSLhsl(233, 44%, 53%)
HSVhsv(233, 57%, 73%)
CMYKcmyk(56.7%, 49.7%, 0%, 26.7%)
CIE-LABlab(43.27, 22.66, -50.77)
CIE-LCHlch(43.27, 55.60, 294.05°)
OKLaboklab(51.96% 0.0107 -0.145)
OKLCHoklch(51.96% 0.145 274.2)
XYZxyz(16.3628, 13.3414, 48.7170)
Luminance0.1334 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515EBB #BBAE51
analogous
#5193BB #515EBB #7951BB
triadic
#515EBB #BB515E #5EBB51
tetradic
#515EBB #BB5193 #BBAE51 #51BB79
square
#515EBB #BB5193 #BBAE51 #51BB79
split-complementary
#515EBB #BB7951 #93BB51
monochromatic
#293169 #3A4595 #515EBB #7D87CC #A9AFDD

Accessibility & contrast

On white

5.72
#515EBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#515EBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515EBB
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515EBB#FFFFFF#000000##FFFFFF
##515EBB1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F6BBE
Deuteranopia (green-blind)
#1E62B9
Tritanopia (blue-blind)
#127383
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #515ebb;
/* rgb */ color: rgb(81, 94, 187);
/* oklch */ color: oklch(52.0% 0.145 274.2);
Tailwind
colors: {
  custom: {
    50: '#8a8bd0',
    500: '#515ebb',
    950: '#000000',
  },
}
SCSS
$custom: #515ebb;
$custom-light: #8a8bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#515ebb",
  "rgb": {
    "r": 81,
    "g": 94,
    "b": 187
  },
  "hsl": {
    "h": 232.642,
    "s": 43.802,
    "l": 52.549
  },
  "oklch": {
    "l": 0.51963,
    "c": 0.14542,
    "h": 274.2
  },
  "luminance": 0.13343
}

Semantic roles & 50–950 ramp

primary
#515EBB
secondary
#CBC59D
accent
#C454D4
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0D0C14
muted
#7D7D82

Preview Lab

Preview with #515EBB

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

Preview Lab → · Contrast checker → · Palette generator →

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