#5A68E4#5A68E4

#5A68E4 is a mid, vivid blue. Relative luminance 0.177; OKLCH L 57.4% C 0.187 H 274.1°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#5A68E4
RGBrgb(90, 104, 228)
HSLhsl(234, 72%, 62%)
HSVhsv(234, 61%, 89%)
CMYKcmyk(60.5%, 54.4%, 0%, 10.6%)
CIE-LABlab(49.10, 31.73, -64.84)
CIE-LCHlch(49.10, 72.19, 296.07°)
OKLaboklab(57.36% 0.0133 -0.1861)
OKLCHoklch(57.36% 0.187 274.1)
XYZxyz(23.1658, 17.6739, 75.5744)
Luminance0.1768 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A68E4 #E4D65A
analogous
#5AADE4 #5A68E4 #915AE4
triadic
#5A68E4 #E45A68 #68E45A
tetradic
#5A68E4 #E45AAD #E4D65A #5AE491
square
#5A68E4 #E45AAD #E4D65A #5AE491
split-complementary
#5A68E4 #E4915A #ADE45A
monochromatic
#1C2AA8 #2538DB #5A68E4 #8F98ED #C3C8F5

Accessibility & contrast

On white

4.63
#5A68E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#5A68E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5A68E4
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A68E4#FFFFFF#000000##FFFFFF
##5A68E41.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#087BE8
Deuteranopia (green-blind)
#006FE1
Tritanopia (blue-blind)
#00859C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5a68e4;
/* rgb */ color: rgb(90, 104, 228);
/* oklch */ color: oklch(57.4% 0.187 274.1);
Tailwind
colors: {
  custom: {
    50: '#9593ed',
    500: '#5a68e4',
    950: '#000000',
  },
}
SCSS
$custom: #5a68e4;
$custom-light: #9593ed;
$custom-dark: #000000;
JSON
{
  "hex": "#5a68e4",
  "rgb": {
    "r": 90,
    "g": 104,
    "b": 228
  },
  "hsl": {
    "h": 233.913,
    "s": 71.875,
    "l": 62.353
  },
  "oklch": {
    "l": 0.57356,
    "c": 0.18656,
    "h": 274.1
  },
  "luminance": 0.17676
}

Semantic roles & 50–950 ramp

primary
#5A68E4
secondary
#E6E1B4
accent
#C012D4
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #5A68E4

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

Preview Lab → · Contrast checker → · Palette generator →

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