#5A68EC#5A68EC

#5A68EC is a mid, vivid blue. Relative luminance 0.181; OKLCH L 57.9% C 0.197 H 273.9°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#5A68EC
RGBrgb(90, 104, 236)
HSLhsl(234, 79%, 64%)
HSVhsv(234, 62%, 93%)
CMYKcmyk(61.9%, 55.9%, 0%, 7.5%)
CIE-LABlab(49.65, 34.37, -68.44)
CIE-LCHlch(49.65, 76.59, 296.66°)
OKLaboklab(57.95% 0.0135 -0.1967)
OKLCHoklch(57.95% 0.197 273.9)
XYZxyz(24.3021, 18.1284, 81.5591)
Luminance0.1813 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A68EC #ECDE5A
analogous
#5AB1EC #5A68EC #955AEC
triadic
#5A68EC #EC5A68 #68EC5A
tetradic
#5A68EC #EC5AB1 #ECDE5A #5AEC95
square
#5A68EC #EC5AB1 #ECDE5A #5AEC95
split-complementary
#5A68EC #EC955A #B1EC5A
monochromatic
#1525B7 #2336E6 #5A68EC #919AF2 #C8CCF9

Accessibility & contrast

On white

4.54
#5A68EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#5A68EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A68EC
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A68EC#FFFFFF#000000##000000
##5A68EC1.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5a68ec;
/* rgb */ color: rgb(90, 104, 236);
/* oklch */ color: oklch(57.9% 0.197 273.9);
Tailwind
colors: {
  custom: {
    50: '#9693f3',
    500: '#5a68ec',
    950: '#000000',
  },
}
SCSS
$custom: #5a68ec;
$custom-light: #9693f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5a68ec",
  "rgb": {
    "r": 90,
    "g": 104,
    "b": 236
  },
  "hsl": {
    "h": 234.247,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.57945,
    "c": 0.19716,
    "h": 273.9
  },
  "luminance": 0.1813
}

Semantic roles & 50–950 ramp

primary
#5A68EC
secondary
#EBE6B7
accent
#C80ADC
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0F0D17
muted
#7E7E85

Preview Lab

Preview with #5A68EC

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

Preview Lab → · Contrast checker → · Palette generator →

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