#5665F5#5665F5

#5665F5 is a mid, highly saturated blue. Relative luminance 0.179; OKLCH L 57.9% C 0.213 H 273.2°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#5665F5
RGBrgb(86, 101, 245)
HSLhsl(234, 89%, 65%)
HSVhsv(234, 65%, 96%)
CMYKcmyk(64.9%, 58.8%, 0%, 3.9%)
CIE-LABlab(49.35, 38.56, -73.99)
CIE-LCHlch(49.35, 83.43, 297.53°)
OKLaboklab(57.86% 0.0119 -0.2131)
OKLCHoklch(57.86% 0.213 273.2)
XYZxyz(24.9674, 17.8761, 88.5032)
Luminance0.1788 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5665F5 #F5E656
analogous
#56B4F5 #5665F5 #9756F5
triadic
#5665F5 #F55665 #65F556
tetradic
#5665F5 #F556B4 #F5E656 #56F597
square
#5665F5 #F556B4 #F5E656 #56F597
split-complementary
#5665F5 #F59756 #B4F556
monochromatic
#0C1DC5 #1C30F2 #5665F5 #909AF8 #CACEFC

Accessibility & contrast

On white

4.59
#5665F5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#5665F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5665F5
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5665F5#FFFFFF#000000##FFFFFF
##5665F51.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007DFA
Deuteranopia (green-blind)
#006EF2
Tritanopia (blue-blind)
#0089A3
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5665f5;
/* rgb */ color: rgb(86, 101, 245);
/* oklch */ color: oklch(57.9% 0.213 273.2);
Tailwind
colors: {
  custom: {
    50: '#9691f9',
    500: '#5665f5',
    950: '#000000',
  },
}
SCSS
$custom: #5665f5;
$custom-light: #9691f9;
$custom-dark: #000000;
JSON
{
  "hex": "#5665f5",
  "rgb": {
    "r": 86,
    "g": 101,
    "b": 245
  },
  "hsl": {
    "h": 234.34,
    "s": 88.827,
    "l": 64.902
  },
  "oklch": {
    "l": 0.57859,
    "c": 0.21344,
    "h": 273.2
  },
  "luminance": 0.17878
}

Semantic roles & 50–950 ramp

primary
#5665F5
secondary
#EFE9B8
accent
#D000E5
background
#FAF8FF
surface
#F3F0FF
border
#CDCBD7
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5665F5

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

Preview Lab → · Contrast checker → · Palette generator →

#5665F5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva