#515FBC#515FBC

#515FBC is a mid, vivid blue. Relative luminance 0.136; OKLCH L 52.2% C 0.146 H 273.8°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#515FBC
RGBrgb(81, 95, 188)
HSLhsl(232, 44%, 53%)
HSVhsv(232, 57%, 74%)
CMYKcmyk(56.9%, 49.5%, 0%, 26.3%)
CIE-LABlab(43.60, 22.36, -50.83)
CIE-LCHlch(43.60, 55.53, 293.75°)
OKLaboklab(52.23% 0.0097 -0.1452)
OKLCHoklch(52.23% 0.146 273.8)
XYZxyz(16.5597, 13.5634, 49.3126)
Luminance0.1356 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515FBC #BCAE51
analogous
#5194BC #515FBC #7951BC
triadic
#515FBC #BC515F #5FBC51
tetradic
#515FBC #BC5194 #BCAE51 #51BC79
square
#515FBC #BC5194 #BCAE51 #51BC79
split-complementary
#515FBC #BC7951 #94BC51
monochromatic
#29316A #3A4696 #515FBC #7D88CD #A9B0DE

Accessibility & contrast

On white

5.66
#515FBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#515FBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515FBC
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515FBC#FFFFFF#000000##FFFFFF
##515FBC1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#306CBF
Deuteranopia (green-blind)
#2063BA
Tritanopia (blue-blind)
#0F7484
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #515fbc;
/* rgb */ color: rgb(81, 95, 188);
/* oklch */ color: oklch(52.2% 0.146 273.8);
Tailwind
colors: {
  custom: {
    50: '#8a8cd1',
    500: '#515fbc',
    950: '#000000',
  },
}
SCSS
$custom: #515fbc;
$custom-light: #8a8cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#515fbc",
  "rgb": {
    "r": 81,
    "g": 95,
    "b": 188
  },
  "hsl": {
    "h": 232.15,
    "s": 44.398,
    "l": 52.745
  },
  "oklch": {
    "l": 0.52231,
    "c": 0.14552,
    "h": 273.8
  },
  "luminance": 0.13565
}

Semantic roles & 50–950 ramp

primary
#515FBC
secondary
#CCC69D
accent
#C354D4
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0D0C14
muted
#7D7D82

Preview Lab

Preview with #515FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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