#515CBF#515CBF

#515CBF is a mid, vivid blue. Relative luminance 0.132; OKLCH L 51.8% C 0.154 H 274.9°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#515CBF
RGBrgb(81, 92, 191)
HSLhsl(234, 46%, 53%)
HSVhsv(234, 58%, 75%)
CMYKcmyk(57.6%, 51.8%, 0%, 25.1%)
CIE-LABlab(43.01, 25.26, -53.53)
CIE-LCHlch(43.01, 59.19, 295.26°)
OKLaboklab(51.85% 0.0132 -0.1531)
OKLCHoklch(51.85% 0.154 274.9)
XYZxyz(16.6214, 13.1640, 50.9451)
Luminance0.1316 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515CBF #BFB451
analogous
#5193BF #515CBF #7D51BF
triadic
#515CBF #BF515C #5CBF51
tetradic
#515CBF #BF5193 #BFB451 #51BF7D
square
#515CBF #BF5193 #BFB451 #51BF7D
split-complementary
#515CBF #BF7D51 #93BF51
monochromatic
#282F6D #39429A #515CBF #7E86CF #AAB0E0

Accessibility & contrast

On white

5.78
#515CBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#515CBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515CBF
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515CBF#FFFFFF#000000##FFFFFF
##515CBF1.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#256AC3
Deuteranopia (green-blind)
#0C61BD
Tritanopia (blue-blind)
#067385
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #515cbf;
/* rgb */ color: rgb(81, 92, 191);
/* oklch */ color: oklch(51.8% 0.154 274.9);
Tailwind
colors: {
  custom: {
    50: '#8b8ad3',
    500: '#515cbf',
    950: '#000000',
  },
}
SCSS
$custom: #515cbf;
$custom-light: #8b8ad3;
$custom-dark: #000000;
JSON
{
  "hex": "#515cbf",
  "rgb": {
    "r": 81,
    "g": 92,
    "b": 191
  },
  "hsl": {
    "h": 234,
    "s": 46.218,
    "l": 53.333
  },
  "oklch": {
    "l": 0.51847,
    "c": 0.15371,
    "h": 274.9
  },
  "luminance": 0.13165
}

Semantic roles & 50–950 ramp

primary
#515CBF
secondary
#CEC99E
accent
#C952D6
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0B14
muted
#7E7C83

Preview Lab

Preview with #515CBF

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

Preview Lab → · Contrast checker → · Palette generator →

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