#515FC4#515FC4

#515FC4 is a mid, vivid blue. Relative luminance 0.139; OKLCH L 52.8% C 0.157 H 273.8°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#515FC4
RGBrgb(81, 95, 196)
HSLhsl(233, 49%, 54%)
HSVhsv(233, 59%, 77%)
CMYKcmyk(58.7%, 51.5%, 0%, 23.1%)
CIE-LABlab(44.12, 25.04, -54.64)
CIE-LCHlch(44.12, 60.11, 294.62°)
OKLaboklab(52.79% 0.0105 -0.1564)
OKLCHoklch(52.79% 0.157 273.8)
XYZxyz(17.4461, 13.9179, 53.9809)
Luminance0.1392 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515FC4 #C4B651
analogous
#5198C4 #515FC4 #7D51C4
triadic
#515FC4 #C4515F #5FC451
tetradic
#515FC4 #C45198 #C4B651 #51C47D
square
#515FC4 #C45198 #C4B651 #51C47D
split-complementary
#515FC4 #C47D51 #98C451
monochromatic
#273073 #3744A1 #515FC4 #7F89D3 #ACB3E3

Accessibility & contrast

On white

5.55
#515FC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#515FC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515FC4
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515FC4#FFFFFF#000000##FFFFFF
##515FC41.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#276DC8
Deuteranopia (green-blind)
#0964C2
Tritanopia (blue-blind)
#007688
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #515fc4;
/* rgb */ color: rgb(81, 95, 196);
/* oklch */ color: oklch(52.8% 0.157 273.8);
Tailwind
colors: {
  custom: {
    50: '#8c8cd6',
    500: '#515fc4',
    950: '#000000',
  },
}
SCSS
$custom: #515fc4;
$custom-light: #8c8cd6;
$custom-dark: #000000;
JSON
{
  "hex": "#515fc4",
  "rgb": {
    "r": 81,
    "g": 95,
    "b": 196
  },
  "hsl": {
    "h": 232.696,
    "s": 49.356,
    "l": 54.314
  },
  "oklch": {
    "l": 0.52785,
    "c": 0.15675,
    "h": 273.8
  },
  "luminance": 0.13919
}

Semantic roles & 50–950 ramp

primary
#515FC4
secondary
#D1CBA0
accent
#C84FD9
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0C14
muted
#7E7D83

Preview Lab

Preview with #515FC4

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

Preview Lab → · Contrast checker → · Palette generator →

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