#515FC2#515FC2

#515FC2 is a mid, vivid blue. Relative luminance 0.138; OKLCH L 52.6% C 0.154 H 273.8°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#515FC2
RGBrgb(81, 95, 194)
HSLhsl(233, 48%, 54%)
HSVhsv(233, 58%, 76%)
CMYKcmyk(58.2%, 51%, 0%, 23.9%)
CIE-LABlab(43.98, 24.37, -53.70)
CIE-LCHlch(43.98, 58.97, 294.41°)
OKLaboklab(52.64% 0.0103 -0.1536)
OKLCHoklch(52.64% 0.154 273.8)
XYZxyz(17.2200, 13.8275, 52.7900)
Luminance0.1383 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515FC2 #C2B451
analogous
#5198C2 #515FC2 #7C51C2
triadic
#515FC2 #C2515F #5FC251
tetradic
#515FC2 #C25198 #C2B451 #51C27C
square
#515FC2 #C25198 #C2B451 #51C27C
split-complementary
#515FC2 #C27C51 #98C251
monochromatic
#283171 #37449E #515FC2 #7E89D2 #ACB2E2

Accessibility & contrast

On white

5.58
#515FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#515FC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515FC2
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515FC2#FFFFFF#000000##FFFFFF
##515FC21.005.583.775.58
#FFFFFF5.581.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#296DC6
Deuteranopia (green-blind)
#1163C0
Tritanopia (blue-blind)
#007687
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #515fc2;
/* rgb */ color: rgb(81, 95, 194);
/* oklch */ color: oklch(52.6% 0.154 273.8);
Tailwind
colors: {
  custom: {
    50: '#8b8cd5',
    500: '#515fc2',
    950: '#000000',
  },
}
SCSS
$custom: #515fc2;
$custom-light: #8b8cd5;
$custom-dark: #000000;
JSON
{
  "hex": "#515fc2",
  "rgb": {
    "r": 81,
    "g": 95,
    "b": 194
  },
  "hsl": {
    "h": 232.566,
    "s": 48.085,
    "l": 53.922
  },
  "oklch": {
    "l": 0.52644,
    "c": 0.15397,
    "h": 273.8
  },
  "luminance": 0.13829
}

Semantic roles & 50–950 ramp

primary
#515FC2
secondary
#D0CA9F
accent
#C750D8
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0C14
muted
#7E7D83

Preview Lab

Preview with #515FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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