#514FCB#514FCB

#514FCB is a mid, vivid blue. Relative luminance 0.117; OKLCH L 50.4% C 0.187 H 278.0°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#514FCB
RGBrgb(81, 79, 203)
HSLhsl(241, 54%, 55%)
HSVhsv(241, 61%, 80%)
CMYKcmyk(60.1%, 61.1%, 0%, 20.4%)
CIE-LABlab(40.66, 37.31, -64.29)
CIE-LCHlch(40.66, 74.34, 300.13°)
OKLaboklab(50.37% 0.0261 -0.1849)
OKLCHoklch(50.37% 0.187 278)
XYZxyz(16.9654, 11.6518, 57.8433)
Luminance0.1165 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514FCB #C9CB4F
analogous
#4F8BCB #514FCB #8F4FCB
triadic
#514FCB #CB514F #4FCB51
tetradic
#514FCB #CB4F8B #C9CB4F #4FCB8F
square
#514FCB #CB4F8B #C9CB4F #4FCB8F
split-complementary
#514FCB #CB8F4F #8BCB4F
monochromatic
#26247B #3432AA #514FCB #807ED9 #AEADE7

Accessibility & contrast

On white

6.31
#514FCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#514FCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514FCB
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514FCB#FFFFFF#000000##FFFFFF
##514FCB1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CF
Deuteranopia (green-blind)
#005BC9
Tritanopia (blue-blind)
#006E85
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #514fcb;
/* rgb */ color: rgb(81, 79, 203);
/* oklch */ color: oklch(50.4% 0.187 278.0);
Tailwind
colors: {
  custom: {
    50: '#8e80dc',
    500: '#514fcb',
    950: '#000000',
  },
}
SCSS
$custom: #514fcb;
$custom-light: #8e80dc;
$custom-dark: #000000;
JSON
{
  "hex": "#514fcb",
  "rgb": {
    "r": 81,
    "g": 79,
    "b": 203
  },
  "hsl": {
    "h": 240.968,
    "s": 54.386,
    "l": 55.294
  },
  "oklch": {
    "l": 0.50368,
    "c": 0.18676,
    "h": 278
  },
  "luminance": 0.11653
}

Semantic roles & 50–950 ramp

primary
#514FCB
secondary
#D4D5A1
accent
#DE4ADB
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #514FCB

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

Preview Lab → · Contrast checker → · Palette generator →

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