#515DC1#515DC1

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

Color values

HEX#515DC1
RGBrgb(81, 93, 193)
HSLhsl(234, 47%, 54%)
HSVhsv(234, 58%, 76%)
CMYKcmyk(58%, 51.8%, 0%, 24.3%)
CIE-LABlab(43.40, 25.29, -54.06)
CIE-LCHlch(43.40, 59.68, 295.07°)
OKLaboklab(52.18% 0.0123 -0.1547)
OKLCHoklch(52.18% 0.155 274.6)
XYZxyz(16.9302, 13.4270, 52.1413)
Luminance0.1343 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515DC1 #C1B551
analogous
#5195C1 #515DC1 #7D51C1
triadic
#515DC1 #C1515D #5DC151
tetradic
#515DC1 #C15195 #C1B551 #51C17D
square
#515DC1 #C15195 #C1B551 #51C17D
split-complementary
#515DC1 #C17D51 #95C151
monochromatic
#283070 #38439D #515DC1 #7E87D1 #ABB1E1

Accessibility & contrast

On white

5.70
#515DC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#515DC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515DC1
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515DC1#FFFFFF#000000##FFFFFF
##515DC11.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#256BC5
Deuteranopia (green-blind)
#0962BF
Tritanopia (blue-blind)
#007486
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #515dc1;
/* rgb */ color: rgb(81, 93, 193);
/* oklch */ color: oklch(52.2% 0.155 274.6);
Tailwind
colors: {
  custom: {
    50: '#8b8ad4',
    500: '#515dc1',
    950: '#000000',
  },
}
SCSS
$custom: #515dc1;
$custom-light: #8b8ad4;
$custom-dark: #000000;
JSON
{
  "hex": "#515dc1",
  "rgb": {
    "r": 81,
    "g": 93,
    "b": 193
  },
  "hsl": {
    "h": 233.571,
    "s": 47.458,
    "l": 53.725
  },
  "oklch": {
    "l": 0.52183,
    "c": 0.15519,
    "h": 274.6
  },
  "luminance": 0.13428
}

Semantic roles & 50–950 ramp

primary
#515DC1
secondary
#CFCA9F
accent
#C951D7
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0B14
muted
#7E7C83

Preview Lab

Preview with #515DC1

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

Preview Lab → · Contrast checker → · Palette generator →

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