#515B98#515B98

#515B98 is a mid, moderate blue. Relative luminance 0.115; OKLCH L 49.1% C 0.098 H 275.1°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#515B98
RGBrgb(81, 91, 152)
HSLhsl(232, 30%, 46%)
HSVhsv(232, 47%, 60%)
CMYKcmyk(46.7%, 40.1%, 0%, 40.4%)
CIE-LABlab(40.41, 13.16, -34.66)
CIE-LCHlch(40.41, 37.08, 290.78°)
OKLaboklab(49.11% 0.0088 -0.0978)
OKLCHoklch(49.11% 0.098 275.1)
XYZxyz(12.8002, 11.4978, 31.2445)
Luminance0.1150 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515B98 #988E51
analogous
#517E98 #515B98 #6A5198
triadic
#515B98 #98515B #5B9851
tetradic
#515B98 #98517E #988E51 #51986A
square
#515B98 #98517E #988E51 #51986A
split-complementary
#515B98 #986A51 #7E9851
monochromatic
#262B48 #3C4370 #515B98 #727BB4 #9AA1C9

Accessibility & contrast

On white

6.36
#515B98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#515B98 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515B98
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515B98#FFFFFF#000000##FFFFFF
##515B981.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#44629A
Deuteranopia (green-blind)
#3E5D97
Tritanopia (blue-blind)
#386872
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #515b98;
/* rgb */ color: rgb(81, 91, 152);
/* oklch */ color: oklch(49.1% 0.098 275.1);
Tailwind
colors: {
  custom: {
    50: '#8689b6',
    500: '#515b98',
    950: '#000000',
  },
}
SCSS
$custom: #515b98;
$custom-light: #8689b6;
$custom-dark: #000000;
JSON
{
  "hex": "#515b98",
  "rgb": {
    "r": 81,
    "g": 91,
    "b": 152
  },
  "hsl": {
    "h": 231.549,
    "s": 30.472,
    "l": 45.686
  },
  "oklch": {
    "l": 0.49115,
    "c": 0.09822,
    "h": 275.1
  },
  "luminance": 0.11498
}

Semantic roles & 50–950 ramp

primary
#515B98
secondary
#B6B18F
accent
#B861C7
background
#F8F8FB
surface
#F0F0F6
border
#CBCBD0
text
#0B0B11
muted
#7C7C80

Preview Lab

Preview with #515B98

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

Preview Lab → · Contrast checker → · Palette generator →

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