#5A68CC#5A68CC

#5A68CC is a mid, vivid blue. Relative luminance 0.164; OKLCH L 55.7% C 0.154 H 274.3°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#5A68CC
RGBrgb(90, 104, 204)
HSLhsl(233, 53%, 58%)
HSVhsv(233, 56%, 80%)
CMYKcmyk(55.9%, 49%, 0%, 20%)
CIE-LABlab(47.54, 23.84, -53.72)
CIE-LCHlch(47.54, 58.77, 293.93°)
OKLaboklab(55.68% 0.0116 -0.1534)
OKLCHoklch(55.68% 0.154 274.3)
XYZxyz(20.0623, 16.4325, 59.2296)
Luminance0.1643 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A68CC #CCBE5A
analogous
#5AA1CC #5A68CC #855ACC
triadic
#5A68CC #CC5A68 #68CC5A
tetradic
#5A68CC #CC5AA1 #CCBE5A #5ACC85
square
#5A68CC #CC5AA1 #CCBE5A #5ACC85
split-complementary
#5A68CC #CC855A #A1CC5A
monochromatic
#293483 #3746B2 #5A68CC #8993DA #B7BEE9

Accessibility & contrast

On white

4.90
#5A68CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#5A68CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A68CC
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A68CC#FFFFFF#000000##FFFFFF
##5A68CC1.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3776D0
Deuteranopia (green-blind)
#266CCA
Tritanopia (blue-blind)
#197E90
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5a68cc;
/* rgb */ color: rgb(90, 104, 204);
/* oklch */ color: oklch(55.7% 0.154 274.3);
Tailwind
colors: {
  custom: {
    50: '#9192dc',
    500: '#5a68cc',
    950: '#000000',
  },
}
SCSS
$custom: #5a68cc;
$custom-light: #9192dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5a68cc",
  "rgb": {
    "r": 90,
    "g": 104,
    "b": 204
  },
  "hsl": {
    "h": 232.632,
    "s": 52.778,
    "l": 57.647
  },
  "oklch": {
    "l": 0.55683,
    "c": 0.1538,
    "h": 274.3
  },
  "luminance": 0.16434
}

Semantic roles & 50–950 ramp

primary
#5A68CC
secondary
#D8D2AA
accent
#CA4CDC
background
#F9F9FD
surface
#F2F1FB
border
#CCCBD4
text
#0E0D15
muted
#7E7E83

Preview Lab

Preview with #5A68CC

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

Preview Lab → · Contrast checker → · Palette generator →

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