#5A67DC#5A67DC

#5A67DC is a mid, vivid blue. Relative luminance 0.170; OKLCH L 56.6% C 0.177 H 274.5°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#5A67DC
RGBrgb(90, 103, 220)
HSLhsl(234, 65%, 61%)
HSVhsv(234, 59%, 86%)
CMYKcmyk(59.1%, 53.2%, 0%, 13.7%)
CIE-LABlab(48.31, 29.71, -61.59)
CIE-LCHlch(48.31, 68.38, 295.75°)
OKLaboklab(56.59% 0.0139 -0.1765)
OKLCHoklch(56.59% 0.177 274.5)
XYZxyz(21.9807, 17.0398, 69.8270)
Luminance0.1704 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A67DC #DCCF5A
analogous
#5AA8DC #5A67DC #8E5ADC
triadic
#5A67DC #DC5A67 #67DC5A
tetradic
#5A67DC #DC5AA8 #DCCF5A #5ADC8E
square
#5A67DC #DC5AA8 #DCCF5A #5ADC8E
split-complementary
#5A67DC #DC8E5A #A8DC5A
monochromatic
#212D9B #2C3CCD #5A67DC #8C96E7 #BFC4F1

Accessibility & contrast

On white

4.76
#5A67DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#5A67DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A67DC
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A67DC#FFFFFF#000000##FFFFFF
##5A67DC1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C78E0
Deuteranopia (green-blind)
#006DDA
Tritanopia (blue-blind)
#008298
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5a67dc;
/* rgb */ color: rgb(90, 103, 220);
/* oklch */ color: oklch(56.6% 0.177 274.5);
Tailwind
colors: {
  custom: {
    50: '#9492e8',
    500: '#5a67dc',
    950: '#000000',
  },
}
SCSS
$custom: #5a67dc;
$custom-light: #9492e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5a67dc",
  "rgb": {
    "r": 90,
    "g": 103,
    "b": 220
  },
  "hsl": {
    "h": 234,
    "s": 65,
    "l": 60.784
  },
  "oklch": {
    "l": 0.56594,
    "c": 0.17708,
    "h": 274.5
  },
  "luminance": 0.17041
}

Semantic roles & 50–950 ramp

primary
#5A67DC
secondary
#E2DDB0
accent
#BB19CD
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0D16
muted
#7E7D84

Preview Lab

Preview with #5A67DC

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

Preview Lab → · Contrast checker → · Palette generator →

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