#5654FF#5654FF

#5654FF is a mid, highly saturated blue. Relative luminance 0.155; OKLCH L 55.9% C 0.245 H 275.5°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#5654FF
RGBrgb(86, 84, 255)
HSLhsl(241, 100%, 66%)
HSVhsv(241, 67%, 100%)
CMYKcmyk(66.3%, 67.1%, 0%, 0%)
CIE-LABlab(46.36, 51.78, -84.44)
CIE-LCHlch(46.36, 99.05, 301.52°)
OKLaboklab(55.92% 0.0236 -0.2438)
OKLCHoklch(55.92% 0.245 275.5)
XYZxyz(25.0521, 15.5368, 96.2670)
Luminance0.1554 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5654FF #FDFF54
analogous
#54A8FF #5654FF #AC54FF
triadic
#5654FF #FF5654 #54FF56
tetradic
#5654FF #FF54A8 #FDFF54 #54FFAC
square
#5654FF #FF54A8 #FDFF54 #54FFAC
split-complementary
#5654FF #FFAC54 #A8FF54
monochromatic
#0300D9 #1A17FF #5654FF #9291FF #CFCEFF

Accessibility & contrast

On white

5.11
#5654FF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#5654FF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5654FF
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5654FF#FFFFFF#000000##FFFFFF
##5654FF1.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.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: #5654ff;
/* rgb */ color: rgb(86, 84, 255);
/* oklch */ color: oklch(55.9% 0.245 275.5);
Tailwind
colors: {
  custom: {
    50: '#9985ff',
    500: '#5654ff',
    950: '#000000',
  },
}
SCSS
$custom: #5654ff;
$custom-light: #9985ff;
$custom-dark: #000000;
JSON
{
  "hex": "#5654ff",
  "rgb": {
    "r": 86,
    "g": 84,
    "b": 255
  },
  "hsl": {
    "h": 240.702,
    "s": 100,
    "l": 66.471
  },
  "oklch": {
    "l": 0.55924,
    "c": 0.24498,
    "h": 275.5
  },
  "luminance": 0.15539
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5654FF

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

Preview Lab → · Contrast checker → · Palette generator →

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