#5A68CD#5A68CD

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

Color values

HEX#5A68CD
RGBrgb(90, 104, 205)
HSLhsl(233, 53%, 58%)
HSVhsv(233, 56%, 80%)
CMYKcmyk(56.1%, 49.3%, 0%, 19.6%)
CIE-LABlab(47.60, 24.16, -54.19)
CIE-LCHlch(47.60, 59.33, 294.03°)
OKLaboklab(55.75% 0.0117 -0.1548)
OKLCHoklch(55.75% 0.155 274.3)
XYZxyz(20.1826, 16.4806, 59.8633)
Luminance0.1648 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A68CD #CDBF5A
analogous
#5AA1CD #5A68CD #865ACD
triadic
#5A68CD #CD5A68 #68CD5A
tetradic
#5A68CD #CD5AA1 #CDBF5A #5ACD86
square
#5A68CD #CD5AA1 #CDBF5A #5ACD86
split-complementary
#5A68CD #CD865A #A1CD5A
monochromatic
#283384 #3646B3 #5A68CD #8993DB #B8BEE9

Accessibility & contrast

On white

4.89
#5A68CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#5A68CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A68CD
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A68CD#FFFFFF#000000##FFFFFF
##5A68CD1.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3576D1
Deuteranopia (green-blind)
#246CCB
Tritanopia (blue-blind)
#177F91
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5a68cd;
/* rgb */ color: rgb(90, 104, 205);
/* oklch */ color: oklch(55.7% 0.155 274.3);
Tailwind
colors: {
  custom: {
    50: '#9192dd',
    500: '#5a68cd',
    950: '#000000',
  },
}
SCSS
$custom: #5a68cd;
$custom-light: #9192dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5a68cd",
  "rgb": {
    "r": 90,
    "g": 104,
    "b": 205
  },
  "hsl": {
    "h": 232.696,
    "s": 53.488,
    "l": 57.843
  },
  "oklch": {
    "l": 0.55749,
    "c": 0.1552,
    "h": 274.3
  },
  "luminance": 0.16482
}

Semantic roles & 50–950 ramp

primary
#5A68CD
secondary
#D8D3AA
accent
#CB4BDD
background
#F9F9FD
surface
#F2F1FB
border
#CCCBD4
text
#0E0D15
muted
#7E7E83

Preview Lab

Preview with #5A68CD

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

Preview Lab → · Contrast checker → · Palette generator →

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