#515FBD#515FBD

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

Color values

HEX#515FBD
RGBrgb(81, 95, 189)
HSLhsl(232, 45%, 53%)
HSVhsv(232, 57%, 74%)
CMYKcmyk(57.1%, 49.7%, 0%, 25.9%)
CIE-LABlab(43.66, 22.70, -51.31)
CIE-LCHlch(43.66, 56.11, 293.86°)
OKLaboklab(52.3% 0.0098 -0.1466)
OKLCHoklch(52.3% 0.147 273.8)
XYZxyz(16.6679, 13.6067, 49.8823)
Luminance0.1361 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515FBD #BDAF51
analogous
#5195BD #515FBD #7951BD
triadic
#515FBD #BD515F #5FBD51
tetradic
#515FBD #BD5195 #BDAF51 #51BD79
square
#515FBD #BD5195 #BDAF51 #51BD79
split-complementary
#515FBD #BD7951 #95BD51
monochromatic
#29316B #394697 #515FBD #7D88CE #AAB1DF

Accessibility & contrast

On white

5.64
#515FBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#515FBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515FBD
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515FBD#FFFFFF#000000##FFFFFF
##515FBD1.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F6CC0
Deuteranopia (green-blind)
#1E63BB
Tritanopia (blue-blind)
#0C7485
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #515fbd;
/* rgb */ color: rgb(81, 95, 189);
/* oklch */ color: oklch(52.3% 0.147 273.8);
Tailwind
colors: {
  custom: {
    50: '#8b8cd1',
    500: '#515fbd',
    950: '#000000',
  },
}
SCSS
$custom: #515fbd;
$custom-light: #8b8cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#515fbd",
  "rgb": {
    "r": 81,
    "g": 95,
    "b": 189
  },
  "hsl": {
    "h": 232.222,
    "s": 45,
    "l": 52.941
  },
  "oklch": {
    "l": 0.52299,
    "c": 0.14693,
    "h": 273.8
  },
  "luminance": 0.13608
}

Semantic roles & 50–950 ramp

primary
#515FBD
secondary
#CCC69E
accent
#C453D5
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0D0C14
muted
#7D7D82

Preview Lab

Preview with #515FBD

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

Preview Lab → · Contrast checker → · Palette generator →

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