#515CBB#515CBB

#515CBB is a mid, vivid blue. Relative luminance 0.130; OKLCH L 51.6% C 0.148 H 275.0°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#515CBB
RGBrgb(81, 92, 187)
HSLhsl(234, 44%, 53%)
HSVhsv(234, 57%, 73%)
CMYKcmyk(56.7%, 50.8%, 0%, 26.7%)
CIE-LABlab(42.75, 23.92, -51.62)
CIE-LCHlch(42.75, 56.89, 294.87°)
OKLaboklab(51.57% 0.0129 -0.1475)
OKLCHoklch(51.57% 0.148 275)
XYZxyz(16.1872, 12.9903, 48.6585)
Luminance0.1299 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515CBB #BBB051
analogous
#5191BB #515CBB #7B51BB
triadic
#515CBB #BB515C #5CBB51
tetradic
#515CBB #BB5191 #BBB051 #51BB7B
square
#515CBB #BB5191 #BBB051 #51BB7B
split-complementary
#515CBB #BB7B51 #91BB51
monochromatic
#293069 #3A4495 #515CBB #7D85CC #A9AEDD

Accessibility & contrast

On white

5.84
#515CBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#515CBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515CBB
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515CBB#FFFFFF#000000##FFFFFF
##515CBB1.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A6ABE
Deuteranopia (green-blind)
#1861B9
Tritanopia (blue-blind)
#127183
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #515cbb;
/* rgb */ color: rgb(81, 92, 187);
/* oklch */ color: oklch(51.6% 0.148 275.0);
Tailwind
colors: {
  custom: {
    50: '#8a8ad0',
    500: '#515cbb',
    950: '#000000',
  },
}
SCSS
$custom: #515cbb;
$custom-light: #8a8ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#515cbb",
  "rgb": {
    "r": 81,
    "g": 92,
    "b": 187
  },
  "hsl": {
    "h": 233.774,
    "s": 43.802,
    "l": 52.549
  },
  "oklch": {
    "l": 0.51567,
    "c": 0.14809,
    "h": 275
  },
  "luminance": 0.12991
}

Semantic roles & 50–950 ramp

primary
#515CBB
secondary
#CBC69D
accent
#C654D4
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0D0B14
muted
#7D7C82

Preview Lab

Preview with #515CBB

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

Preview Lab → · Contrast checker → · Palette generator →

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