#5A68CA#5A68CA

#5A68CA is a mid, vivid blue. Relative luminance 0.163; OKLCH L 55.5% C 0.151 H 274.3°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#5A68CA
RGBrgb(90, 104, 202)
HSLhsl(233, 51%, 57%)
HSVhsv(233, 55%, 79%)
CMYKcmyk(55.4%, 48.5%, 0%, 20.8%)
CIE-LABlab(47.41, 23.18, -52.77)
CIE-LCHlch(47.41, 57.64, 293.72°)
OKLaboklab(55.55% 0.0113 -0.1506)
OKLCHoklch(55.55% 0.151 274.3)
XYZxyz(19.8240, 16.3372, 57.9744)
Luminance0.1634 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A68CA #CABC5A
analogous
#5AA0CA #5A68CA #845ACA
triadic
#5A68CA #CA5A68 #68CA5A
tetradic
#5A68CA #CA5AA0 #CABC5A #5ACA84
square
#5A68CA #CA5AA0 #CABC5A #5ACA84
split-complementary
#5A68CA #CA845A #A0CA5A
monochromatic
#293480 #3847AF #5A68CA #8892D9 #B7BDE8

Accessibility & contrast

On white

4.92
#5A68CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#5A68CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A68CA
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A68CA#FFFFFF#000000##FFFFFF
##5A68CA1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3975CE
Deuteranopia (green-blind)
#296CC8
Tritanopia (blue-blind)
#1D7E8F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5a68ca;
/* rgb */ color: rgb(90, 104, 202);
/* oklch */ color: oklch(55.5% 0.151 274.3);
Tailwind
colors: {
  custom: {
    50: '#9192db',
    500: '#5a68ca',
    950: '#000000',
  },
}
SCSS
$custom: #5a68ca;
$custom-light: #9192db;
$custom-dark: #000000;
JSON
{
  "hex": "#5a68ca",
  "rgb": {
    "r": 90,
    "g": 104,
    "b": 202
  },
  "hsl": {
    "h": 232.5,
    "s": 51.376,
    "l": 57.255
  },
  "oklch": {
    "l": 0.5555,
    "c": 0.151,
    "h": 274.3
  },
  "luminance": 0.16339
}

Semantic roles & 50–950 ramp

primary
#5A68CA
secondary
#D7D1A9
accent
#C94DDB
background
#F9F9FD
surface
#F2F1FB
border
#CCCBD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #5A68CA

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

Preview Lab → · Contrast checker → · Palette generator →

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