#515DAF#515DAF

#515DAF is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.0% C 0.130 H 274.6°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#515DAF
RGBrgb(81, 93, 175)
HSLhsl(232, 37%, 50%)
HSVhsv(232, 54%, 69%)
CMYKcmyk(53.7%, 46.9%, 0%, 31.4%)
CIE-LABlab(42.27, 19.32, -45.36)
CIE-LCHlch(42.27, 49.31, 293.07°)
OKLaboklab(50.96% 0.0104 -0.1291)
OKLCHoklch(50.96% 0.13 274.6)
XYZxyz(15.0431, 12.6722, 42.2024)
Luminance0.1267 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515DAF #AFA351
analogous
#518CAF #515DAF #7451AF
triadic
#515DAF #AF515D #5DAF51
tetradic
#515DAF #AF518C #AFA351 #51AF74
square
#515DAF #AF518C #AFA351 #51AF74
split-complementary
#515DAF #AF7451 #8CAF51
monochromatic
#2A305C #3D4785 #515DAF #7B84C2 #A5ABD6

Accessibility & contrast

On white

5.94
#515DAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#515DAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515DAF
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515DAF#FFFFFF#000000##FFFFFF
##515DAF1.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3868B2
Deuteranopia (green-blind)
#2D60AD
Tritanopia (blue-blind)
#256F7D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #515daf;
/* rgb */ color: rgb(81, 93, 175);
/* oklch */ color: oklch(51.0% 0.130 274.6);
Tailwind
colors: {
  custom: {
    50: '#898ac7',
    500: '#515daf',
    950: '#000000',
  },
}
SCSS
$custom: #515daf;
$custom-light: #898ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#515daf",
  "rgb": {
    "r": 81,
    "g": 93,
    "b": 175
  },
  "hsl": {
    "h": 232.34,
    "s": 37.008,
    "l": 50.196
  },
  "oklch": {
    "l": 0.5096,
    "c": 0.12956,
    "h": 274.6
  },
  "luminance": 0.12673
}

Semantic roles & 50–950 ramp

primary
#515DAF
secondary
#C3BE99
accent
#BE5BCD
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #515DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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