#515BB4#515BB4

#515BB4 is a mid, vivid blue. Relative luminance 0.125; OKLCH L 50.9% C 0.139 H 275.5°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#515BB4
RGBrgb(81, 91, 180)
HSLhsl(234, 40%, 51%)
HSVhsv(234, 55%, 71%)
CMYKcmyk(55%, 49.4%, 0%, 29.4%)
CIE-LABlab(42.04, 22.23, -48.66)
CIE-LCHlch(42.04, 53.50, 294.56°)
OKLaboklab(50.89% 0.0133 -0.1388)
OKLCHoklch(50.89% 0.139 275.5)
XYZxyz(15.3700, 12.5257, 44.7790)
Luminance0.1253 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515BB4 #B4AA51
analogous
#518CB4 #515BB4 #7851B4
triadic
#515BB4 #B4515B #5BB451
tetradic
#515BB4 #B4518C #B4AA51 #51B478
square
#515BB4 #B4518C #B4AA51 #51B478
split-complementary
#515BB4 #B47851 #8CB451
monochromatic
#2A2F61 #3C448C #515BB4 #7C83C6 #A7ACD9

Accessibility & contrast

On white

5.99
#515BB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#515BB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515BB4
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515BB4#FFFFFF#000000##FFFFFF
##515BB41.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3067B7
Deuteranopia (green-blind)
#225FB2
Tritanopia (blue-blind)
#1F6F7F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #515bb4;
/* rgb */ color: rgb(81, 91, 180);
/* oklch */ color: oklch(50.9% 0.139 275.5);
Tailwind
colors: {
  custom: {
    50: '#8989cb',
    500: '#515bb4',
    950: '#000000',
  },
}
SCSS
$custom: #515bb4;
$custom-light: #8989cb;
$custom-dark: #000000;
JSON
{
  "hex": "#515bb4",
  "rgb": {
    "r": 81,
    "g": 91,
    "b": 180
  },
  "hsl": {
    "h": 233.939,
    "s": 39.759,
    "l": 51.176
  },
  "oklch": {
    "l": 0.50888,
    "c": 0.13948,
    "h": 275.5
  },
  "luminance": 0.12527
}

Semantic roles & 50–950 ramp

primary
#515BB4
secondary
#C6C29B
accent
#C458D0
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #515BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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