#515AE3#515AE3

#515AE3 is a mid, highly saturated blue. Relative luminance 0.146; OKLCH L 54.2% C 0.205 H 274.4°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#515AE3
RGBrgb(81, 90, 227)
HSLhsl(236, 72%, 60%)
HSVhsv(236, 64%, 89%)
CMYKcmyk(64.3%, 60.4%, 0%, 11%)
CIE-LABlab(45.09, 38.52, -70.81)
CIE-LCHlch(45.09, 80.61, 298.55°)
OKLaboklab(54.21% 0.0158 -0.204)
OKLCHoklch(54.21% 0.205 274.4)
XYZxyz(20.9101, 14.6059, 74.3754)
Luminance0.1461 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515AE3 #E3DA51
analogous
#51A3E3 #515AE3 #9151E3
triadic
#515AE3 #E3515A #5AE351
tetradic
#515AE3 #E351A3 #E3DA51 #51E391
square
#515AE3 #E351A3 #E3DA51 #51E391
split-complementary
#515AE3 #E39151 #A3E351
monochromatic
#1A22A0 #222DD5 #515AE3 #868CEB #BABEF4

Accessibility & contrast

On white

5.35
#515AE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#515AE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515AE3
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515AE3#FFFFFF#000000##FFFFFF
##515AE31.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E7
Deuteranopia (green-blind)
#0064E0
Tritanopia (blue-blind)
#007C96
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #515ae3;
/* rgb */ color: rgb(81, 90, 227);
/* oklch */ color: oklch(54.2% 0.205 274.4);
Tailwind
colors: {
  custom: {
    50: '#9188ed',
    500: '#515ae3',
    950: '#000000',
  },
}
SCSS
$custom: #515ae3;
$custom-light: #9188ed;
$custom-dark: #000000;
JSON
{
  "hex": "#515ae3",
  "rgb": {
    "r": 81,
    "g": 90,
    "b": 227
  },
  "hsl": {
    "h": 236.301,
    "s": 72.277,
    "l": 60.392
  },
  "oklch": {
    "l": 0.54209,
    "c": 0.20461,
    "h": 274.4
  },
  "luminance": 0.14608
}

Semantic roles & 50–950 ramp

primary
#515AE3
secondary
#E4E0AC
accent
#C811D4
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #515AE3

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

Preview Lab → · Contrast checker → · Palette generator →

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