#515ABC#515ABC

#515ABC is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.2% C 0.152 H 275.7°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#515ABC
RGBrgb(81, 90, 188)
HSLhsl(235, 44%, 53%)
HSVhsv(235, 57%, 74%)
CMYKcmyk(56.9%, 52.1%, 0%, 26.3%)
CIE-LABlab(42.29, 25.52, -52.93)
CIE-LCHlch(42.29, 58.76, 295.74°)
OKLaboklab(51.25% 0.0151 -0.1514)
OKLCHoklch(51.25% 0.152 275.7)
XYZxyz(16.1237, 12.6914, 49.1672)
Luminance0.1269 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515ABC #BCB351
analogous
#5190BC #515ABC #7D51BC
triadic
#515ABC #BC515A #5ABC51
tetradic
#515ABC #BC5190 #BCB351 #51BC7D
square
#515ABC #BC5190 #BCB351 #51BC7D
split-complementary
#515ABC #BC7D51 #90BC51
monochromatic
#292E6A #3A4296 #515ABC #7D84CD #A9AEDE

Accessibility & contrast

On white

5.93
#515ABC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#515ABC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515ABC
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515ABC#FFFFFF#000000##FFFFFF
##515ABC1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2368BF
Deuteranopia (green-blind)
#0C5FBA
Tritanopia (blue-blind)
#117082
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #515abc;
/* rgb */ color: rgb(81, 90, 188);
/* oklch */ color: oklch(51.2% 0.152 275.7);
Tailwind
colors: {
  custom: {
    50: '#8b88d1',
    500: '#515abc',
    950: '#000000',
  },
}
SCSS
$custom: #515abc;
$custom-light: #8b88d1;
$custom-dark: #000000;
JSON
{
  "hex": "#515abc",
  "rgb": {
    "r": 81,
    "g": 90,
    "b": 188
  },
  "hsl": {
    "h": 234.953,
    "s": 44.398,
    "l": 52.745
  },
  "oklch": {
    "l": 0.51246,
    "c": 0.15216,
    "h": 275.7
  },
  "luminance": 0.12692
}

Semantic roles & 50–950 ramp

primary
#515ABC
secondary
#CCC89D
accent
#C954D4
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0D0B14
muted
#7D7C82

Preview Lab

Preview with #515ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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