#5654F1#5654F1

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

Color values

HEX#5654F1
RGBrgb(86, 84, 241)
HSLhsl(241, 85%, 64%)
HSVhsv(241, 65%, 95%)
CMYKcmyk(64.3%, 65.1%, 0%, 5.5%)
CIE-LABlab(45.18, 47.35, -78.55)
CIE-LCHlch(45.18, 91.72, 301.08°)
OKLaboklab(54.7% 0.0251 -0.2266)
OKLCHoklch(54.7% 0.228 276.3)
XYZxyz(22.8801, 14.6680, 84.8275)
Luminance0.1467 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5654F1 #EFF154
analogous
#54A0F1 #5654F1 #A454F1
triadic
#5654F1 #F15654 #54F156
tetradic
#5654F1 #F154A0 #EFF154 #54F1A4
square
#5654F1 #F154A0 #EFF154 #54F1A4
split-complementary
#5654F1 #F1A454 #A0F154
monochromatic
#120FBB #1E1BEC #5654F1 #8E8DF6 #C6C5FA

Accessibility & contrast

On white

5.34
#5654F1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#5654F1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5654F1
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5654F1#FFFFFF#000000##FFFFFF
##5654F11.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.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: #5654f1;
/* rgb */ color: rgb(86, 84, 241);
/* oklch */ color: oklch(54.7% 0.228 276.3);
Tailwind
colors: {
  custom: {
    50: '#9785f7',
    500: '#5654f1',
    950: '#000000',
  },
}
SCSS
$custom: #5654f1;
$custom-light: #9785f7;
$custom-dark: #000000;
JSON
{
  "hex": "#5654f1",
  "rgb": {
    "r": 86,
    "g": 84,
    "b": 241
  },
  "hsl": {
    "h": 240.764,
    "s": 84.865,
    "l": 63.725
  },
  "oklch": {
    "l": 0.54703,
    "c": 0.22801,
    "h": 276.3
  },
  "luminance": 0.1467
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5654F1

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

Preview Lab → · Contrast checker → · Palette generator →

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