#5754F1#5754F1

#5754F1 is a mid, highly saturated blue. Relative luminance 0.147; OKLCH L 54.8% C 0.228 H 276.6°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#5754F1
RGBrgb(87, 84, 241)
HSLhsl(241, 85%, 64%)
HSVhsv(241, 65%, 95%)
CMYKcmyk(63.9%, 65.1%, 0%, 5.5%)
CIE-LABlab(45.24, 47.48, -78.44)
CIE-LCHlch(45.24, 91.69, 301.19°)
OKLaboklab(54.77% 0.0263 -0.2263)
OKLCHoklch(54.77% 0.228 276.6)
XYZxyz(22.9728, 14.7158, 84.8318)
Luminance0.1472 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5754F1 #EEF154
analogous
#54A0F1 #5754F1 #A554F1
triadic
#5754F1 #F15754 #54F157
tetradic
#5754F1 #F154A0 #EEF154 #54F1A5
square
#5754F1 #F154A0 #EEF154 #54F1A5
split-complementary
#5754F1 #F1A554 #A0F154
monochromatic
#130FBB #1F1BEC #5754F1 #8F8DF6 #C6C5FA

Accessibility & contrast

On white

5.33
#5754F1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#5754F1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5754F1
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5754F1#FFFFFF#000000##FFFFFF
##5754F11.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F6
Deuteranopia (green-blind)
#0064EE
Tritanopia (blue-blind)
#007D9B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5754f1;
/* rgb */ color: rgb(87, 84, 241);
/* oklch */ color: oklch(54.8% 0.228 276.6);
Tailwind
colors: {
  custom: {
    50: '#9785f7',
    500: '#5754f1',
    950: '#000000',
  },
}
SCSS
$custom: #5754f1;
$custom-light: #9785f7;
$custom-dark: #000000;
JSON
{
  "hex": "#5754f1",
  "rgb": {
    "r": 87,
    "g": 84,
    "b": 241
  },
  "hsl": {
    "h": 241.146,
    "s": 84.865,
    "l": 63.725
  },
  "oklch": {
    "l": 0.54769,
    "c": 0.22779,
    "h": 276.6
  },
  "luminance": 0.14718
}

Semantic roles & 50–950 ramp

primary
#5754F1
secondary
#EBECB5
accent
#E104DD
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5754F1

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

Preview Lab → · Contrast checker → · Palette generator →

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