#515EB9#515EB9

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

Color values

HEX#515EB9
RGBrgb(81, 94, 185)
HSLhsl(233, 43%, 52%)
HSVhsv(233, 56%, 73%)
CMYKcmyk(56.2%, 49.2%, 0%, 27.5%)
CIE-LABlab(43.15, 21.99, -49.81)
CIE-LCHlch(43.15, 54.45, 293.82°)
OKLaboklab(51.83% 0.0105 -0.1422)
OKLCHoklch(51.83% 0.143 274.2)
XYZxyz(16.1502, 13.2564, 47.5972)
Luminance0.1326 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515EB9 #B9AC51
analogous
#5192B9 #515EB9 #7851B9
triadic
#515EB9 #B9515E #5EB951
tetradic
#515EB9 #B95192 #B9AC51 #51B978
square
#515EB9 #B95192 #B9AC51 #51B978
split-complementary
#515EB9 #B97851 #92B951
monochromatic
#293166 #3B4692 #515EB9 #7D86CB #A8AFDC

Accessibility & contrast

On white

5.75
#515EB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#515EB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515EB9
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515EB9#FFFFFF#000000##FFFFFF
##515EB91.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#316ABC
Deuteranopia (green-blind)
#2262B7
Tritanopia (blue-blind)
#167283
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #515eb9;
/* rgb */ color: rgb(81, 94, 185);
/* oklch */ color: oklch(51.8% 0.143 274.2);
Tailwind
colors: {
  custom: {
    50: '#8a8bce',
    500: '#515eb9',
    950: '#000000',
  },
}
SCSS
$custom: #515eb9;
$custom-light: #8a8bce;
$custom-dark: #000000;
JSON
{
  "hex": "#515eb9",
  "rgb": {
    "r": 81,
    "g": 94,
    "b": 185
  },
  "hsl": {
    "h": 232.5,
    "s": 42.623,
    "l": 52.157
  },
  "oklch": {
    "l": 0.51827,
    "c": 0.14259,
    "h": 274.2
  },
  "luminance": 0.13258
}

Semantic roles & 50–950 ramp

primary
#515EB9
secondary
#CAC49C
accent
#C355D2
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0C0C14
muted
#7D7D82

Preview Lab

Preview with #515EB9

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

Preview Lab → · Contrast checker → · Palette generator →

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