#5A67EB#5A67EB

#5A67EB is a mid, vivid blue. Relative luminance 0.179; OKLCH L 57.7% C 0.197 H 274.2°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#5A67EB
RGBrgb(90, 103, 235)
HSLhsl(235, 78%, 64%)
HSVhsv(235, 62%, 92%)
CMYKcmyk(61.7%, 56.2%, 0%, 7.8%)
CIE-LABlab(49.34, 34.65, -68.39)
CIE-LCHlch(49.34, 76.67, 296.87°)
OKLaboklab(57.69% 0.0144 -0.1965)
OKLCHoklch(57.69% 0.197 274.2)
XYZxyz(24.0572, 17.8703, 80.7627)
Luminance0.1787 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A67EB #EBDE5A
analogous
#5AAFEB #5A67EB #955AEB
triadic
#5A67EB #EB5A67 #67EB5A
tetradic
#5A67EB #EB5AAF #EBDE5A #5AEB95
square
#5A67EB #EB5AAF #EBDE5A #5AEB95
split-complementary
#5A67EB #EB955A #AFEB5A
monochromatic
#1624B5 #2335E4 #5A67EB #9199F2 #C7CCF8

Accessibility & contrast

On white

4.59
#5A67EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#5A67EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5A67EB
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A67EB#FFFFFF#000000##FFFFFF
##5A67EB1.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007CEF
Deuteranopia (green-blind)
#006FE8
Tritanopia (blue-blind)
#00879F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5a67eb;
/* rgb */ color: rgb(90, 103, 235);
/* oklch */ color: oklch(57.7% 0.197 274.2);
Tailwind
colors: {
  custom: {
    50: '#9692f2',
    500: '#5a67eb',
    950: '#000000',
  },
}
SCSS
$custom: #5a67eb;
$custom-light: #9692f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5a67eb",
  "rgb": {
    "r": 90,
    "g": 103,
    "b": 235
  },
  "hsl": {
    "h": 234.621,
    "s": 78.378,
    "l": 63.725
  },
  "oklch": {
    "l": 0.57689,
    "c": 0.19707,
    "h": 274.2
  },
  "luminance": 0.17872
}

Semantic roles & 50–950 ramp

primary
#5A67EB
secondary
#EAE5B7
accent
#C80BDB
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0D17
muted
#7E7D85

Preview Lab

Preview with #5A67EB

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

Preview Lab → · Contrast checker → · Palette generator →

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