#515DB2#515DB2

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

Color values

HEX#515DB2
RGBrgb(81, 93, 178)
HSLhsl(233, 39%, 51%)
HSVhsv(233, 54%, 70%)
CMYKcmyk(54.5%, 47.8%, 0%, 30.2%)
CIE-LABlab(42.45, 20.31, -46.84)
CIE-LCHlch(42.45, 51.05, 293.44°)
OKLaboklab(51.16% 0.0108 -0.1335)
OKLCHoklch(51.16% 0.134 274.6)
XYZxyz(15.3410, 12.7913, 43.7714)
Luminance0.1279 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515DB2 #B2A651
analogous
#518DB2 #515DB2 #7551B2
triadic
#515DB2 #B2515D #5DB251
tetradic
#515DB2 #B2518D #B2A651 #51B275
square
#515DB2 #B2518D #B2A651 #51B275
split-complementary
#515DB2 #B27551 #8DB251
monochromatic
#2A305F #3D4689 #515DB2 #7B84C5 #A6ACD8

Accessibility & contrast

On white

5.90
#515DB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#515DB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515DB2
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515DB2#FFFFFF#000000##FFFFFF
##515DB21.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3668B5
Deuteranopia (green-blind)
#2A60B0
Tritanopia (blue-blind)
#21707F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #515db2;
/* rgb */ color: rgb(81, 93, 178);
/* oklch */ color: oklch(51.2% 0.134 274.6);
Tailwind
colors: {
  custom: {
    50: '#898ac9',
    500: '#515db2',
    950: '#000000',
  },
}
SCSS
$custom: #515db2;
$custom-light: #898ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#515db2",
  "rgb": {
    "r": 81,
    "g": 93,
    "b": 178
  },
  "hsl": {
    "h": 232.577,
    "s": 38.645,
    "l": 50.784
  },
  "oklch": {
    "l": 0.51157,
    "c": 0.13389,
    "h": 274.6
  },
  "luminance": 0.12792
}

Semantic roles & 50–950 ramp

primary
#515DB2
secondary
#C5C09A
accent
#C059CF
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #515DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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