#515FCC#515FCC

#515FCC is a mid, vivid blue. Relative luminance 0.143; OKLCH L 53.4% C 0.168 H 273.8°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#515FCC
RGBrgb(81, 95, 204)
HSLhsl(233, 55%, 56%)
HSVhsv(233, 60%, 80%)
CMYKcmyk(60.3%, 53.4%, 0%, 20%)
CIE-LABlab(44.65, 27.73, -58.40)
CIE-LCHlch(44.65, 64.65, 295.40°)
OKLaboklab(53.36% 0.0111 -0.1674)
OKLCHoklch(53.36% 0.168 273.8)
XYZxyz(18.3810, 14.2919, 58.9050)
Luminance0.1429 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515FCC #CCBE51
analogous
#519CCC #515FCC #8051CC
triadic
#515FCC #CC515F #5FCC51
tetradic
#515FCC #CC519C #CCBE51 #51CC80
square
#515FCC #CC519C #CCBE51 #51CC80
split-complementary
#515FCC #CC8051 #9CCC51
monochromatic
#252F7E #3341AD #515FCC #808BDA #B0B6E8

Accessibility & contrast

On white

5.44
#515FCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#515FCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515FCC
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515FCC#FFFFFF#000000##FFFFFF
##515FCC1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#186FD0
Deuteranopia (green-blind)
#0064CA
Tritanopia (blue-blind)
#00788C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #515fcc;
/* rgb */ color: rgb(81, 95, 204);
/* oklch */ color: oklch(53.4% 0.168 273.8);
Tailwind
colors: {
  custom: {
    50: '#8d8cdc',
    500: '#515fcc',
    950: '#000000',
  },
}
SCSS
$custom: #515fcc;
$custom-light: #8d8cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#515fcc",
  "rgb": {
    "r": 81,
    "g": 95,
    "b": 204
  },
  "hsl": {
    "h": 233.171,
    "s": 54.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.53356,
    "c": 0.16781,
    "h": 273.8
  },
  "luminance": 0.14293
}

Semantic roles & 50–950 ramp

primary
#515FCC
secondary
#D6D0A3
accent
#CD4ADE
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #515FCC

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

Preview Lab → · Contrast checker → · Palette generator →

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