#5A68ED#5A68ED

#5A68ED is a mid, vivid blue. Relative luminance 0.182; OKLCH L 58.0% C 0.198 H 273.9°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#5A68ED
RGBrgb(90, 104, 237)
HSLhsl(234, 80%, 64%)
HSVhsv(234, 62%, 93%)
CMYKcmyk(62%, 56.1%, 0%, 7.1%)
CIE-LABlab(49.72, 34.70, -68.89)
CIE-LCHlch(49.72, 77.14, 296.73°)
OKLaboklab(58.02% 0.0136 -0.198)
OKLCHoklch(58.02% 0.198 273.9)
XYZxyz(24.4478, 18.1867, 82.3264)
Luminance0.1819 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A68ED #EDDF5A
analogous
#5AB2ED #5A68ED #965AED
triadic
#5A68ED #ED5A68 #68ED5A
tetradic
#5A68ED #ED5AB2 #EDDF5A #5AED96
square
#5A68ED #ED5AB2 #EDDF5A #5AED96
split-complementary
#5A68ED #ED965A #B2ED5A
monochromatic
#1424B8 #2336E7 #5A68ED #919AF3 #C8CDF9

Accessibility & contrast

On white

4.53
#5A68ED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#5A68ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A68ED
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A68ED#FFFFFF#000000##000000
##5A68ED1.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF2
Deuteranopia (green-blind)
#0070EA
Tritanopia (blue-blind)
#0088A0
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #5a68ed;
/* rgb */ color: rgb(90, 104, 237);
/* oklch */ color: oklch(58.0% 0.198 273.9);
Tailwind
colors: {
  custom: {
    50: '#9793f4',
    500: '#5a68ed',
    950: '#000000',
  },
}
SCSS
$custom: #5a68ed;
$custom-light: #9793f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5a68ed",
  "rgb": {
    "r": 90,
    "g": 104,
    "b": 237
  },
  "hsl": {
    "h": 234.286,
    "s": 80.328,
    "l": 64.118
  },
  "oklch": {
    "l": 0.58019,
    "c": 0.19846,
    "h": 273.9
  },
  "luminance": 0.18189
}

Semantic roles & 50–950 ramp

primary
#5A68ED
secondary
#EBE6B8
accent
#C809DD
background
#FAF9FF
surface
#F3F1FE
border
#CDCBD6
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #5A68ED

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

Preview Lab → · Contrast checker → · Palette generator →

#5A68ED Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva