#5662FF#5662FF

#5662FF is a mid, highly saturated blue. Relative luminance 0.179; OKLCH L 58.1% C 0.230 H 273.5°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#5662FF
RGBrgb(86, 98, 255)
HSLhsl(236, 100%, 67%)
HSVhsv(236, 66%, 100%)
CMYKcmyk(66.3%, 61.6%, 0%, 0%)
CIE-LABlab(49.41, 43.66, -79.44)
CIE-LCHlch(49.41, 90.65, 298.79°)
OKLaboklab(58.15% 0.0139 -0.2291)
OKLCHoklch(58.15% 0.23 273.5)
XYZxyz(26.2494, 17.9314, 96.6661)
Luminance0.1793 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5662FF #FFF356
analogous
#56B6FF #5662FF #9F56FF
triadic
#5662FF #FF5662 #62FF56
tetradic
#5662FF #FF56B6 #FFF356 #56FF9F
square
#5662FF #FF56B6 #FFF356 #56FF9F
split-complementary
#5662FF #FF9F56 #B6FF56
monochromatic
#0010DB #1929FF #5662FF #939BFF #D0D4FF

Accessibility & contrast

On white

4.58
#5662FF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#5662FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5662FF
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5662FF#FFFFFF#000000##000000
##5662FF1.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DFF
Deuteranopia (green-blind)
#006EFC
Tritanopia (blue-blind)
#008AA7
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5662ff;
/* rgb */ color: rgb(86, 98, 255);
/* oklch */ color: oklch(58.1% 0.230 273.5);
Tailwind
colors: {
  custom: {
    50: '#988fff',
    500: '#5662ff',
    950: '#000000',
  },
}
SCSS
$custom: #5662ff;
$custom-light: #988fff;
$custom-dark: #000000;
JSON
{
  "hex": "#5662ff",
  "rgb": {
    "r": 86,
    "g": 98,
    "b": 255
  },
  "hsl": {
    "h": 235.74,
    "s": 100,
    "l": 66.863
  },
  "oklch": {
    "l": 0.58147,
    "c": 0.22957,
    "h": 273.5
  },
  "luminance": 0.17934
}

Semantic roles & 50–950 ramp

primary
#5662FF
secondary
#F3F0BD
accent
#D500E6
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C18
muted
#7F7D86

Preview Lab

Preview with #5662FF

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

Preview Lab → · Contrast checker → · Palette generator →

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