#514BFC#514BFC

#514BFC is a mid, highly saturated blue. Relative luminance 0.138; OKLCH L 54.0% C 0.252 H 275.4°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#514BFC
RGBrgb(81, 75, 252)
HSLhsl(242, 97%, 64%)
HSVhsv(242, 70%, 99%)
CMYKcmyk(67.9%, 70.2%, 0%, 1.2%)
CIE-LABlab(43.96, 55.28, -86.73)
CIE-LCHlch(43.96, 102.85, 302.51°)
OKLaboklab(54.03% 0.0237 -0.2507)
OKLCHoklch(54.03% 0.252 275.4)
XYZxyz(23.4743, 13.8076, 93.5046)
Luminance0.1381 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514BFC #F6FC4B
analogous
#4B9EFC #514BFC #AA4BFC
triadic
#514BFC #FC514B #4BFC51
tetradic
#514BFC #FC4B9E #F6FC4B #4BFCAA
square
#514BFC #FC4B9E #F6FC4B #4BFCAA
split-complementary
#514BFC #FCAA4B #9EFC4B
monochromatic
#0A03C9 #170FFB #514BFC #8B87FD #C5C3FE

Accessibility & contrast

On white

5.58
#514BFC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#514BFC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514BFC
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514BFC#FFFFFF#000000##FFFFFF
##514BFC1.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070FF
Deuteranopia (green-blind)
#0060F9
Tritanopia (blue-blind)
#007C9F
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #514bfc;
/* rgb */ color: rgb(81, 75, 252);
/* oklch */ color: oklch(54.0% 0.252 275.4);
Tailwind
colors: {
  custom: {
    50: '#977fff',
    500: '#514bfc',
    950: '#000000',
  },
}
SCSS
$custom: #514bfc;
$custom-light: #977fff;
$custom-dark: #000000;
JSON
{
  "hex": "#514bfc",
  "rgb": {
    "r": 81,
    "g": 75,
    "b": 252
  },
  "hsl": {
    "h": 242.034,
    "s": 96.721,
    "l": 64.118
  },
  "oklch": {
    "l": 0.54032,
    "c": 0.25177,
    "h": 275.4
  },
  "luminance": 0.1381
}

Semantic roles & 50–950 ramp

primary
#514BFC
secondary
#EEF0B3
accent
#E600DE
background
#FAF7FF
surface
#F4EEFF
border
#CEC9D7
text
#0F0A18
muted
#7F7C86

Preview Lab

Preview with #514BFC

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

Preview Lab → · Contrast checker → · Palette generator →

#514BFC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva