#515CC3#515CC3

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

Color values

HEX#515CC3
RGBrgb(81, 92, 195)
HSLhsl(234, 49%, 54%)
HSVhsv(234, 58%, 76%)
CMYKcmyk(58.5%, 52.8%, 0%, 23.5%)
CIE-LABlab(43.27, 26.59, -55.42)
CIE-LCHlch(43.27, 61.47, 295.63°)
OKLaboklab(52.13% 0.0135 -0.1587)
OKLCHoklch(52.13% 0.159 274.9)
XYZxyz(17.0676, 13.3425, 53.2951)
Luminance0.1334 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515CC3 #C3B851
analogous
#5195C3 #515CC3 #7F51C3
triadic
#515CC3 #C3515C #5CC351
tetradic
#515CC3 #C35195 #C3B851 #51C37F
square
#515CC3 #C35195 #C3B851 #51C37F
split-complementary
#515CC3 #C37F51 #95C351
monochromatic
#272F72 #3741A0 #515CC3 #7F87D3 #ACB1E2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##515CC3#FFFFFF#000000##FFFFFF
##515CC31.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)
#1F6BC7
Deuteranopia (green-blind)
#0062C1
Tritanopia (blue-blind)
#007486
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #515cc3;
/* rgb */ color: rgb(81, 92, 195);
/* oklch */ color: oklch(52.1% 0.159 274.9);
Tailwind
colors: {
  custom: {
    50: '#8c8ad6',
    500: '#515cc3',
    950: '#000000',
  },
}
SCSS
$custom: #515cc3;
$custom-light: #8c8ad6;
$custom-dark: #000000;
JSON
{
  "hex": "#515cc3",
  "rgb": {
    "r": 81,
    "g": 92,
    "b": 195
  },
  "hsl": {
    "h": 234.211,
    "s": 48.718,
    "l": 54.118
  },
  "oklch": {
    "l": 0.52131,
    "c": 0.15929,
    "h": 274.9
  },
  "luminance": 0.13344
}

Semantic roles & 50–950 ramp

primary
#515CC3
secondary
#D0CBA0
accent
#CB50D8
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0B14
muted
#7E7C83

Preview Lab

Preview with #515CC3

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

Preview Lab → · Contrast checker → · Palette generator →

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