#514DFC#514DFC

#514DFC is a mid, highly saturated blue. Relative luminance 0.141; OKLCH L 54.3% C 0.250 H 275.2°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#514DFC
RGBrgb(81, 77, 252)
HSLhsl(241, 97%, 65%)
HSVhsv(241, 69%, 99%)
CMYKcmyk(67.9%, 69.4%, 0%, 1.2%)
CIE-LABlab(44.35, 54.18, -86.08)
CIE-LCHlch(44.35, 101.71, 302.19°)
OKLaboklab(54.32% 0.0225 -0.2488)
OKLCHoklch(54.32% 0.25 275.2)
XYZxyz(23.6121, 14.0832, 93.5506)
Luminance0.1409 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514DFC #F8FC4D
analogous
#4DA1FC #514DFC #A84DFC
triadic
#514DFC #FC514D #4DFC51
tetradic
#514DFC #FC4DA1 #F8FC4D #4DFCA8
square
#514DFC #FC4DA1 #F8FC4D #4DFCA8
split-complementary
#514DFC #FCA84D #A1FC4D
monochromatic
#0803CB #1611FB #514DFC #8C89FD #C7C5FE

Accessibility & contrast

On white

5.50
#514DFC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#514DFC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514DFC
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514DFC#FFFFFF#000000##FFFFFF
##514DFC1.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071FF
Deuteranopia (green-blind)
#0061F9
Tritanopia (blue-blind)
#007D9F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #514dfc;
/* rgb */ color: rgb(81, 77, 252);
/* oklch */ color: oklch(54.3% 0.250 275.2);
Tailwind
colors: {
  custom: {
    50: '#9780ff',
    500: '#514dfc',
    950: '#000000',
  },
}
SCSS
$custom: #514dfc;
$custom-light: #9780ff;
$custom-dark: #000000;
JSON
{
  "hex": "#514dfc",
  "rgb": {
    "r": 81,
    "g": 77,
    "b": 252
  },
  "hsl": {
    "h": 241.371,
    "s": 96.685,
    "l": 64.51
  },
  "oklch": {
    "l": 0.54316,
    "c": 0.24978,
    "h": 275.2
  },
  "luminance": 0.14085
}

Semantic roles & 50–950 ramp

primary
#514DFC
secondary
#EFF1B4
accent
#E600E0
background
#FAF7FF
surface
#F4EEFF
border
#CEC9D7
text
#0F0A18
muted
#7F7C86

Preview Lab

Preview with #514DFC

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

Preview Lab → · Contrast checker → · Palette generator →

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