#515FA3#515FA3

#515FA3 is a mid, moderate blue. Relative luminance 0.126; OKLCH L 50.6% C 0.109 H 273.1°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#515FA3
RGBrgb(81, 95, 163)
HSLhsl(230, 34%, 48%)
HSVhsv(230, 50%, 64%)
CMYKcmyk(50.3%, 41.7%, 0%, 36.1%)
CIE-LABlab(42.12, 14.14, -38.51)
CIE-LCHlch(42.12, 41.02, 290.16°)
OKLaboklab(50.62% 0.006 -0.109)
OKLCHoklch(50.62% 0.109 273.1)
XYZxyz(14.0943, 12.5772, 36.3282)
Luminance0.1258 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515FA3 #A39551
analogous
#5188A3 #515FA3 #6C51A3
triadic
#515FA3 #A3515F #5FA351
tetradic
#515FA3 #A35188 #A39551 #51A36C
square
#515FA3 #A35188 #A39551 #51A36C
split-complementary
#515FA3 #A36C51 #88A351
monochromatic
#282F51 #3D477A #515FA3 #7682BB #9FA7CF

Accessibility & contrast

On white

5.97
#515FA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #515FA3
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515FA3#FFFFFF#000000##FFFFFF
##515FA31.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4467A6
Deuteranopia (green-blind)
#3C60A1
Tritanopia (blue-blind)
#306D79
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #515fa3;
/* rgb */ color: rgb(81, 95, 163);
/* oklch */ color: oklch(50.6% 0.109 273.1);
Tailwind
colors: {
  custom: {
    50: '#878cbe',
    500: '#515fa3',
    950: '#000000',
  },
}
SCSS
$custom: #515fa3;
$custom-light: #878cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#515fa3",
  "rgb": {
    "r": 81,
    "g": 95,
    "b": 163
  },
  "hsl": {
    "h": 229.756,
    "s": 33.607,
    "l": 47.843
  },
  "oklch": {
    "l": 0.50624,
    "c": 0.10919,
    "h": 273.1
  },
  "luminance": 0.12578
}

Semantic roles & 50–950 ramp

primary
#515FA3
secondary
#BCB593
accent
#B75ECA
background
#F8F8FB
surface
#F0F0F7
border
#CBCBD0
text
#0C0C12
muted
#7D7D81

Preview Lab

Preview with #515FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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