#514FE2#514FE2

#514FE2 is a mid, highly saturated blue. Relative luminance 0.128; OKLCH L 52.3% C 0.216 H 276.5°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#514FE2
RGBrgb(81, 79, 226)
HSLhsl(241, 72%, 60%)
HSVhsv(241, 65%, 89%)
CMYKcmyk(64.2%, 65%, 0%, 11.4%)
CIE-LABlab(42.51, 44.77, -74.46)
CIE-LCHlch(42.51, 86.89, 301.02°)
OKLaboklab(52.29% 0.0244 -0.2148)
OKLCHoklch(52.29% 0.216 276.5)
XYZxyz(19.9123, 12.8306, 73.3640)
Luminance0.1283 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514FE2 #E0E24F
analogous
#4F97E2 #514FE2 #9A4FE2
triadic
#514FE2 #E2514F #4FE251
tetradic
#514FE2 #E24F97 #E0E24F #4FE29A
square
#514FE2 #E24F97 #E0E24F #4FE29A
split-complementary
#514FE2 #E29A4F #97E24F
monochromatic
#1C1A9D #2522D1 #514FE2 #8584EB #B9B8F3

Accessibility & contrast

On white

5.89
#514FE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#514FE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514FE2
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514FE2#FFFFFF#000000##FFFFFF
##514FE21.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE7
Deuteranopia (green-blind)
#005EDF
Tritanopia (blue-blind)
#007592
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #514fe2;
/* rgb */ color: rgb(81, 79, 226);
/* oklch */ color: oklch(52.3% 0.216 276.5);
Tailwind
colors: {
  custom: {
    50: '#9281ec',
    500: '#514fe2',
    950: '#000000',
  },
}
SCSS
$custom: #514fe2;
$custom-light: #9281ec;
$custom-dark: #000000;
JSON
{
  "hex": "#514fe2",
  "rgb": {
    "r": 81,
    "g": 79,
    "b": 226
  },
  "hsl": {
    "h": 240.816,
    "s": 71.707,
    "l": 59.804
  },
  "oklch": {
    "l": 0.52294,
    "c": 0.21615,
    "h": 276.5
  },
  "luminance": 0.12832
}

Semantic roles & 50–950 ramp

primary
#514FE2
secondary
#E2E3AA
accent
#EE39EC
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #514FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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