#515FBF#515FBF

#515FBF is a mid, vivid blue. Relative luminance 0.137; OKLCH L 52.4% C 0.150 H 273.8°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#515FBF
RGBrgb(81, 95, 191)
HSLhsl(232, 46%, 53%)
HSVhsv(232, 58%, 75%)
CMYKcmyk(57.6%, 50.3%, 0%, 25.1%)
CIE-LABlab(43.79, 23.36, -52.27)
CIE-LCHlch(43.79, 57.25, 294.09°)
OKLaboklab(52.44% 0.01 -0.1494)
OKLCHoklch(52.44% 0.15 273.8)
XYZxyz(16.8865, 13.6941, 51.0335)
Luminance0.1369 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515FBF #BFB151
analogous
#5196BF #515FBF #7A51BF
triadic
#515FBF #BF515F #5FBF51
tetradic
#515FBF #BF5196 #BFB151 #51BF7A
square
#515FBF #BF5196 #BFB151 #51BF7A
split-complementary
#515FBF #BF7A51 #96BF51
monochromatic
#28316D #39459A #515FBF #7E88CF #AAB1E0

Accessibility & contrast

On white

5.62
#515FBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#515FBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515FBF
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515FBF#FFFFFF#000000##FFFFFF
##515FBF1.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D6CC2
Deuteranopia (green-blind)
#1963BD
Tritanopia (blue-blind)
#057586
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #515fbf;
/* rgb */ color: rgb(81, 95, 191);
/* oklch */ color: oklch(52.4% 0.150 273.8);
Tailwind
colors: {
  custom: {
    50: '#8b8cd3',
    500: '#515fbf',
    950: '#000000',
  },
}
SCSS
$custom: #515fbf;
$custom-light: #8b8cd3;
$custom-dark: #000000;
JSON
{
  "hex": "#515fbf",
  "rgb": {
    "r": 81,
    "g": 95,
    "b": 191
  },
  "hsl": {
    "h": 232.364,
    "s": 46.218,
    "l": 53.333
  },
  "oklch": {
    "l": 0.52436,
    "c": 0.14975,
    "h": 273.8
  },
  "luminance": 0.13695
}

Semantic roles & 50–950 ramp

primary
#515FBF
secondary
#CEC89E
accent
#C552D6
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0C14
muted
#7E7D83

Preview Lab

Preview with #515FBF

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

Preview Lab → · Contrast checker → · Palette generator →

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