#5A67D4#5A67D4

#5A67D4 is a mid, vivid blue. Relative luminance 0.166; OKLCH L 56.0% C 0.166 H 274.6°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#5A67D4
RGBrgb(90, 103, 212)
HSLhsl(234, 59%, 59%)
HSVhsv(234, 58%, 83%)
CMYKcmyk(57.5%, 51.4%, 0%, 16.9%)
CIE-LABlab(47.79, 27.08, -57.89)
CIE-LCHlch(47.79, 63.91, 295.07°)
OKLaboklab(56.03% 0.0133 -0.1656)
OKLCHoklch(56.03% 0.166 274.6)
XYZxyz(20.9465, 16.6261, 64.3799)
Luminance0.1663 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A67D4 #D4C75A
analogous
#5AA4D4 #5A67D4 #8A5AD4
triadic
#5A67D4 #D45A67 #67D45A
tetradic
#5A67D4 #D45AA4 #D4C75A #5AD48A
square
#5A67D4 #D45AA4 #D4C75A #5AD48A
split-complementary
#5A67D4 #D48A5A #A4D45A
monochromatic
#25308E #3241BF #5A67D4 #8B94E1 #BBC0ED

Accessibility & contrast

On white

4.85
#5A67D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#5A67D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A67D4
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A67D4#FFFFFF#000000##FFFFFF
##5A67D41.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A77D8
Deuteranopia (green-blind)
#0D6CD2
Tritanopia (blue-blind)
#018094
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5a67d4;
/* rgb */ color: rgb(90, 103, 212);
/* oklch */ color: oklch(56.0% 0.166 274.6);
Tailwind
colors: {
  custom: {
    50: '#9392e2',
    500: '#5a67d4',
    950: '#000000',
  },
}
SCSS
$custom: #5a67d4;
$custom-light: #9392e2;
$custom-dark: #000000;
JSON
{
  "hex": "#5a67d4",
  "rgb": {
    "r": 90,
    "g": 103,
    "b": 212
  },
  "hsl": {
    "h": 233.607,
    "s": 58.654,
    "l": 59.216
  },
  "oklch": {
    "l": 0.56032,
    "c": 0.16619,
    "h": 274.6
  },
  "luminance": 0.16628
}

Semantic roles & 50–950 ramp

primary
#5A67D4
secondary
#DDD8AD
accent
#D146E2
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0D15
muted
#7E7D83

Preview Lab

Preview with #5A67D4

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

Preview Lab → · Contrast checker → · Palette generator →

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