#515ABB#515ABB

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

Color values

HEX#515ABB
RGBrgb(81, 90, 187)
HSLhsl(235, 44%, 53%)
HSVhsv(235, 57%, 73%)
CMYKcmyk(56.7%, 51.9%, 0%, 26.7%)
CIE-LABlab(42.23, 25.19, -52.45)
CIE-LCHlch(42.23, 58.19, 295.65°)
OKLaboklab(51.18% 0.015 -0.15)
OKLCHoklch(51.18% 0.151 275.7)
XYZxyz(16.0163, 12.6484, 48.6015)
Luminance0.1265 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515ABB #BBB251
analogous
#518FBB #515ABB #7D51BB
triadic
#515ABB #BB515A #5ABB51
tetradic
#515ABB #BB518F #BBB251 #51BB7D
square
#515ABB #BB518F #BBB251 #51BB7D
split-complementary
#515ABB #BB7D51 #8FBB51
monochromatic
#292E69 #3A4295 #515ABB #7D84CC #A9ADDD

Accessibility & contrast

On white

5.95
#515ABB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#515ABB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515ABB
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515ABB#FFFFFF#000000##FFFFFF
##515ABB1.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2568BE
Deuteranopia (green-blind)
#0F5FB9
Tritanopia (blue-blind)
#137082
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #515abb;
/* rgb */ color: rgb(81, 90, 187);
/* oklch */ color: oklch(51.2% 0.151 275.7);
Tailwind
colors: {
  custom: {
    50: '#8b88d0',
    500: '#515abb',
    950: '#000000',
  },
}
SCSS
$custom: #515abb;
$custom-light: #8b88d0;
$custom-dark: #000000;
JSON
{
  "hex": "#515abb",
  "rgb": {
    "r": 81,
    "g": 90,
    "b": 187
  },
  "hsl": {
    "h": 234.906,
    "s": 43.802,
    "l": 52.549
  },
  "oklch": {
    "l": 0.51175,
    "c": 0.15076,
    "h": 275.7
  },
  "luminance": 0.1265
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #515ABB

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

Preview Lab → · Contrast checker → · Palette generator →

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