#5A68EF#5A68EF

#5A68EF is a mid, highly saturated blue. Relative luminance 0.183; OKLCH L 58.2% C 0.201 H 273.9°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#5A68EF
RGBrgb(90, 104, 239)
HSLhsl(234, 82%, 65%)
HSVhsv(234, 62%, 94%)
CMYKcmyk(62.3%, 56.5%, 0%, 6.3%)
CIE-LABlab(49.86, 35.36, -69.78)
CIE-LCHlch(49.86, 78.23, 296.87°)
OKLaboklab(58.17% 0.0136 -0.2006)
OKLCHoklch(58.17% 0.201 273.9)
XYZxyz(24.7416, 18.3042, 83.8739)
Luminance0.1831 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A68EF #EFE15A
analogous
#5AB3EF #5A68EF #965AEF
triadic
#5A68EF #EF5A68 #68EF5A
tetradic
#5A68EF #EF5AB3 #EFE15A #5AEF96
square
#5A68EF #EF5AB3 #EFE15A #5AEF96
split-complementary
#5A68EF #EF965A #B3EF5A
monochromatic
#1222BC #2235EA #5A68EF #929BF4 #CACEFA

Accessibility & contrast

On white

4.51
#5A68EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#5A68EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A68EF
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A68EF#FFFFFF#000000##000000
##5A68EF1.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF4
Deuteranopia (green-blind)
#0070EC
Tritanopia (blue-blind)
#0089A1
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5a68ef;
/* rgb */ color: rgb(90, 104, 239);
/* oklch */ color: oklch(58.2% 0.201 273.9);
Tailwind
colors: {
  custom: {
    50: '#9793f5',
    500: '#5a68ef',
    950: '#000000',
  },
}
SCSS
$custom: #5a68ef;
$custom-light: #9793f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5a68ef",
  "rgb": {
    "r": 90,
    "g": 104,
    "b": 239
  },
  "hsl": {
    "h": 234.362,
    "s": 82.32,
    "l": 64.51
  },
  "oklch": {
    "l": 0.58169,
    "c": 0.20108,
    "h": 273.9
  },
  "luminance": 0.18306
}

Semantic roles & 50–950 ramp

primary
#5A68EF
secondary
#ECE7B9
accent
#CA07DF
background
#FAF9FF
surface
#F3F1FE
border
#CDCBD6
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #5A68EF

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

Preview Lab → · Contrast checker → · Palette generator →

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