#5A67C4#5A67C4

#5A67C4 is a mid, vivid blue. Relative luminance 0.159; OKLCH L 55.0% C 0.144 H 274.7°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#5A67C4
RGBrgb(90, 103, 196)
HSLhsl(233, 47%, 56%)
HSVhsv(233, 54%, 77%)
CMYKcmyk(54.1%, 47.4%, 0%, 23.1%)
CIE-LABlab(46.79, 21.85, -50.32)
CIE-LCHlch(46.79, 54.86, 293.48°)
OKLaboklab(54.96% 0.0117 -0.1434)
OKLCHoklch(54.96% 0.144 274.7)
XYZxyz(19.0273, 15.8584, 54.2722)
Luminance0.1586 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A67C4 #C4B75A
analogous
#5A9CC4 #5A67C4 #825AC4
triadic
#5A67C4 #C45A67 #67C45A
tetradic
#5A67C4 #C45A9C #C4B75A #5AC482
square
#5A67C4 #C45A9C #C4B75A #5AC482
split-complementary
#5A67C4 #C4825A #9CC45A
monochromatic
#2B3579 #3B48A6 #5A67C4 #8791D4 #B4BAE4

Accessibility & contrast

On white

5.03
#5A67C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#5A67C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A67C4
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A67C4#FFFFFF#000000##FFFFFF
##5A67C41.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C74C7
Deuteranopia (green-blind)
#2F6BC2
Tritanopia (blue-blind)
#267B8C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5a67c4;
/* rgb */ color: rgb(90, 103, 196);
/* oklch */ color: oklch(55.0% 0.144 274.7);
Tailwind
colors: {
  custom: {
    50: '#9092d6',
    500: '#5a67c4',
    950: '#000000',
  },
}
SCSS
$custom: #5a67c4;
$custom-light: #9092d6;
$custom-dark: #000000;
JSON
{
  "hex": "#5a67c4",
  "rgb": {
    "r": 90,
    "g": 103,
    "b": 196
  },
  "hsl": {
    "h": 232.642,
    "s": 47.321,
    "l": 56.078
  },
  "oklch": {
    "l": 0.54958,
    "c": 0.14387,
    "h": 274.7
  },
  "luminance": 0.1586
}

Semantic roles & 50–950 ramp

primary
#5A67C4
secondary
#D3CDA7
accent
#C651D7
background
#F9F8FD
surface
#F2F0FA
border
#CCCBD3
text
#0D0C14
muted
#7E7D83

Preview Lab

Preview with #5A67C4

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

Preview Lab → · Contrast checker → · Palette generator →

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