#5A68E9#5A68E9

#5A68E9 is a mid, vivid blue. Relative luminance 0.180; OKLCH L 57.7% C 0.193 H 274.0°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#5A68E9
RGBrgb(90, 104, 233)
HSLhsl(234, 76%, 63%)
HSVhsv(234, 61%, 91%)
CMYKcmyk(61.4%, 55.4%, 0%, 8.6%)
CIE-LABlab(49.44, 33.38, -67.10)
CIE-LCHlch(49.44, 74.94, 296.45°)
OKLaboklab(57.72% 0.0135 -0.1927)
OKLCHoklch(57.72% 0.193 274)
XYZxyz(23.8699, 17.9555, 79.2829)
Luminance0.1796 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A68E9 #E9DB5A
analogous
#5AAFE9 #5A68E9 #935AE9
triadic
#5A68E9 #E95A68 #68E95A
tetradic
#5A68E9 #E95AAF #E9DB5A #5AE993
square
#5A68E9 #E95AAF #E9DB5A #5AE993
split-complementary
#5A68E9 #E9935A #AFE95A
monochromatic
#1827B1 #2437E2 #5A68E9 #9099F0 #C6CBF7

Accessibility & contrast

On white

4.57
#5A68E9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#5A68E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A68E9
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A68E9#FFFFFF#000000##000000
##5A68E91.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CED
Deuteranopia (green-blind)
#006FE6
Tritanopia (blue-blind)
#00879E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #5a68e9;
/* rgb */ color: rgb(90, 104, 233);
/* oklch */ color: oklch(57.7% 0.193 274.0);
Tailwind
colors: {
  custom: {
    50: '#9693f1',
    500: '#5a68e9',
    950: '#000000',
  },
}
SCSS
$custom: #5a68e9;
$custom-light: #9693f1;
$custom-dark: #000000;
JSON
{
  "hex": "#5a68e9",
  "rgb": {
    "r": 90,
    "g": 104,
    "b": 233
  },
  "hsl": {
    "h": 234.126,
    "s": 76.471,
    "l": 63.333
  },
  "oklch": {
    "l": 0.57722,
    "c": 0.1932,
    "h": 274
  },
  "luminance": 0.17957
}

Semantic roles & 50–950 ramp

primary
#5A68E9
secondary
#E9E4B6
accent
#C50DD9
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0F0D17
muted
#7E7E85

Preview Lab

Preview with #5A68E9

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

Preview Lab → · Contrast checker → · Palette generator →

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