#515ACF#515ACF

#515ACF is a mid, vivid blue. Relative luminance 0.136; OKLCH L 52.6% C 0.178 H 275.1°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#515ACF
RGBrgb(81, 90, 207)
HSLhsl(236, 57%, 56%)
HSVhsv(236, 61%, 81%)
CMYKcmyk(60.9%, 56.5%, 0%, 18.8%)
CIE-LABlab(43.60, 31.85, -61.82)
CIE-LCHlch(43.60, 69.54, 297.26°)
OKLaboklab(52.64% 0.016 -0.1776)
OKLCHoklch(52.64% 0.178 275.1)
XYZxyz(18.3083, 13.5652, 60.6729)
Luminance0.1357 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515ACF #CFC651
analogous
#5199CF #515ACF #8751CF
triadic
#515ACF #CF515A #5ACF51
tetradic
#515ACF #CF5199 #CFC651 #51CF87
square
#515ACF #CF5199 #CFC651 #51CF87
split-complementary
#515ACF #CF8751 #99CF51
monochromatic
#242B82 #313AB2 #515ACF #8187DC #B1B5E9

Accessibility & contrast

On white

5.66
#515ACF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#515ACF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515ACF
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515ACF#FFFFFF#000000##FFFFFF
##515ACF1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD3
Deuteranopia (green-blind)
#0062CD
Tritanopia (blue-blind)
#00768C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #515acf;
/* rgb */ color: rgb(81, 90, 207);
/* oklch */ color: oklch(52.6% 0.178 275.1);
Tailwind
colors: {
  custom: {
    50: '#8e88de',
    500: '#515acf',
    950: '#000000',
  },
}
SCSS
$custom: #515acf;
$custom-light: #8e88de;
$custom-dark: #000000;
JSON
{
  "hex": "#515acf",
  "rgb": {
    "r": 81,
    "g": 90,
    "b": 207
  },
  "hsl": {
    "h": 235.714,
    "s": 56.757,
    "l": 56.471
  },
  "oklch": {
    "l": 0.52641,
    "c": 0.17826,
    "h": 275.1
  },
  "luminance": 0.13567
}

Semantic roles & 50–950 ramp

primary
#515ACF
secondary
#D8D4A4
accent
#D548E0
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #515ACF

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

Preview Lab → · Contrast checker → · Palette generator →

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