#5A68E8#5A68E8

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

Color values

HEX#5A68E8
RGBrgb(90, 104, 232)
HSLhsl(234, 76%, 63%)
HSVhsv(234, 61%, 91%)
CMYKcmyk(61.2%, 55.2%, 0%, 9%)
CIE-LABlab(49.37, 33.05, -66.65)
CIE-LCHlch(49.37, 74.39, 296.38°)
OKLaboklab(57.65% 0.0134 -0.1914)
OKLCHoklch(57.65% 0.192 274)
XYZxyz(23.7275, 17.8985, 78.5327)
Luminance0.1790 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A68E8 #E8DA5A
analogous
#5AAFE8 #5A68E8 #935AE8
triadic
#5A68E8 #E85A68 #68E85A
tetradic
#5A68E8 #E85AAF #E8DA5A #5AE893
square
#5A68E8 #E85AAF #E8DA5A #5AE893
split-complementary
#5A68E8 #E8935A #AFE85A
monochromatic
#1827AF #2437E1 #5A68E8 #9099EF #C5CAF7

Accessibility & contrast

On white

4.59
#5A68E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#5A68E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5A68E8
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A68E8#FFFFFF#000000##FFFFFF
##5A68E81.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007CEC
Deuteranopia (green-blind)
#006FE5
Tritanopia (blue-blind)
#00869E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5a68e8;
/* rgb */ color: rgb(90, 104, 232);
/* oklch */ color: oklch(57.6% 0.192 274.0);
Tailwind
colors: {
  custom: {
    50: '#9693f0',
    500: '#5a68e8',
    950: '#000000',
  },
}
SCSS
$custom: #5a68e8;
$custom-light: #9693f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5a68e8",
  "rgb": {
    "r": 90,
    "g": 104,
    "b": 232
  },
  "hsl": {
    "h": 234.085,
    "s": 75.532,
    "l": 63.137
  },
  "oklch": {
    "l": 0.57648,
    "c": 0.19188,
    "h": 274
  },
  "luminance": 0.179
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5A68E8

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

Preview Lab → · Contrast checker → · Palette generator →

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