#5A68EB#5A68EB

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

Color values

HEX#5A68EB
RGBrgb(90, 104, 235)
HSLhsl(234, 78%, 64%)
HSVhsv(234, 62%, 92%)
CMYKcmyk(61.7%, 55.7%, 0%, 7.8%)
CIE-LABlab(49.58, 34.04, -68.00)
CIE-LCHlch(49.58, 76.04, 296.59°)
OKLaboklab(57.87% 0.0135 -0.1954)
OKLCHoklch(57.87% 0.196 274)
XYZxyz(24.1572, 18.0705, 80.7961)
Luminance0.1807 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A68EB #EBDD5A
analogous
#5AB0EB #5A68EB #945AEB
triadic
#5A68EB #EB5A68 #68EB5A
tetradic
#5A68EB #EB5AB0 #EBDD5A #5AEB94
square
#5A68EB #EB5AB0 #EBDD5A #5AEB94
split-complementary
#5A68EB #EB945A #B0EB5A
monochromatic
#1625B5 #2336E4 #5A68EB #919AF2 #C7CCF8

Accessibility & contrast

On white

4.55
#5A68EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#5A68EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A68EB
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A68EB#FFFFFF#000000##000000
##5A68EB1.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CEF
Deuteranopia (green-blind)
#0070E8
Tritanopia (blue-blind)
#00879F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #5a68eb;
/* rgb */ color: rgb(90, 104, 235);
/* oklch */ color: oklch(57.9% 0.196 274.0);
Tailwind
colors: {
  custom: {
    50: '#9693f2',
    500: '#5a68eb',
    950: '#000000',
  },
}
SCSS
$custom: #5a68eb;
$custom-light: #9693f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5a68eb",
  "rgb": {
    "r": 90,
    "g": 104,
    "b": 235
  },
  "hsl": {
    "h": 234.207,
    "s": 78.378,
    "l": 63.725
  },
  "oklch": {
    "l": 0.5787,
    "c": 0.19584,
    "h": 274
  },
  "luminance": 0.18072
}

Semantic roles & 50–950 ramp

primary
#5A68EB
secondary
#EAE5B7
accent
#C70BDB
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0F0D17
muted
#7E7E85

Preview Lab

Preview with #5A68EB

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

Preview Lab → · Contrast checker → · Palette generator →

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