#5A68C8#5A68C8

#5A68C8 is a mid, vivid blue. Relative luminance 0.162; OKLCH L 55.4% C 0.148 H 274.3°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#5A68C8
RGBrgb(90, 104, 200)
HSLhsl(232, 50%, 57%)
HSVhsv(232, 55%, 78%)
CMYKcmyk(55%, 48%, 0%, 21.6%)
CIE-LABlab(47.29, 22.53, -51.82)
CIE-LCHlch(47.29, 56.50, 293.50°)
OKLaboklab(55.42% 0.0111 -0.1478)
OKLCHoklch(55.42% 0.148 274.3)
XYZxyz(19.5887, 16.2431, 56.7354)
Luminance0.1624 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A68C8 #C8BA5A
analogous
#5A9FC8 #5A68C8 #835AC8
triadic
#5A68C8 #C85A68 #68C85A
tetradic
#5A68C8 #C85A9F #C8BA5A #5AC883
square
#5A68C8 #C85A9F #C8BA5A #5AC883
split-complementary
#5A68C8 #C8835A #9FC85A
monochromatic
#2A357E #3948AC #5A68C8 #8892D7 #B6BCE7

Accessibility & contrast

On white

4.94
#5A68C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#5A68C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A68C8
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A68C8#FFFFFF#000000##FFFFFF
##5A68C81.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A75CC
Deuteranopia (green-blind)
#2C6CC6
Tritanopia (blue-blind)
#207D8E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5a68c8;
/* rgb */ color: rgb(90, 104, 200);
/* oklch */ color: oklch(55.4% 0.148 274.3);
Tailwind
colors: {
  custom: {
    50: '#9192d9',
    500: '#5a68c8',
    950: '#000000',
  },
}
SCSS
$custom: #5a68c8;
$custom-light: #9192d9;
$custom-dark: #000000;
JSON
{
  "hex": "#5a68c8",
  "rgb": {
    "r": 90,
    "g": 104,
    "b": 200
  },
  "hsl": {
    "h": 232.364,
    "s": 50,
    "l": 56.863
  },
  "oklch": {
    "l": 0.55418,
    "c": 0.14819,
    "h": 274.3
  },
  "luminance": 0.16244
}

Semantic roles & 50–950 ramp

primary
#5A68C8
secondary
#D5D0A8
accent
#C84EDA
background
#F9F9FD
surface
#F2F1FA
border
#CCCBD3
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #5A68C8

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

Preview Lab → · Contrast checker → · Palette generator →

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