#515EAF#515EAF

#515EAF is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.2% C 0.128 H 274.1°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#515EAF
RGBrgb(81, 94, 175)
HSLhsl(232, 37%, 50%)
HSVhsv(232, 54%, 69%)
CMYKcmyk(53.7%, 46.3%, 0%, 31.4%)
CIE-LABlab(42.53, 18.68, -44.93)
CIE-LCHlch(42.53, 48.66, 292.58°)
OKLaboklab(51.17% 0.0092 -0.1279)
OKLCHoklch(51.17% 0.128 274.1)
XYZxyz(15.1314, 12.8489, 42.2319)
Luminance0.1285 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515EAF #AFA251
analogous
#518DAF #515EAF #7351AF
triadic
#515EAF #AF515E #5EAF51
tetradic
#515EAF #AF518D #AFA251 #51AF73
square
#515EAF #AF518D #AFA251 #51AF73
split-complementary
#515EAF #AF7351 #8DAF51
monochromatic
#2A315C #3D4785 #515EAF #7B85C2 #A5ACD6

Accessibility & contrast

On white

5.88
#515EAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#515EAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515EAF
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515EAF#FFFFFF#000000##FFFFFF
##515EAF1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A69B2
Deuteranopia (green-blind)
#2F61AD
Tritanopia (blue-blind)
#25707E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #515eaf;
/* rgb */ color: rgb(81, 94, 175);
/* oklch */ color: oklch(51.2% 0.128 274.1);
Tailwind
colors: {
  custom: {
    50: '#898bc7',
    500: '#515eaf',
    950: '#000000',
  },
}
SCSS
$custom: #515eaf;
$custom-light: #898bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#515eaf",
  "rgb": {
    "r": 81,
    "g": 94,
    "b": 175
  },
  "hsl": {
    "h": 231.702,
    "s": 37.008,
    "l": 50.196
  },
  "oklch": {
    "l": 0.51165,
    "c": 0.1282,
    "h": 274.1
  },
  "luminance": 0.1285
}

Semantic roles & 50–950 ramp

primary
#515EAF
secondary
#C3BD99
accent
#BD5BCD
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0C13
muted
#7D7D82

Preview Lab

Preview with #515EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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