#515FA5#515FA5

#515FA5 is a mid, moderate blue. Relative luminance 0.127; OKLCH L 50.7% C 0.112 H 273.2°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#515FA5
RGBrgb(81, 95, 165)
HSLhsl(230, 34%, 48%)
HSVhsv(230, 51%, 65%)
CMYKcmyk(50.9%, 42.4%, 0%, 35.3%)
CIE-LABlab(42.23, 14.78, -39.52)
CIE-LCHlch(42.23, 42.19, 290.51°)
OKLaboklab(50.75% 0.0064 -0.112)
OKLCHoklch(50.75% 0.112 273.2)
XYZxyz(14.2749, 12.6495, 37.2794)
Luminance0.1265 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515FA5 #A59751
analogous
#5189A5 #515FA5 #6D51A5
triadic
#515FA5 #A5515F #5FA551
tetradic
#515FA5 #A55189 #A59751 #51A56D
square
#515FA5 #A55189 #A59751 #51A56D
split-complementary
#515FA5 #A56D51 #89A551
monochromatic
#293053 #3D477C #515FA5 #7783BC #A0A8D0

Accessibility & contrast

On white

5.95
#515FA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#515FA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515FA5
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515FA5#FFFFFF#000000##FFFFFF
##515FA51.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4367A8
Deuteranopia (green-blind)
#3A60A3
Tritanopia (blue-blind)
#2E6E7A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #515fa5;
/* rgb */ color: rgb(81, 95, 165);
/* oklch */ color: oklch(50.7% 0.112 273.2);
Tailwind
colors: {
  custom: {
    50: '#878cc0',
    500: '#515fa5',
    950: '#000000',
  },
}
SCSS
$custom: #515fa5;
$custom-light: #878cc0;
$custom-dark: #000000;
JSON
{
  "hex": "#515fa5",
  "rgb": {
    "r": 81,
    "g": 95,
    "b": 165
  },
  "hsl": {
    "h": 230,
    "s": 34.146,
    "l": 48.235
  },
  "oklch": {
    "l": 0.50745,
    "c": 0.11216,
    "h": 273.2
  },
  "luminance": 0.1265
}

Semantic roles & 50–950 ramp

primary
#515FA5
secondary
#BDB794
accent
#B85ECA
background
#F8F8FB
surface
#F0F0F7
border
#CBCBD0
text
#0C0C12
muted
#7D7D81

Preview Lab

Preview with #515FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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