#515EB3#515EB3

#515EB3 is a mid, vivid blue. Relative luminance 0.130; OKLCH L 51.4% C 0.134 H 274.2°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#515EB3
RGBrgb(81, 94, 179)
HSLhsl(232, 39%, 51%)
HSVhsv(232, 55%, 70%)
CMYKcmyk(54.7%, 47.5%, 0%, 29.8%)
CIE-LABlab(42.78, 20.00, -46.90)
CIE-LCHlch(42.78, 50.98, 293.10°)
OKLaboklab(51.43% 0.0098 -0.1336)
OKLCHoklch(51.43% 0.134 274.2)
XYZxyz(15.5301, 13.0083, 44.3316)
Luminance0.1301 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515EB3 #B3A651
analogous
#518FB3 #515EB3 #7551B3
triadic
#515EB3 #B3515E #5EB351
tetradic
#515EB3 #B3518F #B3A651 #51B375
square
#515EB3 #B3518F #B3A651 #51B375
split-complementary
#515EB3 #B37551 #8FB351
monochromatic
#2A3160 #3C478A #515EB3 #7C85C6 #A6ADD8

Accessibility & contrast

On white

5.83
#515EB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#515EB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515EB3
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515EB3#FFFFFF#000000##FFFFFF
##515EB31.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3769B6
Deuteranopia (green-blind)
#2B61B1
Tritanopia (blue-blind)
#207180
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #515eb3;
/* rgb */ color: rgb(81, 94, 179);
/* oklch */ color: oklch(51.4% 0.134 274.2);
Tailwind
colors: {
  custom: {
    50: '#898bca',
    500: '#515eb3',
    950: '#000000',
  },
}
SCSS
$custom: #515eb3;
$custom-light: #898bca;
$custom-dark: #000000;
JSON
{
  "hex": "#515eb3",
  "rgb": {
    "r": 81,
    "g": 94,
    "b": 179
  },
  "hsl": {
    "h": 232.041,
    "s": 39.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.51426,
    "c": 0.13399,
    "h": 274.2
  },
  "luminance": 0.13009
}

Semantic roles & 50–950 ramp

primary
#515EB3
secondary
#C6C09A
accent
#BF59CF
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0C13
muted
#7D7D82

Preview Lab

Preview with #515EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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