#515D88#515D88

#515D88 is a mid, moderate blue. Relative luminance 0.114; OKLCH L 48.7% C 0.071 H 271.6°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#515D88
RGBrgb(81, 93, 136)
HSLhsl(227, 25%, 43%)
HSVhsv(227, 40%, 53%)
CMYKcmyk(40.4%, 31.6%, 0%, 46.7%)
CIE-LABlab(40.17, 6.96, -25.39)
CIE-LCHlch(40.17, 26.33, 285.33°)
OKLaboklab(48.67% 0.002 -0.0709)
OKLCHoklch(48.67% 0.071 271.6)
XYZxyz(11.7503, 11.3551, 24.8604)
Luminance0.1136 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515D88 #887C51
analogous
#517988 #515D88 #605188
triadic
#515D88 #88515D #5D8851
tetradic
#515D88 #885179 #887C51 #518860
square
#515D88 #885179 #887C51 #518860
split-complementary
#515D88 #886051 #798851
monochromatic
#23293B #3A4362 #515D88 #6E7BA8 #949EBF

Accessibility & contrast

On white

6.42
#515D88 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#515D88 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515D88
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515D88#FFFFFF#000000##FFFFFF
##515D881.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F618A
Deuteranopia (green-blind)
#4A5D87
Tritanopia (blue-blind)
#40666C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #515d88;
/* rgb */ color: rgb(81, 93, 136);
/* oklch */ color: oklch(48.7% 0.071 271.6);
Tailwind
colors: {
  custom: {
    50: '#848aab',
    500: '#515d88',
    950: '#000000',
  },
}
SCSS
$custom: #515d88;
$custom-light: #848aab;
$custom-dark: #000000;
JSON
{
  "hex": "#515d88",
  "rgb": {
    "r": 81,
    "g": 93,
    "b": 136
  },
  "hsl": {
    "h": 226.909,
    "s": 25.346,
    "l": 42.549
  },
  "oklch": {
    "l": 0.48671,
    "c": 0.07094,
    "h": 271.6
  },
  "luminance": 0.11356
}

Semantic roles & 50–950 ramp

primary
#515D88
secondary
#ACA489
accent
#AE66C2
background
#F8F8FA
surface
#EFF0F4
border
#CACBCE
text
#0B0B10
muted
#7C7C7F

Preview Lab

Preview with #515D88

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

Preview Lab → · Contrast checker → · Palette generator →

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