#5A67E3#5A67E3

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

Color values

HEX#5A67E3
RGBrgb(90, 103, 227)
HSLhsl(234, 71%, 62%)
HSVhsv(234, 60%, 89%)
CMYKcmyk(60.4%, 54.6%, 0%, 11%)
CIE-LABlab(48.78, 32.01, -64.79)
CIE-LCHlch(48.78, 72.26, 296.29°)
OKLaboklab(57.1% 0.0142 -0.1859)
OKLCHoklch(57.1% 0.186 274.4)
XYZxyz(22.9273, 17.4184, 74.8120)
Luminance0.1742 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A67E3 #E3D65A
analogous
#5AABE3 #5A67E3 #925AE3
triadic
#5A67E3 #E35A67 #67E35A
tetradic
#5A67E3 #E35AAB #E3D65A #5AE392
square
#5A67E3 #E35AAB #E3D65A #5AE392
split-complementary
#5A67E3 #E3925A #ABE35A
monochromatic
#1C29A6 #2637DA #5A67E3 #8E97EC #C3C7F5

Accessibility & contrast

On white

4.68
#5A67E3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#5A67E3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A67E3
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A67E3#FFFFFF#000000##FFFFFF
##5A67E31.004.684.484.68
#FFFFFF4.681.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#037AE7
Deuteranopia (green-blind)
#006EE0
Tritanopia (blue-blind)
#00849B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #5a67e3;
/* rgb */ color: rgb(90, 103, 227);
/* oklch */ color: oklch(57.1% 0.186 274.4);
Tailwind
colors: {
  custom: {
    50: '#9592ed',
    500: '#5a67e3',
    950: '#000000',
  },
}
SCSS
$custom: #5a67e3;
$custom-light: #9592ed;
$custom-dark: #000000;
JSON
{
  "hex": "#5a67e3",
  "rgb": {
    "r": 90,
    "g": 103,
    "b": 227
  },
  "hsl": {
    "h": 234.307,
    "s": 70.984,
    "l": 62.157
  },
  "oklch": {
    "l": 0.57099,
    "c": 0.18648,
    "h": 274.4
  },
  "luminance": 0.1742
}

Semantic roles & 50–950 ramp

primary
#5A67E3
secondary
#E6E1B3
accent
#C112D3
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0D16
muted
#7E7D84

Preview Lab

Preview with #5A67E3

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

Preview Lab → · Contrast checker → · Palette generator →

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