#5A67DF#5A67DF

#5A67DF is a mid, vivid blue. Relative luminance 0.172; OKLCH L 56.8% C 0.181 H 274.4°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#5A67DF
RGBrgb(90, 103, 223)
HSLhsl(234, 68%, 61%)
HSVhsv(234, 60%, 87%)
CMYKcmyk(59.6%, 53.8%, 0%, 12.5%)
CIE-LABlab(48.51, 30.69, -62.97)
CIE-LCHlch(48.51, 70.05, 295.99°)
OKLaboklab(56.81% 0.014 -0.1806)
OKLCHoklch(56.81% 0.181 274.4)
XYZxyz(22.3816, 17.2001, 71.9382)
Luminance0.1720 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A67DF #DFD25A
analogous
#5AAADF #5A67DF #905ADF
triadic
#5A67DF #DF5A67 #67DF5A
tetradic
#5A67DF #DF5AAA #DFD25A #5ADF90
square
#5A67DF #DF5AAA #DFD25A #5ADF90
split-complementary
#5A67DF #DF905A #AADF5A
monochromatic
#1F2CA0 #293AD3 #5A67DF #8D96E9 #C1C5F3

Accessibility & contrast

On white

4.73
#5A67DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#5A67DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A67DF
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A67DF#FFFFFF#000000##FFFFFF
##5A67DF1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1479E3
Deuteranopia (green-blind)
#006EDD
Tritanopia (blue-blind)
#008399
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5a67df;
/* rgb */ color: rgb(90, 103, 223);
/* oklch */ color: oklch(56.8% 0.181 274.4);
Tailwind
colors: {
  custom: {
    50: '#9492ea',
    500: '#5a67df',
    950: '#000000',
  },
}
SCSS
$custom: #5a67df;
$custom-light: #9492ea;
$custom-dark: #000000;
JSON
{
  "hex": "#5a67df",
  "rgb": {
    "r": 90,
    "g": 103,
    "b": 223
  },
  "hsl": {
    "h": 234.135,
    "s": 67.513,
    "l": 61.373
  },
  "oklch": {
    "l": 0.56809,
    "c": 0.18112,
    "h": 274.4
  },
  "luminance": 0.17202
}

Semantic roles & 50–950 ramp

primary
#5A67DF
secondary
#E3DEB2
accent
#BD16CF
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0D16
muted
#7E7D84

Preview Lab

Preview with #5A67DF

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

Preview Lab → · Contrast checker → · Palette generator →

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