#515FA4#515FA4

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

Color values

HEX#515FA4
RGBrgb(81, 95, 164)
HSLhsl(230, 34%, 48%)
HSVhsv(230, 51%, 64%)
CMYKcmyk(50.6%, 42.1%, 0%, 35.7%)
CIE-LABlab(42.17, 14.46, -39.01)
CIE-LCHlch(42.17, 41.61, 290.34°)
OKLaboklab(50.68% 0.0062 -0.1105)
OKLCHoklch(50.68% 0.111 273.2)
XYZxyz(14.1843, 12.6132, 36.8019)
Luminance0.1261 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515FA4 #A49651
analogous
#5188A4 #515FA4 #6C51A4
triadic
#515FA4 #A4515F #5FA451
tetradic
#515FA4 #A45188 #A49651 #51A46C
square
#515FA4 #A45188 #A49651 #51A46C
split-complementary
#515FA4 #A46C51 #88A451
monochromatic
#293052 #3D477B #515FA4 #7782BC #A0A8D0

Accessibility & contrast

On white

5.96
#515FA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#515FA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515FA4
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515FA4#FFFFFF#000000##FFFFFF
##515FA41.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4367A7
Deuteranopia (green-blind)
#3B60A2
Tritanopia (blue-blind)
#2F6E79
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #515fa4;
/* rgb */ color: rgb(81, 95, 164);
/* oklch */ color: oklch(50.7% 0.111 273.2);
Tailwind
colors: {
  custom: {
    50: '#878cbf',
    500: '#515fa4',
    950: '#000000',
  },
}
SCSS
$custom: #515fa4;
$custom-light: #878cbf;
$custom-dark: #000000;
JSON
{
  "hex": "#515fa4",
  "rgb": {
    "r": 81,
    "g": 95,
    "b": 164
  },
  "hsl": {
    "h": 229.88,
    "s": 33.878,
    "l": 48.039
  },
  "oklch": {
    "l": 0.50684,
    "c": 0.11068,
    "h": 273.2
  },
  "luminance": 0.12614
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #515FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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