#5A68F6#5A68F6

#5A68F6 is a mid, highly saturated blue. Relative luminance 0.187; OKLCH L 58.7% C 0.210 H 273.7°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#5A68F6
RGBrgb(90, 104, 246)
HSLhsl(235, 90%, 66%)
HSVhsv(235, 63%, 96%)
CMYKcmyk(63.4%, 57.7%, 0%, 3.5%)
CIE-LABlab(50.37, 37.67, -72.87)
CIE-LCHlch(50.37, 82.03, 297.33°)
OKLaboklab(58.7% 0.0136 -0.2097)
OKLCHoklch(58.7% 0.21 273.7)
XYZxyz(25.7958, 18.7259, 89.4260)
Luminance0.1873 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A68F6 #F6E85A
analogous
#5AB6F6 #5A68F6 #9A5AF6
triadic
#5A68F6 #F65A68 #68F65A
tetradic
#5A68F6 #F65AB6 #F6E85A #5AF69A
square
#5A68F6 #F65AB6 #F6E85A #5AF69A
split-complementary
#5A68F6 #F69A5A #B6F65A
monochromatic
#0B1CCB #2033F3 #5A68F6 #949DF9 #CED2FC

Accessibility & contrast

On white

4.43
#5A68F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#5A68F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A68F6
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A68F6#FFFFFF#000000##000000
##5A68F61.004.434.754.75
#FFFFFF4.431.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FFB
Deuteranopia (green-blind)
#0071F3
Tritanopia (blue-blind)
#008BA5
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5a68f6;
/* rgb */ color: rgb(90, 104, 246);
/* oklch */ color: oklch(58.7% 0.210 273.7);
Tailwind
colors: {
  custom: {
    50: '#9893fa',
    500: '#5a68f6',
    950: '#000000',
  },
}
SCSS
$custom: #5a68f6;
$custom-light: #9893fa;
$custom-dark: #000000;
JSON
{
  "hex": "#5a68f6",
  "rgb": {
    "r": 90,
    "g": 104,
    "b": 246
  },
  "hsl": {
    "h": 234.615,
    "s": 89.655,
    "l": 65.882
  },
  "oklch": {
    "l": 0.587,
    "c": 0.21016,
    "h": 273.7
  },
  "luminance": 0.18728
}

Semantic roles & 50–950 ramp

primary
#5A68F6
secondary
#F0EBBC
accent
#D100E6
background
#FAF9FF
surface
#F4F1FF
border
#CECBD7
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #5A68F6

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

Preview Lab → · Contrast checker → · Palette generator →

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