#515FCA#515FCA

#515FCA is a mid, vivid blue. Relative luminance 0.142; OKLCH L 53.2% C 0.165 H 273.8°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#515FCA
RGBrgb(81, 95, 202)
HSLhsl(233, 53%, 55%)
HSVhsv(233, 60%, 79%)
CMYKcmyk(59.9%, 53%, 0%, 20.8%)
CIE-LABlab(44.51, 27.05, -57.47)
CIE-LCHlch(44.51, 63.52, 295.21°)
OKLaboklab(53.21% 0.0109 -0.1647)
OKLCHoklch(53.21% 0.165 273.8)
XYZxyz(18.1427, 14.1966, 57.6498)
Luminance0.1420 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515FCA #CABC51
analogous
#519BCA #515FCA #7F51CA
triadic
#515FCA #CA515F #5FCA51
tetradic
#515FCA #CA519B #CABC51 #51CA7F
square
#515FCA #CA519B #CABC51 #51CA7F
split-complementary
#515FCA #CA7F51 #9BCA51
monochromatic
#252F7B #3441AA #515FCA #808AD8 #AFB5E7

Accessibility & contrast

On white

5.47
#515FCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#515FCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515FCA
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515FCA#FFFFFF#000000##FFFFFF
##515FCA1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D6FCE
Deuteranopia (green-blind)
#0064C8
Tritanopia (blue-blind)
#00788B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #515fca;
/* rgb */ color: rgb(81, 95, 202);
/* oklch */ color: oklch(53.2% 0.165 273.8);
Tailwind
colors: {
  custom: {
    50: '#8d8cdb',
    500: '#515fca',
    950: '#000000',
  },
}
SCSS
$custom: #515fca;
$custom-light: #8d8cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#515fca",
  "rgb": {
    "r": 81,
    "g": 95,
    "b": 202
  },
  "hsl": {
    "h": 233.058,
    "s": 53.304,
    "l": 55.49
  },
  "oklch": {
    "l": 0.53212,
    "c": 0.16506,
    "h": 273.8
  },
  "luminance": 0.14198
}

Semantic roles & 50–950 ramp

primary
#515FCA
secondary
#D5CFA2
accent
#CC4BDD
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #515FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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