#5A67E5#5A67E5

#5A67E5 is a mid, vivid blue. Relative luminance 0.175; OKLCH L 57.2% C 0.189 H 274.3°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#5A67E5
RGBrgb(90, 103, 229)
HSLhsl(234, 73%, 63%)
HSVhsv(234, 61%, 90%)
CMYKcmyk(60.7%, 55%, 0%, 10.2%)
CIE-LABlab(48.92, 32.67, -65.69)
CIE-LCHlch(48.92, 73.37, 296.44°)
OKLaboklab(57.25% 0.0143 -0.1886)
OKLCHoklch(57.25% 0.189 274.3)
XYZxyz(23.2049, 17.5294, 76.2742)
Luminance0.1753 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A67E5 #E5D85A
analogous
#5AADE5 #5A67E5 #925AE5
triadic
#5A67E5 #E55A67 #67E55A
tetradic
#5A67E5 #E55AAD #E5D85A #5AE592
square
#5A67E5 #E55AAD #E5D85A #5AE592
split-complementary
#5A67E5 #E5925A #ADE55A
monochromatic
#1B28AA #2536DD #5A67E5 #8F98ED #C4C8F6

Accessibility & contrast

On white

4.66
#5A67E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#5A67E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5A67E5
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A67E5#FFFFFF#000000##FFFFFF
##5A67E51.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5a67e5;
/* rgb */ color: rgb(90, 103, 229);
/* oklch */ color: oklch(57.2% 0.189 274.3);
Tailwind
colors: {
  custom: {
    50: '#9592ee',
    500: '#5a67e5',
    950: '#000000',
  },
}
SCSS
$custom: #5a67e5;
$custom-light: #9592ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5a67e5",
  "rgb": {
    "r": 90,
    "g": 103,
    "b": 229
  },
  "hsl": {
    "h": 234.388,
    "s": 72.775,
    "l": 62.549
  },
  "oklch": {
    "l": 0.57245,
    "c": 0.18915,
    "h": 274.3
  },
  "luminance": 0.17531
}

Semantic roles & 50–950 ramp

primary
#5A67E5
secondary
#E7E2B4
accent
#C311D5
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0D16
muted
#7E7D84

Preview Lab

Preview with #5A67E5

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

Preview Lab → · Contrast checker → · Palette generator →

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