#515EC3#515EC3

#515EC3 is a mid, vivid blue. Relative luminance 0.137; OKLCH L 52.5% C 0.157 H 274.2°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#515EC3
RGBrgb(81, 94, 195)
HSLhsl(233, 49%, 54%)
HSVhsv(233, 58%, 76%)
CMYKcmyk(58.5%, 51.8%, 0%, 23.5%)
CIE-LABlab(43.79, 25.33, -54.59)
CIE-LCHlch(43.79, 60.18, 294.89°)
OKLaboklab(52.52% 0.0114 -0.1562)
OKLCHoklch(52.52% 0.157 274.2)
XYZxyz(17.2432, 13.6936, 53.3536)
Luminance0.1369 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515EC3 #C3B651
analogous
#5197C3 #515EC3 #7D51C3
triadic
#515EC3 #C3515E #5EC351
tetradic
#515EC3 #C35197 #C3B651 #51C37D
square
#515EC3 #C35197 #C3B651 #51C37D
split-complementary
#515EC3 #C37D51 #97C351
monochromatic
#273072 #3743A0 #515EC3 #7F88D3 #ACB2E2

Accessibility & contrast

On white

5.62
#515EC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#515EC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515EC3
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515EC3#FFFFFF#000000##FFFFFF
##515EC31.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#256DC7
Deuteranopia (green-blind)
#0763C1
Tritanopia (blue-blind)
#007587
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #515ec3;
/* rgb */ color: rgb(81, 94, 195);
/* oklch */ color: oklch(52.5% 0.157 274.2);
Tailwind
colors: {
  custom: {
    50: '#8c8bd6',
    500: '#515ec3',
    950: '#000000',
  },
}
SCSS
$custom: #515ec3;
$custom-light: #8c8bd6;
$custom-dark: #000000;
JSON
{
  "hex": "#515ec3",
  "rgb": {
    "r": 81,
    "g": 94,
    "b": 195
  },
  "hsl": {
    "h": 233.158,
    "s": 48.718,
    "l": 54.118
  },
  "oklch": {
    "l": 0.52519,
    "c": 0.15667,
    "h": 274.2
  },
  "luminance": 0.13695
}

Semantic roles & 50–950 ramp

primary
#515EC3
secondary
#D0CBA0
accent
#C950D8
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0C14
muted
#7E7D83

Preview Lab

Preview with #515EC3

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

Preview Lab → · Contrast checker → · Palette generator →

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