#515CBE#515CBE

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

Color values

HEX#515CBE
RGBrgb(81, 92, 190)
HSLhsl(234, 46%, 53%)
HSVhsv(234, 57%, 75%)
CMYKcmyk(57.4%, 51.6%, 0%, 25.5%)
CIE-LABlab(42.94, 24.92, -53.05)
CIE-LCHlch(42.94, 58.61, 295.16°)
OKLaboklab(51.78% 0.0131 -0.1517)
OKLCHoklch(51.78% 0.152 274.9)
XYZxyz(16.5117, 13.1201, 50.3676)
Luminance0.1312 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515CBE #BEB351
analogous
#5192BE #515CBE #7C51BE
triadic
#515CBE #BE515C #5CBE51
tetradic
#515CBE #BE5192 #BEB351 #51BE7C
square
#515CBE #BE5192 #BEB351 #51BE7C
split-complementary
#515CBE #BE7C51 #92BE51
monochromatic
#282F6C #394399 #515CBE #7E86CF #AAAFDF

Accessibility & contrast

On white

5.79
#515CBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#515CBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515CBE
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515CBE#FFFFFF#000000##FFFFFF
##515CBE1.005.793.625.79
#FFFFFF5.791.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#266AC1
Deuteranopia (green-blind)
#0F61BC
Tritanopia (blue-blind)
#0A7284
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #515cbe;
/* rgb */ color: rgb(81, 92, 190);
/* oklch */ color: oklch(51.8% 0.152 274.9);
Tailwind
colors: {
  custom: {
    50: '#8b8ad2',
    500: '#515cbe',
    950: '#000000',
  },
}
SCSS
$custom: #515cbe;
$custom-light: #8b8ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#515cbe",
  "rgb": {
    "r": 81,
    "g": 92,
    "b": 190
  },
  "hsl": {
    "h": 233.945,
    "s": 45.607,
    "l": 53.137
  },
  "oklch": {
    "l": 0.51776,
    "c": 0.15231,
    "h": 274.9
  },
  "luminance": 0.13121
}

Semantic roles & 50–950 ramp

primary
#515CBE
secondary
#CDC89E
accent
#C853D5
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0B14
muted
#7E7C83

Preview Lab

Preview with #515CBE

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

Preview Lab → · Contrast checker → · Palette generator →

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