#5A67D1#5A67D1

#5A67D1 is a mid, vivid blue. Relative luminance 0.165; OKLCH L 55.8% C 0.162 H 274.6°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#5A67D1
RGBrgb(90, 103, 209)
HSLhsl(233, 56%, 59%)
HSVhsv(233, 57%, 82%)
CMYKcmyk(56.9%, 50.7%, 0%, 18%)
CIE-LABlab(47.59, 26.09, -56.49)
CIE-LCHlch(47.59, 62.22, 294.79°)
OKLaboklab(55.83% 0.0131 -0.1615)
OKLCHoklch(55.83% 0.162 274.6)
XYZxyz(20.5716, 16.4761, 62.4054)
Luminance0.1648 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A67D1 #D1C45A
analogous
#5AA2D1 #5A67D1 #885AD1
triadic
#5A67D1 #D15A67 #67D15A
tetradic
#5A67D1 #D15AA2 #D1C45A #5AD188
square
#5A67D1 #D15AA2 #D1C45A #5AD188
split-complementary
#5A67D1 #D1885A #A2D15A
monochromatic
#27318A #3442BA #5A67D1 #8A93DE #BABFEC

Accessibility & contrast

On white

4.89
#5A67D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#5A67D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A67D1
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A67D1#FFFFFF#000000##FFFFFF
##5A67D11.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E76D5
Deuteranopia (green-blind)
#186CCF
Tritanopia (blue-blind)
#0D7F92
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5a67d1;
/* rgb */ color: rgb(90, 103, 209);
/* oklch */ color: oklch(55.8% 0.162 274.6);
Tailwind
colors: {
  custom: {
    50: '#9292e0',
    500: '#5a67d1',
    950: '#000000',
  },
}
SCSS
$custom: #5a67d1;
$custom-light: #9292e0;
$custom-dark: #000000;
JSON
{
  "hex": "#5a67d1",
  "rgb": {
    "r": 90,
    "g": 103,
    "b": 209
  },
  "hsl": {
    "h": 233.445,
    "s": 56.398,
    "l": 58.627
  },
  "oklch": {
    "l": 0.55826,
    "c": 0.16205,
    "h": 274.6
  },
  "luminance": 0.16478
}

Semantic roles & 50–950 ramp

primary
#5A67D1
secondary
#DBD6AC
accent
#CF48E0
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0D15
muted
#7E7D83

Preview Lab

Preview with #5A67D1

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

Preview Lab → · Contrast checker → · Palette generator →

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