#515FA7#515FA7

#515FA7 is a mid, moderate blue. Relative luminance 0.127; OKLCH L 50.9% C 0.115 H 273.4°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#515FA7
RGBrgb(81, 95, 167)
HSLhsl(230, 35%, 49%)
HSVhsv(230, 51%, 65%)
CMYKcmyk(51.5%, 43.1%, 0%, 34.5%)
CIE-LABlab(42.34, 15.43, -40.52)
CIE-LCHlch(42.34, 43.36, 290.85°)
OKLaboklab(50.87% 0.0067 -0.1149)
OKLCHoklch(50.87% 0.115 273.4)
XYZxyz(14.4584, 12.7229, 38.2456)
Luminance0.1272 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515FA7 #A79951
analogous
#518AA7 #515FA7 #6E51A7
triadic
#515FA7 #A7515F #5FA751
tetradic
#515FA7 #A7518A #A79951 #51A76E
square
#515FA7 #A7518A #A79951 #51A76E
split-complementary
#515FA7 #A76E51 #8AA751
monochromatic
#293055 #3D487E #515FA7 #7883BD #A1A9D1

Accessibility & contrast

On white

5.92
#515FA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#515FA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515FA7
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515FA7#FFFFFF#000000##FFFFFF
##515FA71.005.923.545.92
#FFFFFF5.921.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4268AA
Deuteranopia (green-blind)
#3961A5
Tritanopia (blue-blind)
#2C6E7B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #515fa7;
/* rgb */ color: rgb(81, 95, 167);
/* oklch */ color: oklch(50.9% 0.115 273.4);
Tailwind
colors: {
  custom: {
    50: '#878cc1',
    500: '#515fa7',
    950: '#000000',
  },
}
SCSS
$custom: #515fa7;
$custom-light: #878cc1;
$custom-dark: #000000;
JSON
{
  "hex": "#515fa7",
  "rgb": {
    "r": 81,
    "g": 95,
    "b": 167
  },
  "hsl": {
    "h": 230.233,
    "s": 34.677,
    "l": 48.627
  },
  "oklch": {
    "l": 0.50868,
    "c": 0.11513,
    "h": 273.4
  },
  "luminance": 0.12724
}

Semantic roles & 50–950 ramp

primary
#515FA7
secondary
#BFB895
accent
#B95DCB
background
#F8F8FB
surface
#F0F0F7
border
#CBCBD0
text
#0C0C12
muted
#7D7D81

Preview Lab

Preview with #515FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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