#5A67E1#5A67E1

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

Color values

HEX#5A67E1
RGBrgb(90, 103, 225)
HSLhsl(234, 69%, 62%)
HSVhsv(234, 60%, 88%)
CMYKcmyk(60%, 54.2%, 0%, 11.8%)
CIE-LABlab(48.65, 31.35, -63.88)
CIE-LCHlch(48.65, 71.16, 296.14°)
OKLaboklab(56.95% 0.0141 -0.1833)
OKLCHoklch(56.95% 0.184 274.4)
XYZxyz(22.6529, 17.3086, 73.3667)
Luminance0.1731 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A67E1 #E1D45A
analogous
#5AABE1 #5A67E1 #915AE1
triadic
#5A67E1 #E15A67 #67E15A
tetradic
#5A67E1 #E15AAB #E1D45A #5AE191
square
#5A67E1 #E15AAB #E1D45A #5AE191
split-complementary
#5A67E1 #E1915A #ABE15A
monochromatic
#1E2AA3 #2738D7 #5A67E1 #8E97EA #C2C6F4

Accessibility & contrast

On white

4.71
#5A67E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#5A67E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A67E1
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A67E1#FFFFFF#000000##FFFFFF
##5A67E11.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D7AE5
Deuteranopia (green-blind)
#006EDE
Tritanopia (blue-blind)
#00849A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #5a67e1;
/* rgb */ color: rgb(90, 103, 225);
/* oklch */ color: oklch(57.0% 0.184 274.4);
Tailwind
colors: {
  custom: {
    50: '#9592eb',
    500: '#5a67e1',
    950: '#000000',
  },
}
SCSS
$custom: #5a67e1;
$custom-light: #9592eb;
$custom-dark: #000000;
JSON
{
  "hex": "#5a67e1",
  "rgb": {
    "r": 90,
    "g": 103,
    "b": 225
  },
  "hsl": {
    "h": 234.222,
    "s": 69.231,
    "l": 61.765
  },
  "oklch": {
    "l": 0.56953,
    "c": 0.18381,
    "h": 274.4
  },
  "luminance": 0.1731
}

Semantic roles & 50–950 ramp

primary
#5A67E1
secondary
#E4E0B2
accent
#BF14D1
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0D16
muted
#7E7D84

Preview Lab

Preview with #5A67E1

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

Preview Lab → · Contrast checker → · Palette generator →

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