#5A67E8#5A67E8

#5A67E8 is a mid, vivid blue. Relative luminance 0.177; OKLCH L 57.5% C 0.193 H 274.3°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#5A67E8
RGBrgb(90, 103, 232)
HSLhsl(235, 76%, 63%)
HSVhsv(235, 61%, 91%)
CMYKcmyk(61.2%, 55.6%, 0%, 9%)
CIE-LABlab(49.13, 33.66, -67.05)
CIE-LCHlch(49.13, 75.02, 296.66°)
OKLaboklab(57.47% 0.0144 -0.1926)
OKLCHoklch(57.47% 0.193 274.3)
XYZxyz(23.6274, 17.6984, 78.4993)
Luminance0.1770 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A67E8 #E8DB5A
analogous
#5AAEE8 #5A67E8 #945AE8
triadic
#5A67E8 #E85A67 #67E85A
tetradic
#5A67E8 #E85AAE #E8DB5A #5AE894
square
#5A67E8 #E85AAE #E8DB5A #5AE894
split-complementary
#5A67E8 #E8945A #AEE85A
monochromatic
#1826AF #2436E1 #5A67E8 #9098EF #C5CAF7

Accessibility & contrast

On white

4.63
#5A67E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#5A67E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5A67E8
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A67E8#FFFFFF#000000##FFFFFF
##5A67E81.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007BEC
Deuteranopia (green-blind)
#006FE5
Tritanopia (blue-blind)
#00869D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5a67e8;
/* rgb */ color: rgb(90, 103, 232);
/* oklch */ color: oklch(57.5% 0.193 274.3);
Tailwind
colors: {
  custom: {
    50: '#9692f0',
    500: '#5a67e8',
    950: '#000000',
  },
}
SCSS
$custom: #5a67e8;
$custom-light: #9692f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5a67e8",
  "rgb": {
    "r": 90,
    "g": 103,
    "b": 232
  },
  "hsl": {
    "h": 234.507,
    "s": 75.532,
    "l": 63.137
  },
  "oklch": {
    "l": 0.57466,
    "c": 0.19311,
    "h": 274.3
  },
  "luminance": 0.177
}

Semantic roles & 50–950 ramp

primary
#5A67E8
secondary
#E8E4B5
accent
#C50ED8
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0D17
muted
#7E7D85

Preview Lab

Preview with #5A67E8

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

Preview Lab → · Contrast checker → · Palette generator →

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