#5A68E7#5A68E7

#5A68E7 is a mid, vivid blue. Relative luminance 0.178; OKLCH L 57.6% C 0.191 H 274.0°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#5A68E7
RGBrgb(90, 104, 231)
HSLhsl(234, 75%, 63%)
HSVhsv(234, 61%, 91%)
CMYKcmyk(61%, 55%, 0%, 9.4%)
CIE-LABlab(49.30, 32.72, -66.20)
CIE-LCHlch(49.30, 73.84, 296.30°)
OKLaboklab(57.58% 0.0134 -0.1901)
OKLCHoklch(57.58% 0.191 274)
XYZxyz(23.5858, 17.8419, 77.7867)
Luminance0.1784 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A68E7 #E7D95A
analogous
#5AAEE7 #5A68E7 #935AE7
triadic
#5A68E7 #E75A68 #68E75A
tetradic
#5A68E7 #E75AAE #E7D95A #5AE793
square
#5A68E7 #E75AAE #E7D95A #5AE793
split-complementary
#5A68E7 #E7935A #AEE75A
monochromatic
#1928AD #2537DF #5A68E7 #8F99EF #C5CAF7

Accessibility & contrast

On white

4.60
#5A68E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#5A68E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5A68E7
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A68E7#FFFFFF#000000##FFFFFF
##5A68E71.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007CEB
Deuteranopia (green-blind)
#006FE4
Tritanopia (blue-blind)
#00869D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5a68e7;
/* rgb */ color: rgb(90, 104, 231);
/* oklch */ color: oklch(57.6% 0.191 274.0);
Tailwind
colors: {
  custom: {
    50: '#9693ef',
    500: '#5a68e7',
    950: '#000000',
  },
}
SCSS
$custom: #5a68e7;
$custom-light: #9693ef;
$custom-dark: #000000;
JSON
{
  "hex": "#5a68e7",
  "rgb": {
    "r": 90,
    "g": 104,
    "b": 231
  },
  "hsl": {
    "h": 234.043,
    "s": 74.603,
    "l": 62.941
  },
  "oklch": {
    "l": 0.57575,
    "c": 0.19055,
    "h": 274
  },
  "luminance": 0.17844
}

Semantic roles & 50–950 ramp

primary
#5A68E7
secondary
#E8E3B5
accent
#C30FD7
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0F0D17
muted
#7E7E85

Preview Lab

Preview with #5A68E7

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

Preview Lab → · Contrast checker → · Palette generator →

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