#5754FF#5754FF

#5754FF is a mid, highly saturated blue. Relative luminance 0.156; OKLCH L 56.0% C 0.245 H 275.8°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#5754FF
RGBrgb(87, 84, 255)
HSLhsl(241, 100%, 66%)
HSVhsv(241, 67%, 100%)
CMYKcmyk(65.9%, 67.1%, 0%, 0%)
CIE-LABlab(46.42, 51.90, -84.33)
CIE-LCHlch(46.42, 99.02, 301.61°)
OKLaboklab(55.99% 0.0247 -0.2435)
OKLCHoklch(55.99% 0.245 275.8)
XYZxyz(25.1449, 15.5847, 96.2714)
Luminance0.1559 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5754FF #FCFF54
analogous
#54A7FF #5754FF #AD54FF
triadic
#5754FF #FF5754 #54FF57
tetradic
#5754FF #FF54A7 #FCFF54 #54FFAD
square
#5754FF #FF54A7 #FCFF54 #54FFAD
split-complementary
#5754FF #FFAD54 #A7FF54
monochromatic
#0400D9 #1B17FF #5754FF #9391FF #CFCEFF

Accessibility & contrast

On white

5.10
#5754FF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#5754FF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5754FF
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5754FF#FFFFFF#000000##FFFFFF
##5754FF1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076FF
Deuteranopia (green-blind)
#0066FC
Tritanopia (blue-blind)
#0082A3
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5754ff;
/* rgb */ color: rgb(87, 84, 255);
/* oklch */ color: oklch(56.0% 0.245 275.8);
Tailwind
colors: {
  custom: {
    50: '#9a85ff',
    500: '#5754ff',
    950: '#000000',
  },
}
SCSS
$custom: #5754ff;
$custom-light: #9a85ff;
$custom-dark: #000000;
JSON
{
  "hex": "#5754ff",
  "rgb": {
    "r": 87,
    "g": 84,
    "b": 255
  },
  "hsl": {
    "h": 241.053,
    "s": 100,
    "l": 66.471
  },
  "oklch": {
    "l": 0.55987,
    "c": 0.24476,
    "h": 275.8
  },
  "luminance": 0.15587
}

Semantic roles & 50–950 ramp

primary
#5754FF
secondary
#F2F3BC
accent
#E600E1
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B18
muted
#7F7C86

Preview Lab

Preview with #5754FF

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

Preview Lab → · Contrast checker → · Palette generator →

#5754FF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva