#5A67E2#5A67E2

#5A67E2 is a mid, vivid blue. Relative luminance 0.174; OKLCH L 57.0% C 0.185 H 274.4°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#5A67E2
RGBrgb(90, 103, 226)
HSLhsl(234, 70%, 62%)
HSVhsv(234, 60%, 89%)
CMYKcmyk(60.2%, 54.4%, 0%, 11.4%)
CIE-LABlab(48.71, 31.68, -64.33)
CIE-LCHlch(48.71, 71.71, 296.22°)
OKLaboklab(57.03% 0.0142 -0.1846)
OKLCHoklch(57.03% 0.185 274.4)
XYZxyz(22.7897, 17.3633, 74.0873)
Luminance0.1736 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A67E2 #E2D55A
analogous
#5AABE2 #5A67E2 #915AE2
triadic
#5A67E2 #E25A67 #67E25A
tetradic
#5A67E2 #E25AAB #E2D55A #5AE291
square
#5A67E2 #E25AAB #E2D55A #5AE291
split-complementary
#5A67E2 #E2915A #ABE25A
monochromatic
#1D2AA5 #2637D9 #5A67E2 #8E97EB #C2C7F4

Accessibility & contrast

On white

4.69
#5A67E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#5A67E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A67E2
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A67E2#FFFFFF#000000##FFFFFF
##5A67E21.004.694.474.69
#FFFFFF4.691.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#087AE6
Deuteranopia (green-blind)
#006EDF
Tritanopia (blue-blind)
#00849A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #5a67e2;
/* rgb */ color: rgb(90, 103, 226);
/* oklch */ color: oklch(57.0% 0.185 274.4);
Tailwind
colors: {
  custom: {
    50: '#9592ec',
    500: '#5a67e2',
    950: '#000000',
  },
}
SCSS
$custom: #5a67e2;
$custom-light: #9592ec;
$custom-dark: #000000;
JSON
{
  "hex": "#5a67e2",
  "rgb": {
    "r": 90,
    "g": 103,
    "b": 226
  },
  "hsl": {
    "h": 234.265,
    "s": 70.103,
    "l": 61.961
  },
  "oklch": {
    "l": 0.57026,
    "c": 0.18515,
    "h": 274.4
  },
  "luminance": 0.17365
}

Semantic roles & 50–950 ramp

primary
#5A67E2
secondary
#E5E0B3
accent
#C013D2
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0D16
muted
#7E7D84

Preview Lab

Preview with #5A67E2

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

Preview Lab → · Contrast checker → · Palette generator →

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