#515FBE#515FBE

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

Color values

HEX#515FBE
RGBrgb(81, 95, 190)
HSLhsl(232, 46%, 53%)
HSVhsv(232, 57%, 75%)
CMYKcmyk(57.4%, 50%, 0%, 25.5%)
CIE-LABlab(43.73, 23.03, -51.79)
CIE-LCHlch(43.73, 56.68, 293.97°)
OKLaboklab(52.37% 0.01 -0.148)
OKLCHoklch(52.37% 0.148 273.8)
XYZxyz(16.7768, 13.6502, 50.4559)
Luminance0.1365 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515FBE #BEB051
analogous
#5195BE #515FBE #7951BE
triadic
#515FBE #BE515F #5FBE51
tetradic
#515FBE #BE5195 #BEB051 #51BE79
square
#515FBE #BE5195 #BEB051 #51BE79
split-complementary
#515FBE #BE7951 #95BE51
monochromatic
#28316C #394599 #515FBE #7E88CF #AAB1DF

Accessibility & contrast

On white

5.63
#515FBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#515FBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515FBE
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515FBE#FFFFFF#000000##FFFFFF
##515FBE1.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E6CC1
Deuteranopia (green-blind)
#1C63BC
Tritanopia (blue-blind)
#087485
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #515fbe;
/* rgb */ color: rgb(81, 95, 190);
/* oklch */ color: oklch(52.4% 0.148 273.8);
Tailwind
colors: {
  custom: {
    50: '#8b8cd2',
    500: '#515fbe',
    950: '#000000',
  },
}
SCSS
$custom: #515fbe;
$custom-light: #8b8cd2;
$custom-dark: #000000;
JSON
{
  "hex": "#515fbe",
  "rgb": {
    "r": 81,
    "g": 95,
    "b": 190
  },
  "hsl": {
    "h": 232.294,
    "s": 45.607,
    "l": 53.137
  },
  "oklch": {
    "l": 0.52367,
    "c": 0.14834,
    "h": 273.8
  },
  "luminance": 0.13651
}

Semantic roles & 50–950 ramp

primary
#515FBE
secondary
#CDC79E
accent
#C453D5
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0D0C14
muted
#7D7D83

Preview Lab

Preview with #515FBE

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

Preview Lab → · Contrast checker → · Palette generator →

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