#515FA8#515FA8

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

Color values

HEX#515FA8
RGBrgb(81, 95, 168)
HSLhsl(230, 35%, 49%)
HSVhsv(230, 52%, 66%)
CMYKcmyk(51.8%, 43.5%, 0%, 34.1%)
CIE-LABlab(42.40, 15.76, -41.02)
CIE-LCHlch(42.40, 43.95, 291.01°)
OKLaboklab(50.93% 0.0069 -0.1164)
OKLCHoklch(50.93% 0.117 273.4)
XYZxyz(14.5512, 12.7600, 38.7344)
Luminance0.1276 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515FA8 #A89A51
analogous
#518BA8 #515FA8 #6F51A8
triadic
#515FA8 #A8515F #5FA851
tetradic
#515FA8 #A8518B #A89A51 #51A86F
square
#515FA8 #A8518B #A89A51 #51A86F
split-complementary
#515FA8 #A86F51 #8BA851
monochromatic
#293055 #3D487F #515FA8 #7883BE #A1A9D2

Accessibility & contrast

On white

5.91
#515FA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#515FA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515FA8
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515FA8#FFFFFF#000000##FFFFFF
##515FA81.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4168AB
Deuteranopia (green-blind)
#3861A6
Tritanopia (blue-blind)
#2B6F7B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #515fa8;
/* rgb */ color: rgb(81, 95, 168);
/* oklch */ color: oklch(50.9% 0.117 273.4);
Tailwind
colors: {
  custom: {
    50: '#888cc2',
    500: '#515fa8',
    950: '#000000',
  },
}
SCSS
$custom: #515fa8;
$custom-light: #888cc2;
$custom-dark: #000000;
JSON
{
  "hex": "#515fa8",
  "rgb": {
    "r": 81,
    "g": 95,
    "b": 168
  },
  "hsl": {
    "h": 230.345,
    "s": 34.94,
    "l": 48.824
  },
  "oklch": {
    "l": 0.50929,
    "c": 0.11659,
    "h": 273.4
  },
  "luminance": 0.12761
}

Semantic roles & 50–950 ramp

primary
#515FA8
secondary
#BFB896
accent
#B95DCB
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0C12
muted
#7D7D81

Preview Lab

Preview with #515FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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