#515EC1#515EC1

#515EC1 is a mid, vivid blue. Relative luminance 0.136; OKLCH L 52.4% C 0.154 H 274.2°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#515EC1
RGBrgb(81, 94, 193)
HSLhsl(233, 47%, 54%)
HSVhsv(233, 58%, 76%)
CMYKcmyk(58%, 51.3%, 0%, 24.3%)
CIE-LABlab(43.66, 24.66, -53.64)
CIE-LCHlch(43.66, 59.04, 294.69°)
OKLaboklab(52.38% 0.0113 -0.1535)
OKLCHoklch(52.38% 0.154 274.2)
XYZxyz(17.0185, 13.6037, 52.1707)
Luminance0.1361 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515EC1 #C1B451
analogous
#5196C1 #515EC1 #7C51C1
triadic
#515EC1 #C1515E #5EC151
tetradic
#515EC1 #C15196 #C1B451 #51C17C
square
#515EC1 #C15196 #C1B451 #51C17C
split-complementary
#515EC1 #C17C51 #96C151
monochromatic
#283070 #38449D #515EC1 #7E88D1 #ABB1E1

Accessibility & contrast

On white

5.64
#515EC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#515EC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515EC1
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515EC1#FFFFFF#000000##FFFFFF
##515EC11.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#286CC5
Deuteranopia (green-blind)
#1063BF
Tritanopia (blue-blind)
#007586
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #515ec1;
/* rgb */ color: rgb(81, 94, 193);
/* oklch */ color: oklch(52.4% 0.154 274.2);
Tailwind
colors: {
  custom: {
    50: '#8b8bd4',
    500: '#515ec1',
    950: '#000000',
  },
}
SCSS
$custom: #515ec1;
$custom-light: #8b8bd4;
$custom-dark: #000000;
JSON
{
  "hex": "#515ec1",
  "rgb": {
    "r": 81,
    "g": 94,
    "b": 193
  },
  "hsl": {
    "h": 233.036,
    "s": 47.458,
    "l": 53.725
  },
  "oklch": {
    "l": 0.52378,
    "c": 0.15387,
    "h": 274.2
  },
  "luminance": 0.13605
}

Semantic roles & 50–950 ramp

primary
#515EC1
secondary
#CFC99F
accent
#C751D7
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0C14
muted
#7E7D83

Preview Lab

Preview with #515EC1

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

Preview Lab → · Contrast checker → · Palette generator →

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