#5A67E6#5A67E6

#5A67E6 is a mid, vivid blue. Relative luminance 0.176; OKLCH L 57.3% C 0.190 H 274.3°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#5A67E6
RGBrgb(90, 103, 230)
HSLhsl(234, 74%, 63%)
HSVhsv(234, 61%, 90%)
CMYKcmyk(60.9%, 55.2%, 0%, 9.8%)
CIE-LABlab(48.99, 33.00, -66.14)
CIE-LCHlch(48.99, 73.92, 296.52°)
OKLaboklab(57.32% 0.0143 -0.1899)
OKLCHoklch(57.32% 0.19 274.3)
XYZxyz(23.3449, 17.5854, 77.0117)
Luminance0.1759 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A67E6 #E6D95A
analogous
#5AADE6 #5A67E6 #935AE6
triadic
#5A67E6 #E65A67 #67E65A
tetradic
#5A67E6 #E65AAD #E6D95A #5AE693
square
#5A67E6 #E65AAD #E6D95A #5AE693
split-complementary
#5A67E6 #E6935A #ADE65A
monochromatic
#1A28AC #2536DE #5A67E6 #8F98EE #C4C9F6

Accessibility & contrast

On white

4.65
#5A67E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#5A67E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5A67E6
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A67E6#FFFFFF#000000##FFFFFF
##5A67E61.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007BEA
Deuteranopia (green-blind)
#006EE3
Tritanopia (blue-blind)
#00859C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #5a67e6;
/* rgb */ color: rgb(90, 103, 230);
/* oklch */ color: oklch(57.3% 0.190 274.3);
Tailwind
colors: {
  custom: {
    50: '#9592ef',
    500: '#5a67e6',
    950: '#000000',
  },
}
SCSS
$custom: #5a67e6;
$custom-light: #9592ef;
$custom-dark: #000000;
JSON
{
  "hex": "#5a67e6",
  "rgb": {
    "r": 90,
    "g": 103,
    "b": 230
  },
  "hsl": {
    "h": 234.429,
    "s": 73.684,
    "l": 62.745
  },
  "oklch": {
    "l": 0.57318,
    "c": 0.19047,
    "h": 274.3
  },
  "luminance": 0.17587
}

Semantic roles & 50–950 ramp

primary
#5A67E6
secondary
#E7E3B5
accent
#C310D6
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0D16
muted
#7E7D84

Preview Lab

Preview with #5A67E6

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

Preview Lab → · Contrast checker → · Palette generator →

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